You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2003/01/15 16:33:34 UTC

[maven-bug] Closed: (MAVEN-64) Chaining POM definitions

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Wed, 15 Jan 2003 9:33 AM

extend can now specify ${basedir}
---------------------------------------------------------------------
View the issue:

  http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-64


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-64
    Summary: Chaining POM definitions
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
   Estimate: Unknown

    Project: maven
  Component: core
   Versions:
             1.0-beta-7

   Assignee: Jason van Zyl
   Reporter: Vincent Massol

    Created: Sat, 10 Aug 2002 9:21 AM
    Updated: Wed, 15 Jan 2003 9:33 AM

Description:
I'm trying to chain project.xml(s).

I have :

common/project.xml : base defs
common/project-development.xml : extends common/project.xml
someproject/project.xml : extends common/project-development.xml

I get the following error:

[ERROR] BUILD FAILED
[ERROR] File...... E:\Vma\Projets\Encours\ICOM\Icom\environment\tools\maven\plugins\maven-java-plugi
n-1.0\plugin.jelly
[ERROR] Element... javac
[ERROR] Line...... 54
[ERROR] Column.... 44
[ERROR] Reference maven.compile.src.set not found.
Total time: 6 seconds

What I would like to do is define the <extend> in the following way:

common/project-development.xml :
<extend>project.xml</extend>

someproject/project.xml:
<extend>../common/project-development.xml</extend>

Is that going to work ?
Are the paths always relative to the current project.xml or relative to the initial directory, in which case chaining will not work unless if I use absolute paths which I don't want ... :-)

Thanks
-Vincent


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

If you think it was sent incorrectly contact one of the administrators:
   http://jira.werken.com/Administrators.jspa

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