Matteo,

To "deploy", in terms of Maven, means publishing the generated artifacts (.war, .jar, javadoc, ...) to a remote location (typically through ssh, ftp, ...), not deploying an application to an application server.

You might want to check the jetty plugin (try mvn jetty:run from the magnolia-empty-webapp folder); I believe there are other plugins specialized to (hot)deploy applications to application servers. Typically, that sort of exotic plugins reside at the Mojo project:
http://mojo.codehaus.org/plugins.html

More standard plugins and their docs can be found at:
http://maven.apache.org/plugins/

hth,

-g

On Nov 4, 2008, at 5:30 PM, Matteo Pelucco wrote:

Hi All.

Can anybody point me on the right way on building a magnolia war + my custom modules in order to deploy on a running app. server?

I'm using eclipse with svn + maven.

For now, I'm going well with local environment: a dynamic web project referencing maven java projects (magnolia modules).

But I need a full war file.

I saw also in maven the possibility to publish a package (in this case, the war file) on a repository using

<distributionManagement>...</distributionManagement>

there is also the possibility to link, e.g., a tomcat webapps folder?

Sorry for those question, but it is a hard life...


Matteo


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------

Reply via email to