Hmm, I reckon you should read a little about the basics of Maven:
http://maven.apache.org/what-is-maven.html
http://maven.apache.org/guides/index.html
-g
On Nov 4, 2008, at 1:25 PM, Matteo Pelucco wrote:
Hi all..
I've a doubt about maven configuration.
I've a module, called "common".
Its pom.xml is defined as following:
-------------[ pom.xml ]-------------
...
<properties>
<magnoliaVersion>3.6.3</magnoliaVersion>
</properties>
<dependencies>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-core</artifactId>
<version>${magnoliaVersion}</version>
<scope>provided</scope>
</dependency>
</dependencies>
...
-------------------------------------
This means, correct me if I am wrong, that when I want to build my
module, I need to add to classpath / build path the magnolia-
core-3.6.3.jar (and its dependancies).
If my code require also magnolia-gui-3.6.3.jar, I would simply add a
new dependancy declaration like this:
<dependencies>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-gui</artifactId>
<version>${magnoliaVersion}</version>
<scope>provided</scope>
</dependency>
</dependencies>
???
Thanks for answering, I'm a little bit confused about maven..
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
----------------------------------------------------------------