summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdwin Kempin <edwin.kempin@sap.com>2013-10-04 13:58:35 +0200
committerEdwin Kempin <edwin.kempin@sap.com>2013-10-04 14:15:03 +0200
commit8e2da45ce4b273d59d2cfb45c3c4ceb3b7d70ae4 (patch)
treec75239f08fc640362cdc5fb719939fb6cddeb8d0
parent1a8ce59b6a95f17176477d453c74d19666392308 (diff)
Fix gerrit-extension-api-X.Y-all-sources.jar
The Maven artifact gerrit-extension-api-X.Y-all-sources.jar that should contain the sources of the gerrit-extension-api doesn't contain any source from the com.google.gerrit.extensions package. Configuring the Maven plugin 'maven-source-plugin' fixes this. Change-Id: I4493328a804b45ecd93d0dbf259397ab79182810 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
-rw-r--r--gerrit-extension-api/pom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/gerrit-extension-api/pom.xml b/gerrit-extension-api/pom.xml
index 956db5a621..d641a3be3b 100644
--- a/gerrit-extension-api/pom.xml
+++ b/gerrit-extension-api/pom.xml
@@ -53,6 +53,19 @@ limitations under the License.
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>bundle-sources</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createSourcesJar>true</createSourcesJar>