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

eclipse ear project error "the deployment descriptor of the module cannot be loaded or found"

When importing a fully working maven ear project to eclipse I get a validation error for each included module. The messages all say: The deployment descriptor of the module XXX cannot be loaded or found. The project can be built successfully from…
Akro
  • 1,916
  • 14
  • 11
0
votes
3 answers

Custom jboss-app.xml using Maven

I declared a custom jboss-app.xml in my pom.xml, but the plugin is generating an internal and empty jboss-app.xml file into ear/META-INF. I created my pom.xml based on this article with the following definition:
Andre Pastore
  • 2,841
  • 4
  • 33
  • 44
0
votes
1 answer

How do I make the "skinnyWar" option work when building an EAR file using Maven?

I'm using Maven 3.3.9. I'm creating an EAR project and have specified this in my POM ... ear I would like to use the "skinnyWars" option, whereby the WAR files packaged in my EAR reference a set of libraries from within…
Dave
  • 15,639
  • 133
  • 442
  • 830
0
votes
1 answer

SkinnyWars importing conflicting snapshots

I am using the maven-ear-plugin to build an ear file with skinny wars. I am working with another team that provides daily snapshots And what I am getting is the situation if I have not built snapshots locally then The ear file has the daily builds…
BevynQ
  • 8,089
  • 4
  • 25
  • 37
0
votes
0 answers

Maven EAR building in local but not in Jenkins

we are doing a maven conversion for an existing project which is in ant. this project has so many sub modules in it. Parent POM looks like below: ... p1 p2 p3 p4_WAR
0
votes
1 answer

Vue integration with Spring MVC using maven enterprise

What is the recommended way to integrate vue with spring mvc? Should I use webpack or other modularization for vue? If yes, how can I do this effectively? Thanks in advance.
Ken Layug
  • 23
  • 1
  • 4
0
votes
0 answers

My is the maven-ear-plugin not respecting bundleFileName?

I'm trying to build an ear using the maven-ear-plugin from a war (and a few other resources, but forget that for now). Anyway, I'm trying to generate the application.xml file using the ear plugin. My pom looks like this:
Kramer
  • 927
  • 2
  • 13
  • 30
0
votes
1 answer

Maven: Building a sar and adding files

I am building a sar archive filetype. I am using using jboss-packaging-maven-plugin from org.codehaus.mojo. However, I'll be happy to use the regular maven-ear-plugin if it can do what I need. The sar file I'm building is a bit strange. The…
David W.
  • 105,218
  • 39
  • 216
  • 337
0
votes
0 answers

Compile a jar during Maven build then package as ear from single pom.xml?

I have a maven project currently structured that has to build a jar first from some source files, then create an ear file containing that jar along with some other xml resources. The way I do it at the moment is by building the jar seperate in a…
javawocky
  • 899
  • 2
  • 9
  • 31
0
votes
1 answer

Prevent the EAR maven plugin from expanding and rezipping subdeployments during packaging

We have switched the way an old project was built from the Eclipse to Maven and now we are trying to improve the build time (in Eclipse it was <10sec and in Maven it is >1min). I have noticed that the EAR plugin expands and then re-zipps the…
V G
  • 18,822
  • 6
  • 51
  • 89
0
votes
2 answers

How to change URI of WAR file in EAR file in MyEclipse?

We have following projects: office - web application project console - web application project MyEclipse by default deploys these web applications to following locations: C:\tools\jboss-5.1.0.GA\server\web\deploy\office.war …
Volodymyr Bezuglyy
  • 16,295
  • 33
  • 103
  • 133
0
votes
0 answers

Only make specific wars skinny in an EAR using maven-ear-plugin

Is there any combination of configuration options I can use with the maven-ear-plugin to create an EAR with skinny wars, but specifying that I want a specific war not to be modified? I have a requirement in which I would want one WAR to be deployed…
Eric B.
  • 23,425
  • 50
  • 169
  • 316
0
votes
0 answers

Maven ear plugin & ejbModule with classifier

In my maven2 multi-modules project I have 2 modules one with an ejb3 one for the ear The ejb contains dependencies that I want to include into the jar. So for the ejb my pom.xml is
tweetysat
  • 2,187
  • 14
  • 38
  • 75
0
votes
1 answer

ejb-client Maven dependencies in Eclipse

I use a dependency with ejb-client type in a Maven project: mygroup foo ejb-client It works properly when I build the project with Maven: it includes a…
Alex
  • 883
  • 4
  • 11
  • 23
0
votes
0 answers

How to create maven profile based variables for use in web.xml with maven-ear-plugin

I wish to do something similar to this question: How to replace a value in web.xml with a Maven property? and similar to this web article I want to add the JSFProjectStage to the web.xml of my 3 (war) subprojects using a variable based on the maven…
Mark W
  • 5,824
  • 15
  • 59
  • 97