-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hello y'all,

I'm facing a problem I cannot find a solution for, so I hope to get
one here:


When building a Project with parent entry

 <parent>
    <artifactId>struts2-apps</artifactId>
    <groupId>org.apache.struts</groupId>
    <version>2.0.11</version>
  </parent>

build fails, because struts2-apps.2.0.11.pom contains entry

 <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-core</artifactId>
            <version>${pom.version}</version>
        </dependency>

when using multiproject build, ${pom.version} is replaced by the
version of the parent pom.
If there is more than one parent, and the pom.xml of the parent of the
project that includes the dependency to
struts2-core (for example) has the version 1.0.0, maven searches for
struts2-core-1.0.0, which of couse is not found.

The polite guys from apache told me not to use as a parent and
relegated me to that mailing list.
So I hope now for a helpful answer.....

Thanks in advance


  Volker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFH1ZPYx4KjH6Tk4MMRAsbuAJ417yjJxHUkDWYvR/Lwlr4fxNbKtgCfRvhO
wW3HSjU9XFz/chi7NatC7bY=
=7oqc
-----END PGP SIGNATURE-----


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

Reply via email to