Hi Rodrigo,

Rodrigo Ruiz wrote:

> Hi Wayne, thanks for your prompt response :-)
> 
> I have tried to create a simple testcase for my problem, and I have
> discovered that the problem is not where I thought it was :-P
> 
> The problem is not in the compilation step. The problem appears with
> 'mvn assembly:assembly', and I have found it in my project because the
> assemblies are created as part of the package phase:
> 
>  <plugin>
>    <artifactId>maven-assembly-plugin</artifactId>
>    <executions>
>      <execution>
>        <id>make-assembly</id>
>        <phase>package</phase>
>        <goals>
>          <goal>attached</goal>
>        </goals>
>      </execution>
>    </executions>
>    <configuration>
>      <descriptors>
>        <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
>        <descriptor>${basedir}/src/main/assembly/src.xml</descriptor>
>      </descriptors>
>    </configuration>
>  </plugin>
> 
> My intention with this configuration was to ensure that the assemblies
> are installed whenever I invoke "mvn install" or "mvn deploy".
> 
> Should I use a different phase for this?

Use goal "single", "attached" confuses multi-module builds.

- Jörg


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

Reply via email to