Matteo,
One thing to keep in mind is that Subversion is a source code management
tool, and Maven is a build tool. However, Maven does do some management of the
resulting artifacts - which causes a little confusion.
For example, Subversion would keep individual versions of your web.xml,
mytags.tld, MyTag.java, and so forth. Maven would compile, copy, and otherwise
manipulate those files and create the end result - mywebapp.war. The result of
a build is referred to as the "artifact" in Maven-speak.
In order to differentiate between different builds of the web app, Maven also
assigns a version to it (i.e. 1.0-SNAPSHOT). It's best to interpret "snapshot"
to mean "the thing that is going to be released as". So,
mywebapp-1.0-SNAPSHOT.war is the artifact that eventually will be released as
version 1.0 of mywebapp.war.
This probably won't help you build your custom webapp using Magnolia, but it
will hopefully clear some things up about Maven and Subversion.
aBp_
--
Andy Pippin
E: [EMAIL PROTECTED]
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 9:22 AM
To: [email protected]
Subject: Re: [magnolia-user] deploy magnolia with maven
Grégory Joseph ha scritto:
> 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.
Yes, it can be my case..
I've tried to svn-checkout a magnolia 3.6.3 but then I've been lost in
poms.. too many things to take care!No war obtained (only peace!).
Anyway, to obtain a magnolia 3.6.3 war with my modules inside, a simple
Eclipse "Export as WAR file" works well.. but I'm anyway curious on how
can I produce a war file directly from svn using Maven and Eclipse.
I've tried to follow this:
<--->
http://webmail.magnolia.info/Lists/dev-list/Message/4469.html
<--->
(obviously updating svn sources and versions and ...)
but without success :-(
Thanks for your hint!
Matteo
----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
This email, its contents and attachments contain information from j2 Global
Communications, Inc. and/or its affiliates which may be privileged,
confidential or otherwise protected from disclosure. The information is
intended to be for the addressee(s) only. If you are not an addressee, any
disclosure, copy, distribution, or use of the contents of this message is
prohibited. If you have received this email in error please notify the sender
by reply e-mail and delete the original message and any copies. j2 Global
Communications. 6922 Hollywood Blvd., Hollywood, CA 90028.
----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------