You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rodrigo Ruiz <rr...@gridsystems.com> on 2007/02/01 09:09:59 UTC
Re: [M2] Siblilng dependencies not found when building a multi-module
project
Thank you very much! It works like a charm :-)
Best regards,
Rodrigo Ruiz
Jörg Schaible wrote:
> 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
>
>
--
-------------------------------------------------------------------
GRID SYSTEMS, S.A. Rodrigo Ruiz
Parc Bit - Edificio 17 Research Coordinator
07121 Palma de Mallorca rruiz@gridsystems.com
Baleares - Spain Tel: +34 971 435 085
http://www.gridsystems.com/ Fax: +34 971 435 082
-------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org