[ http://jira.codehaus.org/browse/MPJAR-32?page=comments#action_46724 ]
Trygve Laugstol commented on MPJAR-32: -------------------------------------- I don't this that his is a useful feature to actually include the sources *inside* your jar. Source artifacts are useful and should be separate artifacts and installed into the repository as a separate jar. Maven 2 already supports this. > Add the ability to include the source code in the jar > ----------------------------------------------------- > > Key: MPJAR-32 > URL: http://jira.codehaus.org/browse/MPJAR-32 > Project: maven-jar-plugin > Type: New Feature > Reporter: dion gillard > Assignee: Jason van Zyl > Priority: Minor > Attachments: jar-source.txt, jar-source2.txt, jar-source3.txt, > jar-source4.txt > > > Often projects ship jars that include the source code, for convenience, or > use in an IDE. > This patch adds: > - a plugin property, maven.jar.include.source, defaulted to false, that is > used to decide whether source is included in the jar > - a plugin property, maven.jar.source.path, defaulted to 'src', which is the > location of the source in the jar > - a goal to copy source into the maven.build.dest directory before jar'ing. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
