Hi, I'm new to maven and have some problems, I hope you can help me.
I have migrated my J2EE 1.4 application to JEE 5.
Now I need to migrate my mvn2 pom.xml file.
So I changed the following:
1) Switched compiler from default Java 1.3 to Java 5
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
This seems to work well.
2) Switched ejb packaging
According to "BetterBuildsWithMaven.pdf" I switched from
<packaging>ejb</packaging> to <packaging>ejb3</packaging>. Unfortunately
this didn't work, since it didn't find any ejb3. So I switched back to
<packaging>ejb</packaging> in the hope that EJB3 support is already
included. Is it? Or what to do to get EJB 3 packaging?
3) Switched JEE JARs
According to "BetterBuildsWithMaven.pdf" I formerly used
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee_1.4_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
But now I need JEE 5. It seems there is no Geronimo 1.5 spec, so what to
do now?
Would be great if you could help me!
Thanks a lot!
Markus
smime.p7s
Description: S/MIME Cryptographic Signature
