That is because the build gets forked before the required artifact gets
installed.
And the forked process requires the artifact.


Niall Pemberton-2 wrote:
> 
> On Thu, Feb 28, 2008 at 7:05 PM, Petar Tahchiev <[EMAIL PROTECTED]>
> wrote:
>>
>>  I checked the version of all the maven plugins that are used, and none
>> of the
>>  plugins seems to be updated for the past month.
>>  You can checkout the source of Cactus and try to build it by yourself:
>>
>>  http://svn.apache.org/repos/asf/jakarta/cactus/trunk/
>>
>>  I upload the output of the build process. Actually it turned out that
>> the
>>  build eventually ends, the problem is that it builds actually the source
>>  many times. If you look at the attachment you can see that on line 430
>> in
>>  stead of continuing with the next uberjar, the build starts again from
>> the
>>  top level pom. This is really strange for me.
>>
>>  I bet it's a really stupid mistake, but I cannot think of anything to
>> cause
>>  this behaviour.
> 
> I tried building cactus and got the following error:
> 
> Missing:
> ----------
> 1)
> org.apache.cactus:cactus.core.framework.javaEE.12-13-14:test-jar:tests:1.8.0-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.cactus
> -DartifactId=cactus.core.framework.javaEE.12-13-14
> -Dversion=1.8.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar
> -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file
> there:
>       mvn deploy:deploy-file -DgroupId=org.apache.cactus
> -DartifactId=cactus.core.framework.javaEE.12-13-14
> -Dversion=1.8.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>       1)
> org.apache.cactus:cactus.core.framework.javaEE.13-14:jar:1.8.0-SNAPSHOT
>       2)
> org.apache.cactus:cactus.core.framework.javaEE.12-13-14:test-jar:tests:1.8.0-SNAPSHOT
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>   org.apache.cactus:cactus.core.framework.javaEE.13-14:jar:1.8.0-SNAPSHOT
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> 
>>  Thanks.
>>
>>  http://www.nabble.com/file/p15743506/outp2 outp2
>>
>>
>>
>>
>>
>>  Niall Pemberton-2 wrote:
>>  >
>>  > On Thu, Feb 28, 2008 at 5:33 PM, Petar Tahchiev
>> <[EMAIL PROTECTED]>
>>  > wrote:
>>  >>
>>  >>  Hi guys,
>>  >>
>>  >>  my build  was working absolutely perfect yesterday. However, today I
>>  >> tried
>>  >>  to execute
>>  >>
>>  >>  mvn install
>>  >>
>>  >>  and the build goes down the submodules, builds them and again starts
>> to
>>  >>  build them one by one, and so on infinitely.
>>  >>
>>  >>  My project consists of three submodules, each one supposed just to
>>  >> extract
>>  >>  using the assembly plugin two other jars in one common folder and
>> then
>>  >> wrap
>>  >>  it up again as a whole.
>>  >>
>>  >>  Although mvn clean works perfect and cleans the content, any of the
>> "mvn
>>  >>  package", "mvn install", "mvn test" doesn't work. I just wanted to
>> ask
>>  >> if
>>  >>  anyone knows what could be the reason of this.
>>  >
>>  > Perhaps...
>>  >
>>  > http://www.jroller.com/mrdon/entry/your_build_uses_maven_2
>>  >
>>  > Niall
>>  >
>>  >>  I wouldn't write to the maven-dev list if I don't think that this is
>> a
>>  >>  maven-bug.
>>  >>
>>  >>  Thank you very much.
>>  >>  --
>>  >>  View this message in context:
>>  >>
>> http://www.nabble.com/Maven-breaks-after-last-night.-tp15741712s177p15741712.html
>>  >>  Sent from the Maven Developers 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]
>>  >
>>  >
>>  >
>>
>>  --
>>  View this message in context:
>> http://www.nabble.com/Maven-breaks-after-last-night.-tp15741712s177p15743506.html
>>
>>
>> Sent from the Maven Developers 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-breaks-after-last-night.-tp15741712s177p15745803.html
Sent from the Maven Developers mailing list archive at Nabble.com.


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

Reply via email to