Issue1662463

classification
Title: Maven build script
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, nirvdrum
Priority: normal Keywords: patch

Created on 2007-02-17.19:16:43 by nirvdrum, last changed 2007-02-28.21:08:00 by cgroves.

Files
File name Uploaded Description Edit Remove
jython-maven-build.patch nirvdrum, 2007-02-17.19:16:44
Messages
msg2643 (view) Author: Kevin Menard (nirvdrum) Date: 2007-02-17.19:16:43
Attached is a patch that will allow the Jython group to create a maven bundle at will.  This should help the project regularly produce maven bundles for each new release.

To use:

$ cd maven
$ ant -Dproject.version=2.2-beta-1
$ ant -Dproject.version=2.2-beta-1 install

The first ant call will actually build the bundle for submission to a maven repository.  The second line builds the files necessary for a local install.  Note that you must pass the version number as a JVM arg for ant.

Note that I borrowed quite heavily from the Apache Cayenne project for this work.  I am a Cayenne committer, so it made sense to me to leverage that work.  As such, I have included proper attribution in order to be compliant with the ASL 2.0.  If this is a problem, we'll need to come up with another way to do this -- in either event, I can upload my generated bundle now for the 2.2-beta-1 release.

There is a lot of clean-up opportunity here, since I was trying to get this done ASAP for the 2.2-beta-1 release.  For 2.2-beta-2, there could be some unification of this ant file with the main project one, in order to cut down on duplicate property definitions.
msg2644 (view) Author: Charlie Groves (cgroves) Date: 2007-02-18.06:49:33
How significant are the changes from the Cayenne maven generation stuff?  I'd love it if we could point an svn:externals at Cayenne's version of this so we get updates automatically(and could send patches back if we find a maven change first).  It seems like most ant based projects could share a base of maven pom generation tasks.
msg2645 (view) Author: Charlie Groves (cgroves) Date: 2007-02-28.21:08:00
Committed in r3129.
History
Date User Action Args
2007-02-17 19:16:43nirvdrumcreate