Skip to content

Commit

Permalink
[#170] Generate source artefact for each module (#171)
Browse files Browse the repository at this point in the history
Signed-off-by: massifben <[email protected]>
  • Loading branch information
massifben authored Oct 12, 2022
1 parent 4074d64 commit c30137e
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<scl-extension.version>0.9.1</scl-extension.version>
<compas-scl-xsd.version>0.0.4</compas-scl-xsd.version>
<maven.plugin.javadoc>3.4.1</maven.plugin.javadoc>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -156,6 +157,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>

Expand Down
6 changes: 5 additions & 1 deletion sct-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
</project>
5 changes: 4 additions & 1 deletion sct-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,10 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
10 changes: 9 additions & 1 deletion sct-data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,12 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

0 comments on commit c30137e

Please sign in to comment.