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>
This commit is contained in:
Edwin Kempin 2013-10-04 13:58:35 +02:00
parent 1a8ce59b6a
commit 8e2da45ce4

View File

@ -51,6 +51,19 @@ limitations under the License.
<build>
<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>