Skip to content

Commit

Permalink
Generate sources and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-brm committed Nov 15, 2024
1 parent abedd59 commit 8d48dca
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 9 deletions.
63 changes: 54 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<properties>
<junit.version>5.11.3</junit.version>
<scala.version>3.5.1</scala.version>
<scala.version>3.5.2</scala.version>
<slf4j.version>2.0.16</slf4j.version>
<stack.version>${project.version}</stack.version>
</properties>
Expand Down Expand Up @@ -108,19 +108,49 @@
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>4.9.2</version>
<configuration>
<args>
<arg>java-output-version 8</arg>
<arg>-feature</arg>
<arg>-deprecation</arg>
</args>
</configuration>
<executions>
<execution>
<id>add-sources</id>
<phase>process-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
</execution>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
<configuration>
<args>
<arg>-java-output-version 8</arg>
<arg>-feature</arg>
<arg>-deprecation</arg>
</args>
</configuration>
</execution>
<execution>
<id>package-doc-jar</id>
<phase>package</phase>
<goals>
<goal>doc-jar</goal>
</goals>
<configuration>
<scaladocClassName>dotty.tools.scaladoc.Main</scaladocClassName>
<sourceDir>${project.build.outputDirectory}</sourceDir>
<args>-nobootcp</args>
<includes>
<include>**/*.tasty</include>
</includes>
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scaladoc_3</artifactId>
<version>${scala.version}</version>
</dependency>
</dependencies>
</configuration>
</execution>
</executions>
</plugin>
Expand All @@ -144,6 +174,21 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.3</version>
</plugin>
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
Expand Down
7 changes: 7 additions & 0 deletions vertx-lang-scala-itests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
4 changes: 4 additions & 0 deletions vertx-lang-scala-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions vertx-lang-scala/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 8d48dca

Please sign in to comment.