You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Eclipse consumers, it is handy if source jars are valid Eclipse source bundles.
(Otherwise we have to re-bundle for are development target platform).
The maven-source-plugin configured something like below will do the trick.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-Description>${project.name}
Source</Bundle-Description>
<Bundle-SymbolicName>${project.artifactId}.source</Bundle-SymbolicName>
<Eclipse-SourceBundle>${project.artifactId};version="${project.version}"</Eclipse-SourceBundle>
<Bundle-Version>${project.version}</Bundle-Version>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
Reported by dmeibusch on 2013-07-17 01:17:40
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 83
Reported by
dmeibusch
on 2013-07-17 01:17:40The text was updated successfully, but these errors were encountered: