|
116 | 116 | <groupId>net.alchim31.maven</groupId> |
117 | 117 | <artifactId>scala-maven-plugin</artifactId> |
118 | 118 | <version>4.9.2</version> |
119 | | - <configuration> |
120 | | - <args> |
121 | | - <arg>java-output-version 11</arg> |
122 | | - <arg>-feature</arg> |
123 | | - <arg>-deprecation</arg> |
124 | | - </args> |
125 | | - </configuration> |
126 | 119 | <executions> |
127 | 120 | <execution> |
| 121 | + <id>add-sources</id> |
| 122 | + <phase>process-sources</phase> |
| 123 | + <goals> |
| 124 | + <goal>add-source</goal> |
| 125 | + </goals> |
| 126 | + </execution> |
| 127 | + <execution> |
| 128 | + <id>compile</id> |
| 129 | + <phase>compile</phase> |
128 | 130 | <goals> |
129 | 131 | <goal>compile</goal> |
130 | | - <goal>testCompile</goal> |
131 | 132 | </goals> |
| 133 | + <configuration> |
| 134 | + <arg>-java-output-version 11</arg> |
| 135 | + <arg>-feature</arg> |
| 136 | + <arg>-deprecation</arg> |
| 137 | + </configuration> |
| 138 | + </execution> |
| 139 | + <execution> |
| 140 | + <id>package-doc-jar</id> |
| 141 | + <phase>package</phase> |
| 142 | + <goals> |
| 143 | + <goal>doc-jar</goal> |
| 144 | + </goals> |
| 145 | + <configuration> |
| 146 | + <scaladocClassName>dotty.tools.scaladoc.Main</scaladocClassName> |
| 147 | + <sourceDir>${project.build.outputDirectory}</sourceDir> |
| 148 | + <args>-nobootcp</args> |
| 149 | + <includes> |
| 150 | + <include>**/*.tasty</include> |
| 151 | + </includes> |
| 152 | + <dependencies> |
| 153 | + <dependency> |
| 154 | + <groupId>org.scala-lang</groupId> |
| 155 | + <artifactId>scaladoc_3</artifactId> |
| 156 | + <version>${scala.version}</version> |
| 157 | + </dependency> |
| 158 | + </dependencies> |
| 159 | + </configuration> |
132 | 160 | </execution> |
133 | 161 | </executions> |
134 | 162 | </plugin> |
|
152 | 180 | <artifactId>maven-surefire-plugin</artifactId> |
153 | 181 | <version>3.5.2</version> |
154 | 182 | </plugin> |
| 183 | + <plugin> |
| 184 | + <groupId>org.apache.maven.plugins</groupId> |
| 185 | + <artifactId>maven-source-plugin</artifactId> |
| 186 | + <version>3.3.1</version> |
| 187 | + </plugin> |
| 188 | + <plugin> |
| 189 | + <groupId>org.apache.maven.plugins</groupId> |
| 190 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 191 | + <version>3.11.1</version> |
| 192 | + </plugin> |
| 193 | + <plugin> |
| 194 | + <groupId>org.apache.maven.plugins</groupId> |
| 195 | + <artifactId>maven-deploy-plugin</artifactId> |
| 196 | + <version>3.1.3</version> |
| 197 | + </plugin> |
155 | 198 | <plugin> |
156 | 199 | <groupId>org.scalatest</groupId> |
157 | 200 | <artifactId>scalatest-maven-plugin</artifactId> |
|
0 commit comments