Re: Maven 2 EAR, WAR, EJB Common Dependencies

2006-01-31 Thread Piotr Bzdyl
Hi, WAR POM plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration warSourceDirectorywebApplication/warSourceDirectory warSourceExcludes

Maven 2 EAR, WAR, EJB Common Dependencies

2006-01-27 Thread Rudolph, Gary
Any recommendations in Maven 2 on how to handle dependencies that are common across WAR's and EJB JAR's in an EAR? I'm used to including common dependencies in the EAR and then using manifest.mf a classpath to include these JAR's into each of the WAR or EJB JAR's. An example is when I have a

Re: Maven 2 EAR, WAR, EJB Common Dependencies

2006-01-27 Thread Sanjay Choudhary
Try this in your ejb pom plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration archive indextrue/index manifest addClasspathtrue/addClasspath /manifest