Grégory Joseph ha scritto:
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
Thanks, already read.
But reading sometimes is not enough to be strong on a subject.
Therefore, I need help from this list :-)
I reformulate my question: because I need that JAR, i need to add a
dependency from gui module.
First: I really need to declare that dependancy? Or it is propagated by
core one?
Second: How can I discover what is artifactId and groupId of magnolia's pom?
Hope to have been more clear.
Matteo
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
----------------------------------------------------------------