Good day,

The <modules/> tag actually refers to directories from the ${basedir}. Thus
if you have  

<project>
  ...
  <modules>
    ...
    <module>modules/parent</module>
    <module>modules/java2wsdl</module>
  </modules
</project>

Maven will try to find ${basedir}/modules/parent/pom.xml and
${basedir}/modules/java2wsdl/pom.xml.

As for the difference between pom.xml and axis2-1.1.pom, ...the former is
the one maven uses for its build and can be found in your source, while the
latter is generated by maven when you're installing or deploying a maven
project to a repository ( which would also be used by maven in some of its
processes ).

As for the packages, try looking at the modules/xxx/target/ for the
generated binaries. If you don't see it there, try looking at the output
log.

If a module is a jar, then you'd probably see something like

[INFO] Building <some-module>
...
[INFO] jar:jar
...
[INFO] Building jar: <path to the generated jar>

Then from there, you can take a look at the <path to the generated jar> to
see whether it really was created.

The same goes for non-jar modules...you would have something like

[INFO] Building <some-module>
...
[INFO] <goal to build the binary>
...
[INFO] Building <binary type>: <path to the generated binary>

Cheers,
Franz


lightbulb432 wrote:
> 
> I want to build a multi-module project from the following pom, but I'm not
> sure if I'm doing it correctly. The POM of the containing project is
> below:
> 
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/axis2/axis2/1.1/axis2-1.1.pom
> 
> When I do a "mvn package" in that directly after downloading it, it only
> packages itself but not the specified modules. I'm not sure why the
> modules start with "modules/" and don't contain a prefix of "axis2-",
> which I'd guess it should be based on the naming of what the other modules
> are listed as (if you go up a couple of levels from the POM link above)
> 
> Also, what's the difference between a pom.xml and a axis2-1.1.pom?
> 
> Your help would be really appreciated.
> 

-- 
View this message in context: 
http://www.nabble.com/Multi-module-not-picking-up-modules-tf3566005s177.html#a9963232
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to