try just assemble/dsitribution.xml or even better
${basedir}/assemble/distribution.xml

On Fri, May 15, 2009 at 2:37 PM, emerson cargnin <[email protected]
> wrote:

> I have two projects that are children of a pom type project.
> When I build them alone it works fine, but if I try to build them from
> the parent pom level, it tells it can't find the assemblies.
>
> This is what I have on the child pom:
>        <build>
>                <plugins>
>                        <plugin>
>
>  <artifactId>maven-assembly-plugin</artifactId>
>                                <configuration>
>                                        <finalName>crawlControl</finalName>
>                                        <descriptors>
>
>  <descriptor>./assemble/distribution.xml</descriptor>
>                                        </descriptors>
>                                </configuration>
>                        </plugin>
>                </plugins>
>        </build>
>
> my project has the structure:
>
> parent
> |-pom.xml
> |
> |---module1
>      |-pom.xml
>      |-assemble
>             |-distribution.xml
>
>
> My log when I run from the top level (from the module it works alright):
>
> [INFO] [jar:jar]
> [INFO] Building jar:
>
> C:\dev\svn\modules_m2_exp\webcrawl\crawler\apptus\com.wcr.control\target\com..wcr.control-1.0-SNAPSHOT.jar
> [INFO] [assembly:assembly]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error reading assemblies: No assembly descriptors found.
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error reading
> assemblies: No assembly descriptors found.
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:584)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
>
>
> thanks
> Emerson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to