You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by r maclean <li...@yahoo.ca> on 2006/10/16 13:09:09 UTC

Unable to obtain goal & Unsatisfied dependency in M1.0.2

Hello,
   
  I got the following while trying to do  a multiproject install. The jar is in the repo, is referenced in the <projectdir>/project.xml file, and folder exists though. All plugins are in the local repo. I've commented out references to repo.remote. Any suggestions?
   
  BUILD FAILED
File...... C:\Documents and Settings\User\.maven\cache\maven-plugin-1.0
.5-e\plugin.jelly
Element... maven:maven
Line...... 1618
Column.... 114
Unable to obtain goal [multiproject:goal] -- C:\Documents and Settings\User
\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly:217:9: <maven:reactor
> Reactor subproject failure occurred
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [jr2:multiproj
ect-goal] -- C:\Documents and Settings\User\.maven\cache\maven-plugin-1
.0.5-e\plugin.jelly:1618:114: <maven:maven> Unable to obtain goal [multiprojec
t:goal] -- C:\Documents and Settings\User\.maven\cache\maven-multiproject-p
lugin-1.3.1\plugin.jelly:217:9: <maven:reactor> Reactor subproject failure occur
red
        at com.werken.werkz.Goal.fire(Goal.java:646)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
  
############ 
 WHERE: line 1618 = 
  <maven:maven descriptor="${projectDir}/project.xml" goals="${invokeGoal}" basedir="${projectDir}"/>
 
 org.apache.maven.verifier.UnsatisfiedDependencyException: The build cannot continue because of the following unsatisfied dependency:
 xxx.lookup.jar
   
  thanks!

Re: Unable to obtain goal & Unsatisfied dependency in M1.0.2

Posted by r maclean <li...@yahoo.ca>.
Thanks, Arnaud for your questions.  Though each Jar has a project.xml file that defines its dependencies, we have a Build folder that includes a .properties file that has an "include" listing the project.xml files of the Jars (not necessarily in their build order). We found the bug in this "include" as it was commented out -- so no dependency was being built. We don't version jars that contain src (the version control tool takes care of that).

  
Arnaud HERITIER <ah...@gmail.com> wrote:
  How did you define your dependency to this jar ???
There's no version for it ?
Did you ovverride the dependency ?

Arnaud

On 10/16/06, r maclean 
wrote:
>
> Hello,
>
> I got the following while trying to do a multiproject install. The jar
> is in the repo, is referenced in the 
/project.xml file, and
> folder exists though. All plugins are in the local repo. I've commented out
> references to repo.remote. Any suggestions?
>
> BUILD FAILED
> File...... C:\Documents and Settings\User\.maven\cache\maven-plugin-1.0
> .5-e\plugin.jelly
> Element... maven:maven
> Line...... 1618
> Column.... 114
> Unable to obtain goal [multiproject:goal] -- C:\Documents and
> Settings\User
> \.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly:217:9:> > Reactor subproject failure occurred
> com.werken.werkz.UnattainableGoalException: Unable to obtain goal
> [jr2:multiproj
> ect-goal] -- C:\Documents and Settings\User\.maven\cache\maven-plugin-1
> .0.5-e\plugin.jelly:1618:114: Unable to obtain goal
> [multiprojec
> t:goal] -- C:\Documents and
> Settings\User\.maven\cache\maven-multiproject-p
> lugin-1.3.1\plugin.jelly:217:9: Reactor subproject failure
> occur
> red
> at com.werken.werkz.Goal.fire(Goal.java:646)
> at com.werken.werkz.Goal.attain(Goal.java:575)
> at org.apache.maven.plugin.PluginManager.attainGoals(
> PluginManager.java:
> 671)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java
> :263)
> at org.apache.maven.cli.App.doMain(App.java:488)
> at org.apache.maven.cli.App.main(App.java:1239)
> at java.lang.reflect.Method.invoke(Native Method)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
>
> ############
> WHERE: line 1618 =
> > goals="${invokeGoal}" basedir="${projectDir}"/>
>
> org.apache.maven.verifier.UnsatisfiedDependencyException: The build cannot
> continue because of the following unsatisfied dependency:
> xxx.lookup.jar
>
> thanks!
>
>


Re: Unable to obtain goal & Unsatisfied dependency in M1.0.2

Posted by Arnaud HERITIER <ah...@gmail.com>.
How did you define your dependency to this jar ???
There's no version for it ?
Did you ovverride the dependency ?

Arnaud

On 10/16/06, r maclean <li...@yahoo.ca> wrote:
>
> Hello,
>
>   I got the following while trying to do  a multiproject install. The jar
> is in the repo, is referenced in the <projectdir>/project.xml file, and
> folder exists though. All plugins are in the local repo. I've commented out
> references to repo.remote. Any suggestions?
>
>   BUILD FAILED
> File...... C:\Documents and Settings\User\.maven\cache\maven-plugin-1.0
> .5-e\plugin.jelly
> Element... maven:maven
> Line...... 1618
> Column.... 114
> Unable to obtain goal [multiproject:goal] -- C:\Documents and
> Settings\User
> \.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly:217:9:<maven:reactor
> > Reactor subproject failure occurred
> com.werken.werkz.UnattainableGoalException: Unable to obtain goal
> [jr2:multiproj
> ect-goal] -- C:\Documents and Settings\User\.maven\cache\maven-plugin-1
> .0.5-e\plugin.jelly:1618:114: <maven:maven> Unable to obtain goal
> [multiprojec
> t:goal] -- C:\Documents and
> Settings\User\.maven\cache\maven-multiproject-p
> lugin-1.3.1\plugin.jelly:217:9: <maven:reactor> Reactor subproject failure
> occur
> red
>         at com.werken.werkz.Goal.fire(Goal.java:646)
>         at com.werken.werkz.Goal.attain(Goal.java:575)
>         at org.apache.maven.plugin.PluginManager.attainGoals(
> PluginManager.java:
> 671)
>         at org.apache.maven.MavenSession.attainGoals(MavenSession.java
> :263)
>         at org.apache.maven.cli.App.doMain(App.java:488)
>         at org.apache.maven.cli.App.main(App.java:1239)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
>
> ############
> WHERE: line 1618 =
>   <maven:maven descriptor="${projectDir}/project.xml"
> goals="${invokeGoal}" basedir="${projectDir}"/>
>
> org.apache.maven.verifier.UnsatisfiedDependencyException: The build cannot
> continue because of the following unsatisfied dependency:
> xxx.lookup.jar
>
>   thanks!
>
>