That's it! There is a workaround posted on the defect report that I've
confirmed works for me.

I must not have cleaned out my repository in a while, so I have not noticed
that adding assemblies breaks the build.

FYI, my assembly plugin configuration:

  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-assembly-plugin</artifactId>
    <executions>
      <execution>
        <phase>package</phase>
        <goals>
          <goal>single</goal>
        </goals>
      </execution>
    </executions>
    <configuration>
      <appendAssemblyId>false</appendAssemblyId>
      <descriptors>
       
<descriptor>../src/main/assembly/application-assembly.xml</descriptor>
      </descriptors>
    </configuration>
  </plugin>

I originally had specified the <goal> as "attached". Changing it to "single"
per the workaround fixed my build.

Thanks for your help!

Mike


nigelm wrote:
> 
> Are you using the assembly plugin?
> 
> could be *MASSEMBLY-97 <http://jira.codehaus.org/browse/MASSEMBLY-97> or
> MASSEMBLY-102, *raised way back in May but don't look any closer to being
> fixed.
> 
> 
> On 04/10/06, SingleShot <[EMAIL PROTECTED]> wrote:
>>
>>
>> I have a master POM and many modules. For months we've been building
>> fine.
>> We
>> occassionally add a new module with no problem whatsoever. We typically
>> will
>> delete our artifacts from our local repository to make sure there are no
>> leftovers from defnuct modules. Now for the past few days, when we do a
>> build (using a "cleaned" repository), our modules appear to build out of
>> order. The "Reactor build order:" list at the start of the build looks
>> fine,
>> but the build eventually tries to access a module out of order,
>> complaining
>> it is not in the repository. If we go down and build that module
>> directly,
>> it builds. We go back to the top and rebuild, and it gets further, but
>> has
>> the same error at a later point. If we manually build every module in
>> order,
>> then do a top down build, it works.
>>
>> So... I'm asking if anyone has any hints or suggestions as to what could
>> cause a perfectly ordered build to suddenly build out of order.
>>
>> Thanks.
>> --
>> View this message in context:
>> http://www.nabble.com/Modules-Building-Out-of-Order-tf2385050.html#a6648340
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Modules-Building-Out-of-Order-tf2385050.html#a6649633
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to