Hi Craig,
with the patch I was able to run a test using the source distribution. I
called 'maven dist' in tck20, unzipped the created source distribution
in a new directory, renamed directory src to test and then called maven
build (using a single configuration). We do not need the renaming
anymore as soon as JDO-280 isresolved. I hope this helps.
Regards Michael
[ http://issues.apache.org/jira/browse/JDO-279?page=all ]
Michael Bouschen updated JDO-279:
---------------------------------
Attachment: mavenDistSupport.patch
Andy proposed to use 'maven dist' for the distribution. There is not need to add our own distrib goal to tck20, so forget the previous patches attached to this issue.
The new patch for review (mavenDistSupport.patch) adds a preGoal and a postGoal
for dist:build-src. The preGoal adds some files and directories to be included
in the source distribution (Thanks Michelle, copying works). The postGoal
simply copies the source distribution zip to file with a different name. The
patch defines the property maven.src.dir in tck20/project.properties. This can
be removed as soon as JDO-280 is resolved.
Release tck20 as source with a binary dependency on other projects
------------------------------------------------------------------
Key: JDO-279
URL: http://issues.apache.org/jira/browse/JDO-279
Project: JDO
Type: Improvement
Components: tck20
Reporter: Craig Russell
Fix For: JDO 2 beta
Attachments: distrib.patch, distrib.patch2, mavenDistSupport.patch
This proposal would repackage tck20 as a project that has no dependencies on
the super-project (../project.xml). It would continue to have binary
dependencies on several of the other projects.
This allows us to distribute the tck20 including sources to allow users to run
the tck without having to use the svn workspace. The sources are needed in
order to debug the implementation under test.
--
Michael Bouschen [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED] http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin