I had been using reactor directly from my maven.xml, and decided to try multiproject again a couple days ago, and it worked. I no longer get the unknown multiproject goal message. I removed my maven.xml thinking maybe something there had "fixed" my problem, but it still worked fine.
I would document this for the FAQ, but I don't have a clue as to what I did differently. I must have changed something in one of the POMs. If I figure out what, I'll write something up. Jeff On Thu, 4 Dec 2003, at 23:31:43 [GMT -0600] Jefferson K. French wrote: > Yes, the <id> tag exists and is different in all projects. > On Fri, 5 Dec 2003, at 16:18:19 [GMT +1100 ] Brett Porter wrote: >> Is <id> in the subproject different to <id> in the parent project, or >> missing? >> They need to both exist and be different. >> - Brett >>> -----Original Message----- >>> From: Jefferson K. French [mailto:[EMAIL PROTECTED] >>> Sent: Friday, 5 December 2003 4:17 PM >>> To: Maven Users List >>> Subject: Re: Unknown goal "multiproject:install-callback" >>> >>> >>> Anyone have any ideas on what could be causing an unknown >>> goal error for multiproject:install-callback? I've searched >>> the email archive and google, but haven't found anything >>> about unknown multiproject callback goals. >>> >>> I invoked reactor from maven.xml and installed my jars >>> successfully. Maybe I have something wrong with my >>> multiproject properties? My properties are: >>> >>> maven.multiproject.ignoreFailures=false >>> maven.multiproject.navigation=aggregate >>> maven.multiproject.aggregateDir= >>> maven.multiproject.type=jar >>> maven.multiproject.includes=*/project.xml >>> maven.multiproject.excludes=project.xml >>> >>> and my project layout is like this: >>> >>> project.xml >>> project.properties >>> jar-1/ >>> project.xml >>> src/... >>> jar-2/ >>> project.xml >>> src/... >>> jar-3/ >>> projects.xml >>> src/... >>> >>> Thanks for any pointers. >>> >>> Jeff >>> >>> On Sat, 29 Nov 2003, at 12:55:21 [GMT -0600] Jefferson K. French >>> wrote: >>> >>> > I'm trying to use multiproject for the first time, but I'm >>> getting an >>> > unknown goal error for multiproject:install-callback. I'm not sure >>> > what I'm doing wrong, because multiproject's plugin.jelly file does >>> > contain an install-callback goal. Has anyone seen this before? It's >>> > quite possible I have something setup wrong in my >>> subproject POMs, but >>> > I don't understand how that could cause the "unknown goal" error. >>> >>> > Here is part of the output log: >>> >>> > $ maven -X multiproject:install >>> > __ __ >>> > | \/ |__ _Apache__ ___ >>> > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >>> > |_| |_\__,_|\_/\___|_||_| v. 1.0-rc2-SNAPSHOT >>> >>> > ... >>> > Our processing order: >>> > MDB Utils >>> > +---------------------------------------- >>> > | Executing multiproject:install-callback MDB Utils >>> > | Memory: 2M/3M >>> > +---------------------------------------- >>> >>> > BUILD FAILED >>> > File...... >>> > >>> file:/home/jeff/.maven/plugins/maven-> multiproject-plugin-1.2-SNAPSHOT/ >>> > Element... maven:reactor >>> > Line...... 184 >>> > Column.... 9 >>> > Unknown goal "multiproject:install-callback" >>> > com.werken.werkz.UnattainableGoalException: Unable to >>> obtain goal [multiproject:insta >>> > ll] -- >>> file:/home/jeff/.maven/plugins/maven-multiproject-plugin-1.2-S >> NAPSHOT/:184:9: >>> <maven:reactor> Unknown goal "multiproject:install-callback" >>> 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:448) >>> at >> org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) >>> at org.apache.maven.cli.App.doMain(App.java:546) >>> at org.apache.maven.cli.App.main(App.java:1113) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: >>> 39) >>> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm >>> pl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:324) >>> at com.werken.forehead.Forehead.run(Forehead.java:551) >>> at com.werken.forehead.Forehead.main(Forehead.java:581) >>> ... >>> Jeff -- mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
