Try "mvn help:effective-pom" from both the top level and the child,
and compare. I'd guess you have a profile that's getting injected
somewhere, or some other errant configuration leading to this problem.

Wayne

On 3/17/08, FMD <[EMAIL PROTECTED]> wrote:
>
> I am using the reactor to perform recursive builds.  All is well until I am
> building the EAR project.  One of the war files when copied is not named
> with the version.  If I run the build from the lower level project I get the
> version on the copied war.
>
> Without Reactor:
> [INFO] Copying artifact[war:ScholarNet:scholarnet:2.0]
> to[scholarnet-2.0.war]
>
> With Reactor:
> [INFO] Copying artifact[war:ScholarNet:scholarnet:2.0] to[ScholarNet.war]
>
>
> Anyone run across this problem?
>
> <?xml version="1.0" encoding="UTF-8"?><project>
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>ScholarNet</groupId>
>  <artifactId>CommonLinePlatform</artifactId>
>  <packaging>ear</packaging>
>  <version>2.0</version>
>  <description>Ear Containing all the other Jars, Ejbs and
> Wars</description>
>  <name>SNETDeploy EAR</name>
>  <dependencies>
>    <dependency>
>      <groupId>commons-dbcp</groupId>
>      <artifactId>commons-dbcp</artifactId>
>      <version>1.2.1</version>
>    </dependency>
>    <dependency>
>      <groupId>commons-collections</groupId>
>      <artifactId>commons-collections</artifactId>
>      <version>2.1.1</version>
>    </dependency>
>    <dependency>
>      <groupId>dom4j</groupId>
>      <artifactId>dom4j</artifactId>
>      <version>1.6.1</version>
>    </dependency>
>    <dependency>
>      <groupId>ScholarNet</groupId>
>      <artifactId>CommonLineDataAccessLayer</artifactId>
>      <version>1.0</version>
>    </dependency>
>    <dependency>
>      <groupId>ScholarNet</groupId>
>      <artifactId>CommonlineDataAccessServices</artifactId>
>      <version>1.0</version>
>    </dependency>
>    <dependency>
>      <groupId>com.fmer</groupId>
>      <artifactId>fmei-framework</artifactId>
>      <version>1.1</version>
>    </dependency>
>    <dependency>
>      <groupId>ScholarNet</groupId>
>      <artifactId>CommonlineServices</artifactId>
>      <version>1.0</version>
>      <type>ejb</type>
>    </dependency>
>    <dependency>
>      <groupId>ScholarNet</groupId>
>      <artifactId>CommonlineBase</artifactId>
>      <version>1.0</version>
>    </dependency>
>    <dependency>
>      <groupId>ScholarNet</groupId>
>      <artifactId>AdapterDataAccessLayer</artifactId>
>      <version>1.0</version>
>    </dependency>
>    <dependency>
>      <groupId>ScholarNet</groupId>
>      <artifactId>StartUpHook</artifactId>
>      <version>1.0</version>
>      <type>war</type>
>    </dependency>
>    <dependency>
>      <groupId>ScholarNet</groupId>
>      <artifactId>scholarnet</artifactId>
>      <version>2.0</version>
>      <type>war</type>
>    </dependency>
>    <dependency>
>      <groupId>castor</groupId>
>      <artifactId>castor</artifactId>
>      <version>1.0</version>
>    </dependency>
>    <dependency>
>      <groupId>commons-codec</groupId>
>      <artifactId>commons-codec</artifactId>
>      <version>1.2</version>
>    </dependency>
>    <dependency>
>      <groupId>commons-digester</groupId>
>      <artifactId>commons-digester</artifactId>
>      <version>1.8</version>
>    </dependency>
>    <dependency>
>      <groupId>commons-el</groupId>
>      <artifactId>commons-el</artifactId>
>      <version>1.0</version>
>    </dependency>
>    <dependency>
>      <groupId>commons-fileupload</groupId>
>      <artifactId>commons-fileupload</artifactId>
>      <version>1.1</version>
>    </dependency>
>    <dependency>
>      <groupId>commons-logging</groupId>
>      <artifactId>commons-logging</artifactId>
>      <version>1.0.4</version>
>    </dependency>
>    <dependency>
>        <groupId>org.springframework</groupId>
>            <artifactId>spring</artifactId>
>            <version>2.0.7</version>
>        </dependency>
>  </dependencies>
> </project>
> --
> View this message in context: 
> http://www.nabble.com/Reactor-and-building-an-EAR-Project-tp16095575s177p16095575.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