publish sources along with jar files
------------------------------------
Key: OPENJPA-796
URL: https://issues.apache.org/jira/browse/OPENJPA-796
Project: OpenJPA
Issue Type: Improvement
Components: build / infrastructure
Affects Versions: 2.0.0
Reporter: Fernando
very simple, just need to add this to the pom.xml file at the top level, then
all builds will publish sources too. Very useful!
Index: pom.xml
===================================================================
--- pom.xml (revision 721538)
+++ pom.xml (working copy)
@@ -481,6 +481,27 @@
<targetPath>META-INF</targetPath>
</resource>
</resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
<pluginManagement>
<plugins>
<plugin>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.