while your <module>../PMS-WEB</module> section in parent pom
references the child in the same directory, your
<parent>/<relativePath> is undefined, therefore expecting the parent
to be one level up, not on the same level.

Please check documentation for maven model + see the effective pom to
see if the property is actually defined.

milos

On Mon, Nov 25, 2013 at 10:22 AM, Panciz <[email protected]> wrote:
> Yes I do . Actually in the previous post I omit the parent declaration the
> complete child header is:
>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>         <modelVersion>4.0.0</modelVersion>
>
>          <parent>
>             <groupId>com.speed.pms</groupId>
>             <artifactId>PMS-Main</artifactId>
>             <version>1.0.0</version>
>           </parent>
>
>         <artifactId>PMS-WEB</artifactId>
>         <packaging>war</packaging>
>         <name>PMS-WEB Maven Webapp</name>
>
>         <dependencies>
>             ....
>         </dependencies>
> <build>
>
>                 <finalName>PMS-WEB</finalName>
>                 <plugins>
>                         ....
>                         <plugin>
>                                 <groupId>org.apache.maven.plugins</groupId>
>                                 <artifactId>maven-war-plugin</artifactId>
>                                 <version>2.4</version>
>                                 <configuration>
>
>                                         <warName>${context-root}</warName>
>                                         <webResources>
>                                                 <resource>
>                                                         
> <directory>${web.resource.dir}</directory>
>                                                 </resource>
>                                         </webResources>
>                                 </configuration>
>                         </plugin>
>                </plugins>
>                   </build>
>           </project>
>
> Davide
>
>
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Maven-Custom-Parent-property-from-Module-tp5776488p5776490.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to