I had an interesting issue with the ant plugin in building <https://open-jbi-components.dev.java.net/>the <https://open-jbi-components.dev.java.net/>open-jbi-components
project.

Looks to me like ${project.build.directory} is now resolved
as a relative path instead of an absolute path at plugin execution time.

The below patch fixed the issue for me.

When I use 2.0.9, it works fine without the patch.

Thanks,
-Russ

Full source for pom.xml is <http://fisheye5.cenqua.com/browse/open-jbi-components/ojc-core/component-common/xmlbeans/pom.xml?r=1.3>here.

RCS file: /cvs/open-jbi-components/ojc-core/component-common/xmlbeans/pom.xml,v
retrieving revision 1.3
diff -c -r1.3 pom.xml
*** pom.xml     15 Apr 2008 05:26:58 -0000      1.3
--- pom.xml     8 Sep 2008 19:34:01 -0000
***************
*** 57,63 ****
                              <tasks>
<!-- run slightly modified ant script (m2.ant) to build the source dist from maven: --> <ant dir="${project.build.directory}/xbean_unzip" ! antfile="${project.build.directory}/xbean_unzip/m2.ant" > <!-- pass plugin classpath for tools.jar --> <reference refid="maven.plugin.classpath"></reference>
                                  </ant>
--- 57,63 ----
                              <tasks>
<!-- run slightly modified ant script (m2.ant) to build the source dist from maven: --> <ant dir="${project.build.directory}/xbean_unzip"
!                                             antfile="m2.ant" >
<!-- pass plugin classpath for tools.jar --> <reference refid="maven.plugin.classpath"></reference>
                                  </ant>


At 2:22 PM -0400 9/8/08, John Casey wrote:
Hi everyone,

I've fixed a bug in RC13 (yes, it took two tries, thus the RC15 version of this post). You can find the new release candidate here:

http://people.apache.org/~jdcasey/stage/current-maven-RC

As a matter of fact, I'll just start updating this URL with the latest RC when I roll a new one, to make it easier to type/remember/etc.

For what it's worth, I'm still working on one known issue which will necessitate an RC16:

http://jira.codehaus.org/browse/MNG-3746

However, this last issue (MNG-3743) was so ugly I didn't want to wait to get something out to you all that you could test.

Please let me know if you find any [other] issues.

Thanks,

-john

---
John Casey
Developer and PMC Member, Apache Maven (http://maven.apache.org)
Member, Apache Software Foundation
Blog: http://www.ejlife.net/blogs/buildchimp

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to