Questions tagged [skinny-war]

A skinny WAR is a WAR that does not have all of its dependencies in WEB-INF/lib. Instead those dependencies are shared between the WARs through the EAR.

Definition:

A skinny WAR is a WAR that does not have all of its dependencies in WEB-INF/lib. Instead those dependencies are shared between the WARs through the EAR.

Important Links:

14 questions
8
votes
2 answers

maven skinnyWars does not remove ejb jars from WEB-INF\lib\

I've stumbled across maven topic skinnyWars at http://maven.apache.org/plugins/maven-ear-plugin/examples/skinny-wars.html. As described, I can use this method to move selected dependencies from WAR module to EAR module. They will be available for…
TrueCurry
  • 205
  • 3
  • 12
3
votes
1 answer

How to correctly use OmniFaces in an EAR

I want to use OmniFaces 1.7 in my Jave EE 7 application. My application is an EAR that contains JARs and a skinny WAR. Some of my JARs have a dependency to OmniFaces, so the OmniFaces artifact must be in the EAR but not in WEB-INF/lib in the…
Martin Höller
  • 2,714
  • 26
  • 44
3
votes
1 answer

Maven skinny war with warpath

I have a project where 3 war-modules are packaged in an ear-module. My problem is that each of the library jars are included in each of the war-modules, as well as in the ear-module, which makes the resulting ear-file really large (at the moment…
Tobb
  • 11,850
  • 6
  • 52
  • 77
2
votes
1 answer

Maven: Let SkinnyWars preserve some libraries

I am using maven to build an ear file with two EJBs and a few web applications. I'd like to use skinny wars, because more wars are likely to follow. As I understood, the following will remove all *.jar files (except ejb jars) from the WEB-INF/lib…
Benjamin Marwell
  • 1,173
  • 1
  • 13
  • 36
2
votes
0 answers

multiple spring-boot war into ear with skinny wars

Can someone please point me to an step by step guide on how to package 2 spring-boot war applications into an ear with skinny wars? I have both spring-boot applications deployed and working separately on a jboss-eap-6.2 server, but when I try to…
2
votes
0 answers

Skinny wars with multiple spring boot wars into an ear package and deploy to jboss 7.3 (jboss-eap-6.2)

I'm trying to deploy an ear package into a jboss 7.3 (jboss-eap-6.2) with skinnywars, with no luck so far. The ear conatins multiple spring-boot wars and jars. For the sake of clarity, i've created one simple ear project with 2 little spring-boot…
1
vote
1 answer

maven-war-plugin how to exclude provided jar from lib directory but include in manifest with prefix folder

I am trying to build a skinny war for later inclusion in a large ear file. The ear build is entirely separate to my war's project and expects me to provide a skinny war, with the correct manifest file, the ear promises to supply provided jars in its…
alfan
  • 81
  • 1
  • 6
0
votes
0 answers

Autowiring fails, when jars are loaded as per skinny war concept where classes involved have default accessors

Our application is based on skinny war concept( http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html ). . |-- META-INF | `-- application.xml |-- lib | -- core application jars | -- spring jars | -- common…
0
votes
1 answer

Skinny war creation for springboot2 REST application

I have create skinny war for Springboot2 application. When we are deploying to other environments Is there any other better way to move those runtime jars rather than copying jars to server lib folder
0
votes
1 answer

Skinny War file with Maven in Eclipse

I have a Maven project 'Project A' which contains dependencies. I have a requirement to abstract the dependencies from this project into another project called 'Shared Lib' so that I can make what is called a "Skinny War" file from Project A. Both…
semiColon
  • 205
  • 6
  • 24
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
0 answers

OmniFaces ExtensionlessURL feature not working with skinny WAR files

I'm using the OmniFaces ExtensionlessURL FacesViews feature in one of my projects and have found that this feature does not appear to work when the web application is packaged as skinny WAR archive inside an EAR archive and deployed to either a…
Paul H
  • 2,104
  • 7
  • 39
  • 53
0
votes
1 answer

Spring RestTemplate dependency issue in Ear

The organisation I work for has a few standalone services using Spring Boot and RestTemplate to communicate with each other and the main monolith (classical skinny War in Ear). However, we are running into problems with the classpath when we try to…
0
votes
2 answers

Skinny war and log4j

We are using log4j for application logging and maven for application packaging. As we have 3-4 application being deployed as a part of an EAR the size of the EAR is large. We were trying to go with the 'Skinny War's' approach but faced a problem…
user765635
  • 568
  • 4
  • 11