maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: maven jar
Date Mon, 07 May 2012 13:35:16 GMT
How are you compiling M1? Please specify the exact command!
If you are doing this in two separate steps, you need to execute "mvn
install" (or "mvn deploy"). If you were to use a multi-module build
this doesn't matter.

/Anders

On Mon, May 7, 2012 at 2:52 PM, nsrajan1982 <nsrajan1982@gmail.com> wrote:
> Hi
>
> I have a maven module M1 and M2. In M2 we are generating a jar from xsd
> using maven xmlbean plugin.
>
> Dependency : M1 depends on M2.
>
> In M1, we have java sources that refers the jar created by M2 for
> compilation. But we still find compilation uses in M1 sources.
>
> Procedure:
> 1. Compile the M2 module and it generates the Jar.
> 2. Compilation of M1 fails.
>
> Any help will be appreciated.
>
>
>
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/maven-jar-tp5690974.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message