The instructions should say run "mvn install" from the top level
before running "mvn idea:idea". This will solve your problem w/o the
need to run "mvn install:install-file".

Matt

On 6/10/07, jmowla <[EMAIL PROTECTED]> wrote:

i just simply run the following command to register courier-core.jar into the
maven repository
mvn install:install-file -DgroupId=com.citd.courier
-DartifactId=courier-core -Dversion=1.0-SNAPSHOT -Dpackaging=jar
-Dfile=core\target\courier-core-1.0-SNAPSHOT.jar

after that by running the command 'mvn idea:idea' the idea project file
created successfully!
am i right? i think the last step is not nessessary because courier-core is
the module of the project and may change during development then no need to
register it in maven repository!



jmowla wrote:
>
> by using AppFuse 2.0M5 i just tried to create a new modular spring project
> by the command:
>
> mvn archetype:create -DarchetypeGroupId=org.appfuse
> -DarchetypeArtifactId=appfuse-modular-spring
> -DremoteRepositories=http://static.appfuse.org/repository
> -DarchetypeVersion=2.0-m5 -DgroupId=com.citd.courier -DartifactId=courier
>
> allthings going ok, but could not create idea project file.
> when i'm trying to build idea project file by the command 'mvn idea:idea'
> the following shows on the console and buld fails :(
>
> Missing:
> ----------
> 1) com.citd.courier:courier-core:jar:1.0-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=com.citd.courier
> -DartifactId=courier-core \
>           -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1) com.citd.courier:courier-webapp:war:1.0-SNAPSHOT
>         2) com.citd.courier:courier-core:jar:1.0-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   com.citd.courier:courier-webapp:war:1.0-SNAPSHOT
>
> what's the problem? artifacts courier-core and courier-webapp are the
> modules of the project!!
> can anyone help to solve this problem?
>

--
View this message in context: 
http://www.nabble.com/appfuse-modular-spring-tf3897088s2369.html#a11047777
Sent from the AppFuse - User mailing list archive at Nabble.com.

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




--
http://raibledesigns.com

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

Reply via email to