The parent project is:

<?xml version="1.0" encoding="UTF-8"?>
<project>
        <pomVersion>3</pomVersion>
        <artifactId>N743</artifactId>
        <id>N743</id>
        <groupId>N743</groupId>
        <name>N743Test</name>
        <currentVersion>0.0.1</currentVersion>
        <organization>
        </organization>
        <inceptionYear>2005</inceptionYear>
        </description>
        <shortDescription>N743Test</shortDescription>
        <build>
                <sourceDirectory>${basedir}/src/java</sourceDirectory>
                <unitTestSourceDirectory>
                        ${basedir}/src/test
                </unitTestSourceDirectory>
                <unitTest>
                        <includes>
                                <include>**/*Test.java</include>
                        </includes>
                </unitTest>
                <resources>
                        <resource>
                                <directory>${basedir}/src/resources</directory>
                                <includes>
                                        <include>**/*.properties</include>
                                        <include>**/*.xsl</include>
                                </includes>
                        </resource>
                </resources>
        </build>
        <dependencies>
                <dependency>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                        <version>1.2.8</version>
                </dependency>
                <dependency>
                        <groupId>it01</groupId>
                        <artifactId>it01</artifactId>
                        <version>3.0rc12</version>
                        <type>jar</type>
                </dependency>    
        </dependencies>
        <reports>
                <report>maven-javadoc-plugin</report>
        </reports>
</project>

And the project.properties are:

maven.multiproject.includes=ejb/*/project.xml,services/*/project.xml
maven.multiproject.site.goals=site,dashboard:report-single

Oddmar


-----Opprinnelig melding-----
Fra: Brett Porter [mailto:[EMAIL PROTECTED]
Sendt: 15. september 2005 02:55
Til: Maven Users List
Emne: Re: Multiproject plugin problem in Maven 1.1


What is the content of the parent project?

I'm not sure why the proper exception has been swallowed, though - I'd need 
to look into that.

- Brett

On 9/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> 
> I have a multiproject that runs fine in Maven 1.0.2. In Maven 1.1 (beta1 
> and beta2) I have had problems with jar:install.
> 
> The first project always runs fine. The second project seems to fail after 
> uploading the jar to the repository. Even if I switch the order of the 
> projects or remove some of them, the second seems to fail always.
> 
> >maven multiproject:install
> 
> >Unable to obtain goal [multiproject:install-callback] -- C:\Documents and 
> Settings\AB36632\.maven\cache\maven-artifact-plugin-1.6\plugin.jelly:73:9:<artifact:artifact-install>
>  Error getting the project as a string
> 
> See the stack trace below. If I go to the subproject in question and run 
> maven, it works fine. (Default goal is set in project.xml).
> 
> I operate with project.xml only, a sample file for a subproject is as 
> follows:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
> <extend>../../project.xml</extend>
> <groupId>N743</groupId>
> <artifactId>PreLoadGraphCreation</artifactId>
> <id>PreLoadGraphCreation</id>
> <name>PreLoadGraphCreation</name>
> <description>
> PreLoadGraphCreation is a sample project to demonstrate and test how to
> setup projects for WebSphere and Dynamo while controlling the
> build process with Apache Maven.
> </description>
> <dependencies>
> <dependency>
> <groupId>N743</groupId>
> <artifactId>NemoFelles</artifactId>
> <version>${pom.currentVersion}</version>
> </dependency>
> <dependency>
> <groupId>collect</groupId>
> <artifactId>collect</artifactId>
> <version>1.0</version>
> <type>jar</type>
> </dependency>
> <dependency>
> <groupId>j2ee</groupId>
> <artifactId>j2ee</artifactId>
> <version>1.3</version>
> </dependency>
> </dependencies>
> <build>
> <defaultGoal>jar:install</defaultGoal>
> </build>
> </project>
> 
> 
> org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal 
> [multiproject:install] -- C:\Documents and 
> Settings\AB36632\.maven\cache\maven-
> multiproject-plugin-1.4.1\plugin.jelly:218:9: <maven:reactor> Reactor 
> subproject failure occurred
> at org.apache.maven.werkz.Goal.fire(Goal.java:663)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> :693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> org.apache.commons.jelly.JellyTagException: C:\Documents and 
> Settings\AB36632\.maven\cache\maven-
> multiproject-plugin-1.4.1\plugin.jelly:218:9: <maven:reactor> Reactor 
> subproject failure occurred
> at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:378)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> MavenGoalTag.java:78)
> at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
> (MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
> at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(
> MavenAttainGoalTag.java:114)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> MavenGoalTag.java:78)
> at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
> (MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> :693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caused by: org.apache.maven.werkz.UnattainableGoalException: Unable to 
> obtain goal [multiproject:install-callback] -- C:\Documents and 
> Settings\AB36632\.maven\cache\maven-artifact-plugin-1.6\plugin.jelly:73:9:<artifact:artifact-install>
>  Error getting the project as a string
> at org.apache.maven.werkz.Goal.fire(Goal.java:663)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> :693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:368)
> ... 24 more
> Root cause
> org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal 
> [multiproject:install-callback] -- C:\Documents and 
> Settings\AB36632\.maven\cache\maven-artifact-plugin-1.6\plugin.jelly:73:9:<artifact:artifact-install>
>  Error getting the project as a string
> at org.apache.maven.werkz.Goal.fire(Goal.java:663)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> :693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:368)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> MavenGoalTag.java:78)
> at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
> (MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
> at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(
> MavenAttainGoalTag.java:114)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> MavenGoalTag.java:78)
> at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
> (MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> :693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> 
> Oddmar Sandvik
> 
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> *
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that DnB NOR cannot
> accept any payment orders or other legally binding correspondence with
> customers as a part of an email.
> 
> This email message has been virus checked by the virus programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> *
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to