Question

I would like to find/create a pom.xml containing all libraries included in tomEE, using "provided" scope. Goal of this is to make it as "pom parent" of a webproject, and have no risk to use other library version, or other implementation.

Does a such pom.xml exist? or is there a simple way to create it?

thanks in advance

Clément

Was it helpful?

Solution 2

Thanks to exabrial, the maven dependency i was looking for is this one :

<dependency>
    <groupId>org.apache.openejb</groupId>
    <artifactId>tomee-webapp</artifactId>
    <version>1.6.0</version>
</dependency>

OTHER TIPS

Because JavaEE is a specification, there are several available.

I use this one for several reasons. This is in my organization's parent pom so all the projects automatically pull it in:

<dependencies>
    <dependency>
        <groupId>org.apache.openejb</groupId>
        <artifactId>javaee-api</artifactId>
        <version>6.0-2</version>
        <scope>provided</scope>
    </dependency>
</dependencies>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top