Issue 83 in peaberry: Source jars with Eclipse source bundle Manifest entries

18 views
Skip to first unread message

peab...@googlecode.com

unread,
Jul 16, 2013, 9:17:57 PM7/16/13
to guice...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 83 by dmeibu...@gmail.com: Source jars with Eclipse source bundle
Manifest entries
http://code.google.com/p/peaberry/issues/detail?id=83

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>

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

peab...@googlecode.com

unread,
Jul 16, 2013, 9:19:48 PM7/16/13
to guice...@googlegroups.com
Updates:
Status: Accepted
Owner: mccu...@gmail.com

Comment #1 on issue 83 by mccu...@gmail.com: Source jars with Eclipse
Thanks for the suggestion

peab...@googlecode.com

unread,
Jun 21, 2015, 9:56:44 PM6/21/15
to guice...@googlegroups.com
Updates:
Status: Duplicate

Comment #2 on issue 83 by mccu...@gmail.com: Source jars with Eclipse
source bundle Manifest entries
https://code.google.com/p/peaberry/issues/detail?id=83

Moved to https://github.com/ops4j/peaberry/issues/81
Reply all
Reply to author
Forward
0 new messages