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 <[email protected]> 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: [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