Maven multi module project

View: New views
1 Messages — Rating Filter:   Alert me  

Maven multi module project

by Jonas Trollvik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I recently converted our projects to a maven multi-module project. I
have a webapp project which is the entrypoint for the whole
application which is one of the modules.

It works fine to deploy the application to the tomcat container when I
select the Webapp project, however what I want to do is to do the same
for the Multi-module project so all dependencies will be compiled if
changed aswell. However I cannot find any information on how to do
this in netbeans / maven.

I first tried to solve the problem by adding this to the multi-module
project pom:
<properties>
   <netbeans.hint.packaging>war</netbeans.hint.packaging>
   <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
</properties>

This made the deploy icon show up at least but it does not deploy the
war itself so I think Im way off here.

Any suggestions/help on how to handle this problem the right way would
be appreciated

Best regards,
Jonas Trollvik

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email