[
https://issues.apache.org/jira/browse/PIVOT-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandro Martini updated PIVOT-383:
---------------------------------
Attachment: build.xml.patch
In attach you can find a patch for the latest build.xml , there are some
variable definitions inside like for standard (binary) jars. Jar are consistent
with maven requirements, as names and structure (and I keep the META-INF folder
inside with the usual files LICENSE, NOTICE, README, RELEASE-NOTES, also if in
this case probably wasn't needed).
The task is package-sources and at the moment it depends on the following
tasks: (this could go out if not wanted), and clean (not strictly required but
could be useful, no problem to remove also this).
For simplicity (in clean, etc) these jars are generated inside the usual lib
folder.
As soon as possible I'll try to deploy in a local maven repository, and try to
download them from an IDE as sources for Pivot-1.5, and in case of problems
I'll update this ticket (in any case before committing).
Tell me if apply this patch or is some change is required, or if someone has
tried and something doesn't work as expected.
One time this patch will be applied, also the maven deploy script should be
updated to add also these jars, and this is the last part to finish this ticket.
Bye,
Sandro
> Jars for Sources in Maven Repository
> ------------------------------------
>
> Key: PIVOT-383
> URL: https://issues.apache.org/jira/browse/PIVOT-383
> Project: Pivot
> Issue Type: Improvement
> Affects Versions: 1.4
> Reporter: Sandro Martini
> Assignee: Sandro Martini
> Priority: Minor
> Fix For: 1.5
>
> Attachments: build.xml.patch, maven-pom-that-builds-pivot.patch
>
>
> In some cases, it's useful to have jars for sources in Maven Repository, so
> for example from the IDE it's possible to download them and have full
> navigation support on related sources.
> For a sample of jars to be generated (naming convention etc), take a look
> here:
> http://repo1.maven.org/maven2/org/apache/tapestry/tapestry-core/5.1.0.5/
> So, we need to modify the build script (only the Maven-related part) to
> generate the *sources.jar, and maybe also the script to publish them to the
> maven repository.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.