You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/08/04 03:42:36 UTC

[jira] Commented: (MAVEN-647) Maven built from CVS no longer recognizes pom property

The following comment has been added to this issue:

     Author: dion gillard
    Created: Sun, 3 Aug 2003 8:41 PM
       Body:
You do know that maven CVS is currently unstable?
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-647


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-647
    Summary: Maven built from CVS no longer recognizes pom property
       Type: Bug

     Status: Unassigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Jeff French

    Created: Sun, 3 Aug 2003 9:36 AM
    Updated: Sun, 3 Aug 2003 9:37 AM
Environment: OS: Linux Mandrake 7.2, kernel 2.2.17-21mdk
Java: 1.4.0

Description:
Maven built from CVS will no longer recognize when I reference the pom.build.sourceDirectory property from within the project.properties file. This is as of Sun Aug  3 08:54:18 CDT 2003.

I have this line in project.properties:

  admin.dir = ${pom.build.sourceDirectory}/admin

and this in project.xml:

  <project>
    ...
    <build>
      <sourceDirectory>src</sourceDirectory>
      ...
    </build>
  </project>

The test:test-resources preGoal in maven.xml is doing a <copy> where it references ${admin.dir}. I reloaded each version of Maven and wiped out my ~/.maven directory prior to running each test.

A build using b10 is successful. Here is a summary of the exception I get when using the CVS version. So as not to clog up the description, I'll submit the full output as an attachment.

BUILD FAILED
Unable to obtain goal [postGoal@1&test:test-resources] -- null:32:28: <copy> /home/jeff/work/test/mvtests/mvemrapi/${pom.build.sourceDirectory}/admin not found.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org