Re: war plugin incompatibility

2023-11-13 Thread Karl Heinz Marbaise
r and a half ago: 3.8.6. One of the Derby artifacts is a war file and its associated publication pom contained this plugin stanza:        org.apache.maven.plugins    maven-war-plugin    2.1.1     Why using such ancient version? https://maven.apache.org/pl

Re: war plugin incompatibility

2023-11-09 Thread Rick Hillegas
I think that I have fixed this problem by adding the following stanza to the maven war plugin descriptor:    false     On 11/9/23 2:46 PM, Rick Hillegas wrote: I am trying to install a Derby release into my local maven repository. The world has changed underneath me in the last

war plugin incompatibility

2023-11-09 Thread Rick Hillegas
f the Derby artifacts is a war file and its associated publication pom contained this plugin stanza:        org.apache.maven.plugins    maven-war-plugin    2.1.1     When I executed a top level    mvn clean install the command failed with the following

[ANN] Maven WAR Plugin 3.4.0 released

2023-06-15 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven WAR Plugin version 3.4.0. https://maven.apache.org/plugins/maven-war-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-war-plugin 3.4.0 Release

RE: maven-war-plugin packagingExcludes not working

2022-07-12 Thread Jean Pierre URKENS
Yes, this worked! Thanks. -Original Message- From: Scott Kurz Sent: maandag 11 juli 2022 19:10 To: Maven Users List Subject: Re: maven-war-plugin packagingExcludes not working I tried this which seems to work: WEB-INF/classes/db/** though without tracking down the source

Re: maven-war-plugin packagingExcludes not working

2022-07-11 Thread Scott Kurz
under ‘src/main/resource/db/*’ from > being included in my war file any possible configuration of the > ‘packagingExcludes ‘ config parameter seems to be ignored: > > > > My plugin-configuration as reported during the run

maven-war-plugin packagingExcludes not working

2022-07-11 Thread Jean Pierre URKENS
Dear all, I am trying to exclude the resources under ‘src/main/resource/db/*’ from being included in my war file any possible configuration of the ‘packagingExcludes ‘ config parameter seems to be ignored: My plugin-configuration as reported during the run with debug option is: [DEBUG

Maven WAR Plugin, version 3.3.2

2021-09-11 Thread Hervé Boutemy
The Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.3.2 This plugin builds a Web Application Archive (WAR) file from the project output and its dependencies. https://maven.apache.org/plugins/maven-war-plugin/ You should specify the version in your

AW: AW: Creating JAR file in WAR module leads to error in EAR creation

2020-11-13 Thread Hohl, Gerrit
nge anything in aspect of the EJB. Maybe you can elaborate on that a little bit? In meantime I solved it with the maven-war-plugin's options: XXX XXX-pom 1.0.18

Re: AW: Creating JAR file in WAR module leads to error in EAR creation

2020-11-12 Thread Karl Heinz Marbaise
war org.apache.maven.plugins maven-war-plugin

Re: AW: Creating JAR file in WAR module leads to error in EAR creation

2020-11-12 Thread Jörg Schaible
; - XXX-ejb > - XXX-web > - XXX-ear [snip] You should not mix-up both artifacts for Maven. From Mavens PoV they are the same (because they have the same G:A:V). Look at the configuration options for the WAR plugin. You can generate automatically a jar file for the classes with an own

AW: Creating JAR file in WAR module leads to error in EAR creation

2020-11-12 Thread Hohl, Gerrit
: XXX XXX-pom 1.0.18 XXX-web war org.apache.maven.plugins maven-war-plugin

Creating JAR file in WAR module leads to error in EAR creation

2020-11-12 Thread Hohl, Gerrit
Hello everyone, I have a project consisting of several modules, one being a WAR module and one being an EAR module. The EAR module has a dependency on the WAR module. It turned out that I need the classes of that WAR module also as a JAR file for our UI project. So I added a install-file goal

[ANN] Apache Maven WAR Plugin 3.3.1 Released

2020-07-13 Thread Hervé Boutemy
The Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.3.1 This plugin builds a Web Application Archive (WAR) file from the project output and its dependencies. https://maven.apache.org/plugins/maven-war-plugin/ You should specify the version in your

Re: [ANN] Apache Maven WAR Plugin 3.3.0 Released

2020-06-11 Thread Maxim Solodovnik
rds, > > Hervé > > Le mercredi 10 juin 2020, 10:15:07 CEST Maxim Solodovnik a écrit : > > Hello, > > > > I just have switched from 3.2.3 to this new version and it seems > > > https://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html#archive

Re: [ANN] Apache Maven WAR Plugin 3.3.0 Released

2020-06-10 Thread Hervé BOUTEMY
rsion and it seems > https://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html#archive > Classes Is not working anymore :( > > Is it intended? > > On Tue, 9 Jun 2020 at 18:43, Hervé Boutemy wrote: > > The Maven team is pleased to announce the release of the Apa

Re: [ANN] Apache Maven WAR Plugin 3.3.0 Released

2020-06-10 Thread Maxim Solodovnik
Hello, I just have switched from 3.2.3 to this new version and it seems https://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html#archiveClasses Is not working anymore :( Is it intended? On Tue, 9 Jun 2020 at 18:43, Hervé Boutemy wrote: > The Maven team is pleased to announce

[ANN] Apache Maven WAR Plugin 3.3.0 Released

2020-06-09 Thread Hervé Boutemy
The Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.3.0 This plugin builds a Web Application Archive (WAR) file from the project output and its dependencies. https://maven.apache.org/plugins/maven-war-plugin/ You should specify the version in your

RE: maven-ear-plugin bundleFileName don't change the name of the war i want to bundle with the ear

2020-06-04 Thread Meir Yanovich
2020 17:18 To: Maven Users List ; Bram Patelski Subject: Re: maven-ear-plugin bundleFileName don't change the name of the war i want to bundle with the ear Hi, On 04.06.20 14:17, Bram Patelski wrote: > You can use the finalName property in the build-section of the Maven &g

Re: maven-ear-plugin bundleFileName don't change the name of the war i want to bundle with the ear

2020-06-04 Thread Karl Heinz Marbaise
/questions/14488509/maven-how-to-rename-the-war-file-for-the-project PGP key: https://keys.mailvelope.com/pks/lookup?op=get&search=0xF31094A567CE732E On Wed, Jun 3, 2020 at 9:44 PM Meir Yanovich wrote: im using the latest version of the maven-ear-plugin i like to bundle the test.war into my

Re: maven-ear-plugin bundleFileName don't change the name of the war i want to bundle with the ear

2020-06-04 Thread Bram Patelski
You can use the finalName property in the build-section of the Maven pom-file: test . . . https://stackoverflow.com/questions/14488509/maven-how-to-rename-the-war-file-for-the-project PGP key: https://keys.mailvelope.com/pks/lookup?op=get&search=0xF31094A567CE732E On Wed, Jun 3, 202

maven-ear-plugin bundleFileName don't change the name of the war i want to bundle with the ear

2020-06-03 Thread Meir Yanovich
${project.groupId} test1 war myapp

Re: Would it make sense to publish a WAR to maven central?

2019-06-02 Thread Manfred Moser
Yes.. publishing war files, executable jar files or install/distribution archives of your app and so on is all within the scope of publishing to Central Manfred Matthieu BROUILLARD wrote on 2019-05-30 23:09: > Why couldn't you publish as a war? > AFAIK Central is not restricted

Re: Would it make sense to publish a WAR to maven central?

2019-05-31 Thread Matthieu BROUILLARD
Why couldn't you publish as a war? AFAIK Central is not restricted to be a jar library. You can already find wars in central : https://search.maven.org/search?q=p:war Regards Matthieu On Thu, May 30, 2019 at 2:40 PM Russell Gold wrote: > The open source Weblogic Monitoring Exporter &

Would it make sense to publish a WAR to maven central?

2019-05-30 Thread Russell Gold
The open source Weblogic Monitoring Exporter <https://github.com/oracle/weblogic-monitoring-exporter> is a set of servlets that works as an exporter for Prometheus. Building it involves two steps: one build compiles the servlets and the second assembles them into a WAR, in wh

Re: Generate a WAR that depends on JAR that depends on JAR

2018-07-07 Thread Anders Hammar
those is a self-contained jar that can be run at the command > line. > > > > The apps project is packaged as a WAR file, and it has a dependency on > dedupster-core. When I run mvn install on that project, I get a single WAR > file and a jar-with-depencies: > > > >

Re: Generate a WAR that depends on JAR that depends on JAR

2018-07-05 Thread Désilets , Alain
Update… I extracted the content of the ‘apps’ war file using ‘jar -xvf’, then listed the files in the ‘core’ jar that was extracted under ‘WEB-INF/lib’ directory. And it seems to indeed be the jar with dependancies, since it contains not just the classes from the dedupster-core project, but

Generate a WAR that depends on JAR that depends on JAR

2018-07-05 Thread Désilets , Alain
two JARS: * dedupster-core-0.0.1-SNAPSHOT.jar * dedupster-core-0.0.1-SNAPSHOT-with-dependencies.jar The second of those is a self-contained jar that can be run at the command line. The apps project is packaged as a WAR file, and it has a dependency on dedupster-core. When I run mvn

[ANN] Apache Maven WAR Plugin Version 3.2.2 Released

2018-06-10 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.2.2. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. https

[ANN] Apache Maven WAR Plugin Version 3.2.1 Released

2018-05-13 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.2.1. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

Re: maven-war-plugin addClasspath useless, because it cannot add absolute paths

2018-01-25 Thread Mark Prins
2018-01-25 11:43 GMT+01:00 Basin Ilya : > Hi List. > As far as I know, Class-Path in MANIFEST.MF of a .war file is only useful > when you need to add jars that are not in WEB-INF/lib and not provided by > the container. > this really depends on the classloader of the container

Re: maven-war-plugin addClasspath useless, because it cannot add absolute paths

2018-01-25 Thread Robert Patrick
lass-Path in MANIFEST.MF of a .war file is only useful > when you need to add jars that are not in WEB-INF/lib and not provided by the > container. > But can maven add paths that are absolute or relative? I tried this: > > > nah > nah > 1.0

maven-war-plugin addClasspath useless, because it cannot add absolute paths

2018-01-25 Thread Basin Ilya
Hi List. As far as I know, Class-Path in MANIFEST.MF of a .war file is only useful when you need to add jars that are not in WEB-INF/lib and not provided by the container. But can maven add paths that are absolute or relative? I tried this: nah nah 1.0.0

[ANN] Apache Maven WAR Plugin Version 3.2.0 Released

2017-10-08 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.2.0. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

Re: Issue with maven-war-plugin

2017-05-20 Thread Maxim Solodovnik
this? >> > >> > On Fri, May 19, 2017 at 10:45 AM, Maxim Solodovnik < >> solomax...@gmail.com> >> > wrote: >> > >> > > Hello All, >> > > >> > > Recently I have updated maven-war-plugin version to be 3.1.0 and found >> > &

Re: Issue with maven-war-plugin

2017-05-19 Thread Maxim Solodovnik
this? > > Should I create quick-start application demonstrating this? > > > > On Fri, May 19, 2017 at 10:45 AM, Maxim Solodovnik > > > wrote: > > > > > Hello All, > > > > > > Recently I have updated maven-war-plugin version to be 3.1.0 a

Re: Issue with maven-war-plugin

2017-05-19 Thread Anders Hammar
ote: > > > Hello All, > > > > Recently I have updated maven-war-plugin version to be 3.1.0 and found > > out filteringDeploymentDescriptors behaviour was changed. > > Instead of filtering deployment descriptors only (web.xml) it is not > > filtering ALL files in webapp fo

Re: Issue with maven-war-plugin

2017-05-19 Thread Maxim Solodovnik
Can someone please confirm this? Should I create quick-start application demonstrating this? On Fri, May 19, 2017 at 10:45 AM, Maxim Solodovnik wrote: > Hello All, > > Recently I have updated maven-war-plugin version to be 3.1.0 and found > out filteringDeploymentDescriptors b

Issue with maven-war-plugin

2017-05-18 Thread Maxim Solodovnik
Hello All, Recently I have updated maven-war-plugin version to be 3.1.0 and found out filteringDeploymentDescriptors behaviour was changed. Instead of filtering deployment descriptors only (web.xml) it is not filtering ALL files in webapp folder including binary (*.ico, *.mp3, etc) Since 3.0.0

[ANN] Apache Maven WAR Plugin Version 3.1.0 Released

2017-04-30 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.1.0. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

Re: maven-war-plugin issues report

2017-01-22 Thread Karl Heinz Marbaise
Hi, can you tell why are you using maven-war-plugin 2.4 ? and not the most recent version ? Furthermore can you show the pom files you are using ? May be it is better to create a new issue which links those you've mentioned... Are you using the most recent version of m2e ? Which Ec

maven-war-plugin issues report

2017-01-22 Thread Andy Wu
Hey , I am an user and developer of maven , and also an eclipse plugins developer working in Liferay .and we met a problem in mave-war-plugin: we found the same issue with https://issues.apache.org/jira/browse/MWAR-192 , and this ticket war fixed , but when we tried version 2.4 it still have such

Re: Building WAR files with/without EAR context

2016-11-21 Thread Martin Hoeller
On Fri, 18 Nov 2016 11:17:08 +0100 Stefan Seidel wrote: > you don't usually depend on EJBs in your WARs. That's actually right. You depend on the API (interfaces) of the EJBs. This is usually in separate JAR (but it is not required to be). > You should depend on > ejb- client. IIRC you'll have

Re: Building WAR files with/without EAR context

2016-11-18 Thread Stefan Seidel
Hi, you don't usually depend on EJBs in your WARs. You should depend on ejb- client. IIRC you'll have to explicitely configure your EJB project to create an ejb-client artifact. I just tried that though, and the ejb-client JAR is still kept inside the WAR. Are you planning to deplo

Re: Building WAR files with/without EAR context

2016-11-17 Thread Martin Hoeller
On 17 Nov 2016, Clemens von Musil wrote: > We pushed a very minimal example project to a public github repo located > here: > > https://github.com/kr1schan/mavenToy > > The project consists of an ear, two war modules, one ejb module and one > plain jar artifact. > Both w

Re: Building WAR files with/without EAR context

2016-11-17 Thread Clemens von Musil
We pushed a very minimal example project to a public github repo located here: https://github.com/kr1schan/mavenToy The project consists of an ear, two war modules, one ejb module and one plain jar artifact. Both war modules depend on the ejbmodule as well as on the jar artifact. SkinnyWar is

Re: Building WAR files with/without EAR context

2016-11-16 Thread Martin Hoeller
On 16 Nov 2016, Clemens von Musil wrote: > This is true for jar dependencies. > > But if the war file depends on an artifact with type ejb > (ejb), the skinnywar-option ignores this dependency and let it > remain in war/lib. This is not true in general, it works for me! Did

Re: Building WAR files with/without EAR context

2016-11-16 Thread Clemens von Musil
This is true for jar dependencies. But if the war file depends on an artifact with type ejb (ejb), the skinnywar-option ignores this dependency and let it remain in war/lib. And if there are two war files WAR1 and WAR2 depending on the same artifact with type ejb, the ear isn't deployable a

Re: Building WAR files with/without EAR context

2016-11-16 Thread Martin Hoeller
On 14 Nov 2016, Clemens von Musil wrote: > Hi again, > > thanks a lot for your advice, Martin. > > We spent a lot of time into skinny wars but stuck with ejb dependencies. > > The EAR contains several WAR modules and these WAR modules share several > EJB modules. >

Re: Building WAR files with/without EAR context

2016-11-14 Thread Clemens von Musil
Hi again, thanks a lot for your advice, Martin. We spent a lot of time into skinny wars but stuck with ejb dependencies. The EAR contains several WAR modules and these WAR modules share several EJB modules. Unfortunately, the skinny war option seems to ignore transitive EJB dependencies so that

Re: Building WAR files with/without EAR context

2016-11-09 Thread Martin Hoeller
Hi! On 08 Nov 2016, Clemens von Musil wrote: > I am working on a multimodule maven project consisting of several EJB, WAR > and an EAR module. The EJB modules contain shared functionality. > > To increase development speed, I want the WAR modules build in a way that > allows me

Building WAR files with/without EAR context

2016-11-08 Thread Clemens von Musil
Hi all, I am working on a multimodule maven project consisting of several EJB, WAR and an EAR module. The EJB modules contain shared functionality. To increase development speed, I want the WAR modules build in a way that allows me to bundle them into the EAR as well as deploy them standalone in

Re: package a war which depends on a shaded jar or at jar

2016-11-06 Thread Stephen Connolly
nia Scarlet wrote: > Hi all: > > I have a project with two modules as below: > > project > -- module1 (shaded jar) > -- module2 (war) > > Module2 depends on module1. And module1 packages to a shaded jar with maven > shade plugin. Module2 packages to a war which depe

package a war which depends on a shaded jar or at jar

2016-11-06 Thread Reminia Scarlet
Hi all: I have a project with two modules as below: project -- module1 (shaded jar) -- module2 (war) Module2 depends on module1. And module1 packages to a shaded jar with maven shade plugin. Module2 packages to a war which depends on module1. When I try to execute mvn package, it produces a

Re: [ANN] Apache Maven WAR Plugin Version 3.0.0 Released

2016-10-07 Thread Maxim Solodovnik
Hello Karl, sorry for the late response I finally was able to find time and create quick-start for this issue: https://github.com/solomax/multimodule-with-war the following command mvn -Dom.quick.build=true install -pl multimodule-with-war-web -pl multimodule-with-war-server works as expected

Re: [ANN] Apache Maven WAR Plugin Version 3.0.0 Released

2016-08-29 Thread Karl Heinz Marbaise
g 28, 2016 at 5:54 PM, Karl Heinz Marbaise wrote: The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.0.0. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into

Re: [ANN] Apache Maven WAR Plugin Version 3.0.0 Released

2016-08-29 Thread Maxim Solodovnik
ed to be changed to fix the issue? Thanks in advance On Sun, Aug 28, 2016 at 5:54 PM, Karl Heinz Marbaise wrote: > The Apache Maven team is pleased to announce the release of the > Apache Maven WAR Plugin, version 3.0.0. > > The WAR Plugin is responsible for collecting all artifact depen

[ANN] Apache Maven WAR Plugin Version 3.0.0 Released

2016-08-28 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.0.0. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

Accessing resources located within WEB-INF folder of a web application generated by Maven WAR plugin

2016-06-12 Thread Chiranga Alwis
Hi all, I have posted the following question in stackoverflow forum with regards to Maven War Plugin usages. Any help will be highly appreciated. http://stackoverflow.com/questions/37768891/accessing-resources-located-within-web-inf-folder

Re: Transitive dependencies starting from WAR files

2016-05-25 Thread Jeremy Long
report <http://jeremylong.github.io/DependencyCheck/general/SampleReport.html>). --Jeremy On Tue, May 24, 2016 at 8:07 AM, Hostettler, Steve < steve.hostett...@wolterskluwer.com> wrote: > Hi, > > Our solutions is composed of different war files. I would like, starting > from the relea

Re: Transitive dependencies starting from WAR files

2016-05-25 Thread Adrien Rivard
Hi, Maven-license-plugin would be a good candidate. I did'nt really understand what do you mean by "maven-dependency-plugin does not display War dependencies". How exacly are you using maven-dependency-plugin? On Tue, May 24, 2016 at 9:12 PM, Karl Heinz Marbaise wro

Re: Transitive dependencies starting from WAR files

2016-05-24 Thread Karl Heinz Marbaise
Hi Steve, Why not running maven-dependency-plugin it within the war package module than you get all dependencies which have been packaged into the war file ? Kind regards Karl Heinz Marbaise On 5/24/16 2:07 PM, Hostettler, Steve wrote: Hi, Our solutions is composed of different war files. I

Transitive dependencies starting from WAR files

2016-05-24 Thread Hostettler, Steve
Hi, Our solutions is composed of different war files. I would like, starting from the released artifacts that we deliver to our customer, to generate a dependency list. The goal is to be able to present an exhaustive list of dependencies we are relying on along with their licenses. The

war web-inf/lib dependencies without declaration

2016-04-14 Thread paulkc
Can maven build a legacy war project where all the dependencies are in WEB-INF/lib? I'm aware you can declare each jar in the pom as a dependency but this is not a realistic (or practical) approach. It needs to be dynamic... grab misc legacy war project and build it based on dependencies i

I want to separate the 3rd party jar in war file.

2016-03-19 Thread pradeepkumar
I want to separate the 3rd party jar in war file. Currently we have 165 jars are using in our project. Out of this only 27 jars are belongs to Application jars then rest of jars are 3rd party jars. In our projects our dev team is maintaining the jars in a separate folder in one drive as shown

Re: I want to separate the 3rd party jar in war file.

2016-03-19 Thread Mark Eggers
As Anders has said, you can use provided for those third party JARs that you wish to exclude from the WAR file, but still need when the application runs on your server. There are few advantages to this and several disadvantages. The advantages include a smaller WAR file, which means faster

Re: I want to separate the 3rd party jar in war file.

2016-03-19 Thread Robert Patrick
6, at 2:52 PM, Mark Eggers > wrote: > > Ron, > > That is certainly another (and potentially excellent way) of looking at > this problem. > > 1. Use provided > 2. Create a deploy job in something like Jenkins > a. Add a dependency to your product WAR > b. Add

Re: I want to separate the 3rd party jar in war file.

2016-03-19 Thread Ron Wheeler
ke Jenkins a. Add a dependency to your product WAR b. Add dependencies to the JARs marked as provided in step 1 c. Deploy the resulting WAR An installer like IzPack will do this This has several advantages. 1. Keeps your server generic - easier upgrades 2. Keeps the JARs associate

I want to separate the 3rd party jar in war file.

2016-03-19 Thread pradeepkumar
I want to separate the 3rd party jar in war file. Currently we have 165 jars are using in our project. Out of this only 27 jars are belongs to Application jars then rest of jars are 3rd party jars. In our projects our dev team is maintaining the jars in a separate folder in one drive as shown

Re: I want to separate the 3rd party jar in war file.

2016-03-19 Thread Anders Hammar
As stated earlier, you need to setup your production environment similar to your dev environment. So if those 3rd party libs are part of Tomcat in your dev environment they should be so in prod as well. Or keep them in your war for dev and prod. /Anders On Fri, Mar 18, 2016 at 11:48 AM

Re: I want to separate the 3rd party jar in war file.

2016-03-19 Thread Ron Wheeler
Anders Hammar wrote: As stated earlier, you need to setup your production environment similar to your dev environment. So if those 3rd party libs are part of Tomcat in your dev environment they should be so in prod as well. Or keep them in your war for dev and prod. /Anders On Fri, Mar

Re: I want to separate the 3rd party jar in war file.

2016-03-19 Thread Anders Hammar
If some dependencies are already provided by the runtime (e.g. the app server) you use scope 'provided'. That will make those dependencies used during compilation but htey are not included in the war. More details on the different dependency scopes can be find by googling. Howeve

Re: I want to separate the 3rd party jar in war file.

2016-03-19 Thread Mark Eggers
Ron, That is certainly another (and potentially excellent way) of looking at this problem. 1. Use provided 2. Create a deploy job in something like Jenkins a. Add a dependency to your product WAR b. Add dependencies to the JARs marked as provided in step 1 c. Deploy the resulting WAR

Re: I want to separate the 3rd party jar in war file.

2016-03-19 Thread pradeepkumar
Thanks Mark and Anders for quick response. As you guys suggested i have used the provided for some of my dependencies in pom.xml. Then i generated the war the jars count was reduced from 165 to 130 (Still i need to add the scope for all the pom.xml's). But while deploying the war

Re: I want to separate the 3rd party jar in war file.

2016-03-18 Thread Ron Wheeler
JARs that you wish to exclude from the WAR file, but still need when the application runs on your server. There are few advantages to this and several disadvantages. The advantages include a smaller WAR file, which means faster deployment, faster transfers, and a smaller file within your local

Re: War file name and sftp to server

2015-10-09 Thread Greg Trasuk
t; Check the Tomcat site for the Tomcat Maven plug-in. Not sure if it will >>>> use sftp, though. I believe it can use https. >>>> >>>> Cheers, >>>> >>>> Greg Trasuk. >>>> >>>> >>>> Sent from my BlackBerry 10 sm

Re: War file name and sftp to server

2015-10-09 Thread K R
-in. Not sure if it will > >> use sftp, though. I believe it can use https. > >> > >> Cheers, > >> > >> Greg Trasuk. > >> > >> > >> Sent from my BlackBerry 10 smartphone. > >> Original Message > >> From: ke..

Re: War file name and sftp to server

2015-10-09 Thread Mark Eggers
rsday, October 8, 2015 4:58 PM To: Maven >> Users List Reply To: Maven Users List Subject: Re: War file name >> and sftp to server >> >> Tomcat7 running on Raspberry Pi >> >> >> On October 8, 2015 1:36:53 PM Curtis Rueden >> wrote:

Re: War file name and sftp to server

2015-10-09 Thread Wayne Fay
@na7kr.us >> Sent: Thursday, October 8, 2015 4:58 PM >> To: Maven Users List >> Reply To: Maven Users List >> Subject: Re: War file name and sftp to server >> >> Tomcat7 running on Raspberry Pi >> >> >> On October 8, 2015 1:36:53 PM Curtis Ruede

Re: Maven and Vaadin to build war correct

2015-10-09 Thread Javier Ortiz
I agree with Wayne. My suggestion would be to create a new Vaadin project via Maven, then move your custom stuff over as needed. It'll probably save you much trouble.

Re: War file name and sftp to server

2015-10-08 Thread Greg Trasuk
erry 10 smartphone. >> Original Message >> From: ke...@na7kr.us >> Sent: Thursday, October 8, 2015 4:58 PM >> To: Maven Users List >> Reply To: Maven Users List >> Subject: Re: War file name and sftp to server >> >> Tomcat7 running on Raspberry

Re: War file name and sftp to server

2015-10-08 Thread ke...@na7kr.us
 BlackBerry 10 smartphone.   Original Message   From: ke...@na7kr.us Sent: Thursday, October 8, 2015 4:58 PM To: Maven Users List Reply To: Maven Users List Subject: Re: War file name and sftp to server Tomcat7 running on Raspberry Pi On October 8, 2015 1:36:53 PM Curtis Rueden wrote: Hi K R, How do

Re: War file name and sftp to server

2015-10-08 Thread trasukg
: Maven Users List Subject: Re: War file name and sftp to server Tomcat7 running on Raspberry Pi On October 8, 2015 1:36:53 PM Curtis Rueden wrote: > Hi K R, > >> How do I sftp it to the server? > > What kind of server? Web server? Maven repository? Something else? > >

Re: War file name and sftp to server

2015-10-08 Thread ke...@na7kr.us
Tomcat7 running on Raspberry Pi On October 8, 2015 1:36:53 PM Curtis Rueden wrote: Hi K R, How do I sftp it to the server? What kind of server? Web server? Maven repository? Something else? == Web server == If it's just a web server, typically that is done outside of the Maven build. Yo

Re: War file name and sftp to server

2015-10-08 Thread Curtis Rueden
Hi K R, > How do I sftp it to the server? What kind of server? Web server? Maven repository? Something else? == Web server == If it's just a web server, typically that is done outside of the Maven build. You can also rename the file at that point. Alternately, you can use the exec-maven-plugin

Re: War file name and sftp to server

2015-10-08 Thread ecki
/in-maven-how-do-i-copy-files-using-the-wagon-plugin Gruss Bernd -- http://bernd.eckenfels.net -Original Message- From: K R To: Maven Users List Sent: Do., 08 Okt. 2015 22:16 Subject: War file name and sftp to server I have this in pom.xml 0.0.1-SNAPSHOT YT-100_ATU_Controller and I

War file name and sftp to server

2015-10-08 Thread K R
I have this in pom.xml 0.0.1-SNAPSHOT YT-100_ATU_Controller and I get YT-100_ATU_Controller-0.0.1-SNAPSHOT.war how do I get YT-100_ATU_Controller.war? How do I sftp it to the server?

Re: Maven and Vaadin to build war correct

2015-10-08 Thread Wayne Fay
In Eclipse and was using IVY and switched to Maven. > > My widgetset is not in /VAADIN/widgetset folder > in /VAADIN/themes/themes01 there is only one SCSS file and no images or css > file > > Just do not know how to make the war file correct. > > On Thu, Oct 8, 2015 at 10:4

Re: Maven and Vaadin to build war correct

2015-10-08 Thread K R
In Eclipse and was using IVY and switched to Maven. My widgetset is not in /VAADIN/widgetset folder in /VAADIN/themes/themes01 there is only one SCSS file and no images or css file Just do not know how to make the war file correct. On Thu, Oct 8, 2015 at 10:45 AM, Javier Ortiz wrote: >

Re: Maven and Vaadin to build war correct

2015-10-08 Thread Javier Ortiz
I don't understand the question. How did you create the project? Maven artifact? Does the project work when ran? I've never had issues with Vaadin before, but I use Netbeans ;)

Maven and Vaadin to build war correct

2015-10-08 Thread K R
er YT-100_ATU_Controller war 0.0.1-SNAPSHOT YT-100_ATU_Controller 7.5.7 false themes01 ${vaadin.version} 9.3.1-SNAPSHOT 1.8 1.8 UTF-8 vaadin-addons http://ma

Re: Maven ear,jar and war packaging

2015-09-13 Thread Wayne Fay
Not sure how you plan on packaging jars in another jar. That is not allowed per the jar spec, as far as I'm aware. What are you actually doing here? As for packaging only certain jars in an ear or war, that is controlled by the scope for the dependency declared in your pom. This is sta

Maven ear,jar and war packaging

2015-09-11 Thread aalok singhvi
hello, I have a project where i want to package certain jars only in an ear , jar or war . Any suggestion and best practices. Any useful links will really help. Thanks -- Aalok Singhvi

Re: Maven + Jenkins not packaging war with jars

2015-04-22 Thread Stephen Connolly
http://javaadventure.blogspot.ie/2013/11/jenkins-maven-job-type-considered-evil.html On 21 April 2015 at 17:12, Gandikota, Murthy wrote: > Hi All > Using Jenkins 1.596, the jar files are not included in the WAR by maven > which is given the following goals: > > > clean depen

RE: Maven + Jenkins not packaging war with jars

2015-04-21 Thread Gandikota, Murthy
Hi All Using Jenkins 1.596, the jar files are not included in the WAR by maven which is given the following goals: clean dependency:tree install -P component clover2:setup test clover2:aggregate clover2:clover When I run maven on the command line the WAR is built correctly by including all

Re: Maven + Jenkins not packaging war with jars

2015-04-17 Thread Curtis Rueden
10:48 AM, Gandikota, Murthy < mgandik...@westechmed.com> wrote: > Hi All > Using Jenkins 1.596, the jar files are not included in the WAR by maven > which is given the following goals: > clean dependency:tree install -P component clover2:setup test > clover2:aggregate clover2:clov

Maven + Jenkins not packaging war with jars

2015-04-17 Thread Gandikota, Murthy
Hi All Using Jenkins 1.596, the jar files are not included in the WAR by maven which is given the following goals: clean dependency:tree install -P component clover2:setup test clover2:aggregate clover2:clover When I run maven on the command line the WAR is built correctly by including all the

Re: Issue with Maven WAR Plugin?

2015-01-25 Thread Ron Wheeler
coming from. Ron On 22/01/2015 4:36 PM, Rahul Mishra wrote: Hi, I am an encountering an issue when trying to create a WAR. When i am using the Maven WAR plugin to create a WAR, different versions of the same JAR are being included. For example, if i put an explicit dependency on A.jar version

Re: Issue with Maven WAR Plugin?

2015-01-25 Thread Vincent Latombe
; -D > > On Thu, Jan 22, 2015 at 1:36 PM, Rahul Mishra > wrote: > > > Hi, > > > > I am an encountering an issue when trying to create a WAR. When i am > using > > the Maven WAR plugin to create a WAR, different versions of the same JAR > > are bein

Re: Issue with Maven WAR Plugin?

2015-01-24 Thread Dan Tran
It does not sound right. Do you have a mini maven project to produce this? Thanks -D On Thu, Jan 22, 2015 at 1:36 PM, Rahul Mishra wrote: > Hi, > > I am an encountering an issue when trying to create a WAR. When i am using > the Maven WAR plugin to create a WAR, different ver

  1   2   3   4   5   6   7   8   9   10   >