Re: mvn package command ends with error

2021-05-03 Thread Andy Feldman
The problem is that you are connecting to repos using HTTP rather than HTTPS, which is now blocked by default. This is new in Maven version 3.8.1. You can check out the release notes for more information including fixes and workarounds: https://maven.apache.org/docs/3.8.1/release-notes.html -- An

Re: mvn package && mvn site

2012-06-22 Thread Maven User
Is your goal to type less? Maybe bind the site plugin to a phase after package via a profile? This sounds terrible tho... On Wed, Jun 13, 2012 at 6:36 AM, cortes wrote: > > Yes I did mvn package site and effectly it works correctly. > However the only alternative is create a new script for t

Re: mvn package && mvn site

2012-06-13 Thread cortes
Yes I did mvn package site and effectly it works correctly. However the only alternative is create a new script for this purpose, I hoped to insert in the plugin something like an alias, but if is not possible... Thank you very much for the answer -- View this message in context: http://maven.

Re: mvn package && mvn site

2012-06-13 Thread Anders Hammar
mvn package site You may of course create a script for this specific purpose, but I find that counter productive as it will not be a standard solution and it will force you to write an internal development guide line document. On Wed, Jun 13, 2012 at 12:16 PM, cortes wrote: > Hi, >  is possible

Re: mvn package (build failure)

2011-12-18 Thread Benson Margulies
On Sun, Dec 18, 2011 at 9:26 AM, Apache Omega wrote: > how do i fix this problem You install the application that its asking for and put it in PATH. This is a mailing list for maven itself. You are asking a question about flex. You should take your question to the official support channel for it

Re: mvn package (build failure)

2011-12-18 Thread Apache Omega
how do i fix this problem -- View this message in context: http://maven.40175.n5.nabble.com/mvn-package-build-failure-tp5083380p5083894.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-ma

Re: mvn package (build failure)

2011-12-17 Thread Benson Margulies
What part of [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.1 -beta:test-run (default-test-run) on project MavenFlexJavaApp: Failed to launch Flash Player. Probably java was not able to find flashplayer. [ERROR] Make sure flashplayer is available on PATH don't you

Re: mvn package with dependency jar

2011-03-08 Thread Jörg Schaible
Mark wrote: > How can I use mvn to package my project as well as one (not all) of my > dependencies? > > I've been looking at jar-with-dependencies plugin however that seems to > copy every single of my dependencies. I just want to add 1 single jar. ... or you use the hsade plugin to copy anythi

Re: mvn package with dependency jar

2011-03-08 Thread Ron Wheeler
On 08/03/2011 6:58 PM, Mark wrote: How can I use mvn to package my project as well as one (not all) of my dependencies? I've been looking at jar-with-dependencies plugin however that seems to copy every single of my dependencies. I just want to add 1 single jar. If you do not want the librar

Re: mvn package with dependency jar

2011-03-08 Thread Nick Stolwijk
Take a look at the "Advanced Artifact-Matching in includes and excludes" on the advanced descriptor page[1]. [1] http://maven.apache.org/plugins/maven-assembly-plugin/advanced-descriptor-topics.html Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 636

RE: mvn package

2010-09-02 Thread Martin Gainty
dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Date: Thu, 2 Sep 2010 11:45:34 +0200 > Subject: Re: mvn package > From:

Re: mvn package

2010-09-02 Thread Daniel Rindt
Am Donnerstag, den 02.09.2010, 11:45 +0200 schrieb Antonio Petrelli: > > AFAICT, it seems that you have a problem with accessing your local > repository, maybe they cannot be accessed or they are corrupt. > This is strange. Did you try with a normal Maven distribution? Yes, the problem was maybe

Re: mvn package

2010-09-02 Thread Antonio Petrelli
2010/9/2 Daniel Rindt : > Am Donnerstag, den 02.09.2010, 11:17 +0200 schrieb Antonio Petrelli: >> It seems that in your pom you specify explicitly the need of Maven >> 2.0.9. What do you see when you run mvn -version? > It was as you mentioned. I updated maven2 by hand to 2.2.1, but now i > got nex

Re: mvn package

2010-09-02 Thread Daniel Rindt
Am Donnerstag, den 02.09.2010, 11:17 +0200 schrieb Antonio Petrelli: > It seems that in your pom you specify explicitly the need of Maven > 2.0.9. What do you see when you run mvn -version? It was as you mentioned. I updated maven2 by hand to 2.2.1, but now i got next errors during the packaging ta

Re: mvn package

2010-09-02 Thread Antonio Petrelli
2010/9/2 Daniel Rindt : > [INFO] Error resolving version for > 'org.apache.maven.plugins:maven-compiler-plugin': Plugin requires Maven > version 2.0.9 It seems that in your pom you specify explicitly the need of Maven 2.0.9. What do you see when you run mvn -version? Antonio

RE: mvn package + SAR + EAR

2009-11-13 Thread Wittmann, Eric
al maven repo - but not a huge deal. Regards, Eric -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Friday, November 13, 2009 10:14 AM To: Maven Users List Subject: Re: mvn package + SAR + EAR First, excellent pra

Re: mvn package + SAR + EAR

2009-11-13 Thread Anders Hammar
First, excellent practice of you to provide a test case project! I think this is a reactor bug in Maven 2.x. I tested with Maven 2.2.1 and it doesn't work (it tries to get the sar from the local repo). However, it does work with the new Maven 3.0-alpha-3 release. /Anders On Thu, Nov 12, 2009 at

Re: mvn package exclude transitive deps from war archive

2009-03-05 Thread Davis Ford
Hi Wayne, here's a more concrete example. I'm sure I'm just doing something stupid, but I hope this makes it easier to see the stupid-ness. Create a new jar project: mvn archetype:create -DgroupId=com.example -DartifactId=foo-bar Make the pom.xml look like this: http://maven.apache.org/POM/4.0

Re: mvn package exclude transitive deps from war archive

2009-03-05 Thread Davis Ford
Hi Wayne, thanks for the reply -- no luck on the clean. I still get all the jars. See my reply to my post. I configured the war plugin as per the webpage, but still no luck. On Thu, Mar 5, 2009 at 8:58 PM, Wayne Fay wrote: >> $ mvn package >> >> It still creates a war file with all the deps an

Re: mvn package exclude transitive deps from war archive

2009-03-05 Thread Wayne Fay
> $ mvn package > > It still creates a war file with all the deps and transitive deps > under WEB-INF/lib/ - what am I doing wrong?  Do I need to use the > maven war plugin? Try "mvn clean package". The jars are still sitting in /target, and therefore landing in your war. Wayne -

Re: mvn package exclude transitive deps from war archive

2009-03-05 Thread Davis Ford
I managed to exclude direct dependencies and add them to the manifest classpath as per http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html --but it still puts all transitive dependencies in WEB-INF/lib. For example. Project A is jar Project A artifact is jar, and it

Re: mvn package: Generated JAR and external dependencies

2008-01-29 Thread Ryan H.
configure the maven-jar-plugin to have additional directory be added to the classpath. check out "addClasspath" and "classpathprefix" in the jar doc On Jan 29, 2008 10:41 PM, crishantha <[EMAIL PROTECTED]> wrote: > > Hi Oliver, > > I have the same issue as donald mentioned. Hence, I tried the sha

Re: mvn package: Generated JAR and external dependencies

2008-01-29 Thread crishantha
Hi Oliver, I have the same issue as donald mentioned. Hence, I tried the shade plugin by adding the code snippet you gave to the POM. But I still get an error saying that, \target\HPMASReports-1.0-SNAPSHOT-shaded.pom (The system cannot find the path specified) Am I missing anything in the proce

Re: mvn package: Generated JAR and external dependencies

2008-01-25 Thread dornad
Thanks for your suggestion, Actually I found another solution in http://dsd.lbl.gov/~ksb/Scratch/Maven_notes.html KSB's Maven Notes . The only problem so far is that I can't seem to get the assembly plugin working as part of the package lifecycle. Thanks. Olivier Lamy wrote: > > Hi, > You c

Re: mvn package: Generated JAR and external dependencies

2008-01-25 Thread Olivier Lamy
Hi, You can build a jar which include the dependencies. Add this in your pom : maven-shade-plugin package shade -- Olivier 2008/1/25, dornad <[EMAIL PROTECTED]>: > > Hello everybody,

RE: mvn package error with maven-war-plugin

2007-01-03 Thread Barbier-Accary Aurélien
It seems to be a problem of the 2.0.2 version of maven-war-plugin. All is ok with the 2.0.1 version!? Aurelien -Message d'origine- De : Barbier-Accary Aurélien Envoyé : mercredi 3 janvier 2007 15:54 À : users@maven.apache.org Objet : mvn package error with maven-war-plugin Hi all, The g