You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by tc...@nordija.com on 2003/07/23 14:54:44 UTC

Multiproject:install ends with: Unknown goal "multiproject:install-callback"

Hi

I have a classic J2EE setup with an ejb-jar, a war file and they are 
combined into an ear file. The ejb-jar, the war file and the ear file are 
each in a separa project dir with properties and project.xml. A root 
directory holds the overall project.xml. Each of the components can be 
build using maven ejb, maven war and maven ear respectively without 
problems. However when I use maven multiproject:install from the root dir 
the build fails with the following:

BUILD FAILED
File...... file:/C:/Documents and 
Settings/tchristensen/.maven/plugins/maven-multiproject-plugin-SNAPSHOT/
Element... maven:reactor
Line...... 138
Column.... 9
Unknown goal "multiproject:install-callback"
com.werken.werkz.UnattainableGoalException: Unable to obtain goal 
[multiproject:install] -- file:/C:/Documents and 
Settings/tchristensen/.maven/plugins/maven-multiproject-plugin-SNAPSHOT/:138:9: 
<maven:reactor> Unknown goal "multiproject:install-callback"

In each component dir (ejb-jar, war and ear) there is a project.properties 
containing a value of maven.multiproject.type. This value corresponds to 
the output type e.i. ejb, war and ear. There is also a small maven.xml 
that has the default goal setup to ejb:install, war:install and 
ear:install respectively.

I understand that multiproject:install locates all project.xml files 
residing in the subdirs and it then executes "maven 
multiproject:install-callback" in each which should in turn make maven 
execute the goal: maven ${maven.multiproject.type}:install. But somewhere 
this fails on my install.

My env:
Maven 1.0 beta 11 checkout 17/7-2003 and maven-multiproject downloaded as 
jar from ibiblio on the 23/7. Java version "1.4.1_03". BTW my 
subcomponents all extend the project.xml in my root directory.

Am I missing something?

Cheers

Thomas