[
https://issues.apache.org/jira/browse/LUCENE-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Busch updated LUCENE-935:
---------------------------------
Attachment: lucene-935-rename-poms.patch
lucene-935.patch
This patch:
* Includes the latest patch from LUCENE-908
* Uses the maven ant task <artifact:deploy> instead of <artifact:install>.
The advantage is that the metadata files don't contain "local" in the
filenames anymore. This also solves some problems with the latest version
of the maven ant tasks and simplifies the <generate-maven-artifacts>
target
in contrib-build.xml.
* The macro <m2-deploy> now has a nested, optional element
<artifact-attachments> which is used to attach the sources as jar files if
possible for an artifact.
* The macro <jarify> now has two attributes "destfile" and "basedir" which
allows <jarify> to be used by other targets like <jar-src>.
* The target <jar-src> now calls the macro <jarify> which makes it possible
to
overwrite <jar-src> in contrib build.xml files. This is neccessary to
include
special license files in the meta-inf folder (needed for snowball) or to
add
additional content to the MANIFEST file (needed for lucli).
* "lucene-parent" now extends artifact "apache"
Note: I separated the patch into two files to improve readability. Both patches
have to be applied.
> Improve maven artifacts
> -----------------------
>
> Key: LUCENE-935
> URL: https://issues.apache.org/jira/browse/LUCENE-935
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Build
> Reporter: Michael Busch
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 2.3
>
> Attachments: lucene-935-rename-poms.patch, lucene-935.patch
>
>
> There are a couple of things we can improve for the next release:
> - "*pom.xml" files should be renamed to "*pom.xml.template"
> - artifacts "lucene-parent" should extend "apache-parent"
> - add source jars as artifacts
> - update <generate-maven-artifacts> task to work with latest version of
> maven-ant-tasks.jar
> - metadata filenames should not contain "local"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]