Commit 7b964a6b authored by Nico Mack's avatar Nico Mack

Added maven goal to build sources jar

parent b484c55d
...@@ -35,7 +35,8 @@ ...@@ -35,7 +35,8 @@
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId> <artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version> <version>1.4</version>
...@@ -53,24 +54,40 @@ ...@@ -53,24 +54,40 @@
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>2.4</version> <artifactId>maven-jar-plugin</artifactId>
<configuration> <version>2.4</version>
<archive> <configuration>
<manifestEntries> <archive>
<implementation-version>${project.version}</implementation-version> <manifestEntries>
<implementation-build>${buildNumber}</implementation-build> <implementation-version>${project.version}</implementation-version>
<build-date>${build.date}</build-date> <implementation-build>${buildNumber}</implementation-build>
</manifestEntries> <build-date>${build.date}</build-date>
<manifest> </manifestEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <manifest>
</manifest> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</archive> </manifest>
</configuration> </archive>
</configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<configuration> <configuration>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment