Questions tagged [maven-ear-plugin]

Maven plugin intended to configure and produce ear files.

Documentation

Official site : http://maven.apache.org/plugins/maven-ear-plugin/

Introduction

This plugin generates J2EE Enterprise Archive (EAR) file. It can also generate the >deployment descriptor file (e.g. application.xml).

The EAR plugin supports the following artifacts:

  • ejb
  • war
  • jar
  • ejb-client
  • rar
  • ejb3
  • par
  • sar
  • wsr
  • har
  • app-client
103 questions
0
votes
1 answer

How te rename EAR artifact with Maven

I have a project Maven ear modules, and i like to rename the ear from ProjectIt-4.1.0.ear to ProjectIt-4_1_0.ear in fact to have a version like that : x_y_z to resolve a deployement contraints
Inforedaster
  • 1,260
  • 1
  • 23
  • 39
0
votes
2 answers

Add additional dependencies to an exisiting EAR

I have 2 separate maven projects. The first builds a lot of artifacts, and packages them up into an EAR. This is the standard product. The second project is bespoke for a customer, and builds some additional JAR files. I need a mechanism to insert…
Marcus MacWilliam
  • 602
  • 1
  • 6
  • 24
0
votes
1 answer

Maven EAR Plugin - export 3 files at time

First of all - sorry for my poor english :P I'm decided to write because I searched all google and stackoverflow and I didn't find answer... So, I have a maven project in eclipse (Windows) and I have to export three packages (each time with another…
0
votes
1 answer

maven - need to create ear bundle

I have a maven project which currently creates a war package on build. Now I need to bundle it as an ear project. Any pointers on how to do this. I added the m2e plugin and modified the pom.xml file, but, i am not able to get the directory structure…
User
  • 135
  • 2
  • 4
  • 13
0
votes
1 answer

Prevent maven building EAR twice

When building our EAR with maven I can see that during the build process the final EAR file is created, deleted and created from scratch again. Since it is quite a huge EAR (with lots of files) I would like to prevent that because: it speeds up…
Lonzak
  • 9,334
  • 5
  • 57
  • 88
0
votes
1 answer

Maven - error while deploying ear to jboss 6.x - ClassFormatError

I have a maven project where i am package to EAR file and including all dependencies in /lib folder. But while deploying EAR file i am getting below 2 errors in jboss. 1)java.lang.ClassFormatError: Absent Code attribute in method that is not…
Madhu CM
  • 2,296
  • 6
  • 29
  • 38
0
votes
1 answer

Possible to Combine Multiple Ears for deployment?

We have 12 ear files in our SOA layer, we deploy these EARs individually to JBoss. Increasingly we are having trouble managing the dependencies, and the deployment of all these EAR files. Each EAR is: built using Maven, and the…
javatestcase
  • 682
  • 1
  • 10
  • 25
0
votes
1 answer

maven-ear-plugin unpack, filter and repack jarModule

a jarModule that is packaged in my ear file contains a persistence.xml file that I need to remove as part of the package phase. The best I can do is with: groupId artifactId
user2641043
  • 405
  • 3
  • 12
0
votes
1 answer

Websphere and ibm-application-bnd.xmi file issue

My web application (enabled with basic authentication for security) builded through maven and deployed in websphere. When I am mapping security user roles to respective group websphere server internally creating ibm-application-bnd.xmi with my role…
Mohan
  • 3,893
  • 9
  • 33
  • 42
0
votes
2 answers

Make maven build fail created artifact contains certain classes

I have complex multi-pom setup that in the end will create an EAR package. Sometimes the dependencies are messed up and some unwanted dependencies like JUnit end up in the final EAR package. Is there a way to make maven build fail if final artifact…
Juha Syrjälä
  • 33,425
  • 31
  • 131
  • 183
0
votes
1 answer

Maven multi-module project duplicates ear output, one without resource filtering

Suppose I have a Maven multi-module Java EE 6 app: foobar/ foobar-ear/ src/ main/ application/ META-INF/ MANIFEST.MF …
Steve
  • 8,066
  • 11
  • 70
  • 112
0
votes
1 answer

Want to build multimodule pom which builds 2 ear from same project in maven

I have one main PTC Project inside which I have different modules(sub projects) PTC | +-- pom.xml | +-- PrismaTestClientConfig | +-- PrismaTestEarM | | | \-- pom.xml | +-- PrismaTestClientHTMLGeneration | | | \-- pom.xml | +--…
-1
votes
1 answer

Create EAR with Maven and Eclipse

I have a web-application(TestWeb) and multiple java dependency projects(TestCommon,TestModule). I was able to build all 3 projects using maven.It has created war file and jar file out of it. I need to create .ear file using maven. How can I create…
Pradeep
  • 33
  • 1
  • 2
  • 8
1 2 3 4 5 6
7