Hi Davide,
First off, which version of Maven are you using ? If 3.x, your pom looks fine,
but if you want to use the enterprise edition, then you need to import the
enterprise edition dependencyManagement (you're currently importing CE in your
pom):
[code]
<dependency>
<groupId>info.magnolia.eebundle</groupId>
<artifactId>magnolia-enterprise-bundle-parent</artifactId>
<version>${magnoliaVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
[/code]
If you're using 2.x, there's a bug with how scope:import works, which means
you'll need to import the following, in the order below. You'll notice I've
used 4 different properties for the version number in this example. While
they're currently all the same, just note there is no guarantee that will
always be the case (e.g ee-webapp 5.3.5 might use core 5.3.3, for example). To
avoid having to know about this, upgrade to Maven 3.2.3 ;)
[code]
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-project</artifactId>
<version>${magnoliaVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>info.magnolia.ui</groupId>
<artifactId>magnolia-ui-project</artifactId>
<version>${magnoliaUiVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>info.magnolia.bundle</groupId>
<artifactId>magnolia-bundle-parent</artifactId>
<version>${magnoliaCEBundleVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>info.magnolia.eebundle</groupId>
<artifactId>magnolia-enterprise-bundle-parent</artifactId>
<version>${magnoliaEEBundleVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
[/code]
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=5eb37b58-ede8-4c8e-9fc3-b71f9fb0fab8
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------