|
|
@@ -200,7 +200,7 @@ |
|
|
|
<plugin> |
|
|
|
<groupId>org.codehaus.mojo</groupId> |
|
|
|
<artifactId>build-helper-maven-plugin</artifactId> |
|
|
|
<version>1.3</version> |
|
|
|
<version>1.5</version> |
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</pluginManagement> |
|
|
@@ -240,12 +240,41 @@ |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-source-plugin</artifactId> |
|
|
|
<inherited>true</inherited> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>attach-sources</id> |
|
|
|
<phase>process-classes</phase> |
|
|
|
<goals> |
|
|
|
<goal>jar</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<archive> |
|
|
|
<manifestEntries> |
|
|
|
<Bundle-ManifestVersion>2</Bundle-ManifestVersion> |
|
|
|
<Bundle-Name>${project.name} - Sources</Bundle-Name> |
|
|
|
<Bundle-SymbolicName>${project.artifactId}.source;singleton:=true</Bundle-SymbolicName> |
|
|
|
<Bundle-Vendor>Eclipse.org - JGit</Bundle-Vendor> |
|
|
|
<Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version> |
|
|
|
<Eclipse-SourceBundle>${project.artifactId};version="${parsedVersion.osgiVersion}";roots:="."</Eclipse-SourceBundle> |
|
|
|
</manifestEntries> |
|
|
|
</archive> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
|
|
|
|
<!-- Build helper maven plugin sets the parsedVersion.osgiVersion property --> |
|
|
|
<plugin> |
|
|
|
<groupId>org.codehaus.mojo</groupId> |
|
|
|
<artifactId>build-helper-maven-plugin</artifactId> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>set-osgi-version</id> |
|
|
|
<phase>validate</phase> |
|
|
|
<goals> |
|
|
|
<goal>parse-version</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |