RE: How to put a dependency in the classpath BEFORE jre.jar?

2012-09-20 Thread Claves Do Amaral
If I understand the problem well, this is equivalent to provide endorsed libraries at runtime. I have found this resource, that looks a bit dated, but it may work. Not sure if Maven 3 offers a better solution http://www.mindbug.org/2009/02/adding-endorsements-to-mavens-plugins.html Claves

RE: Missing POM in Nexus

2011-08-01 Thread Claves Do Amaral
Forgot to say, I am using Maven 3.0.2 Thanks C -Original Message- From: Claves Do Amaral [mailto:claves.doama...@iggroup.com] Sent: 01 August 2011 13:29 To: users@maven.apache.org Subject: Missing POM in Nexus The information contained in this email is strictly confidential and for

Missing POM in Nexus

2011-08-01 Thread Claves Do Amaral
appreciated. Thanks. Claves do Amaral The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this

RE: How to compile twice

2011-05-31 Thread Claves Do Amaral
-Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar > >Possibly, but very much not the Maven way IMHO. You should never have to do >more than one build! If you were using a repo manager which correctly blocks >>redeploys, you w

RE: How to compile twice

2011-05-27 Thread Claves Do Amaral
-Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > >if it is the exact same source producing multiple artifacts which all have the >exact same dependencies, then you can be ok... but getting the release >>deployed becomes tricky. But for JAR/WAR/EAR files

RE: How to compile twice

2011-05-25 Thread Claves Do Amaral
-Original Message- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] > >This is the Maven way. Ok I will use my copy of "Maven: The Definitive Guide" to light my next BBQ. You convinced me, I am back to the orthodoxy. Nested Modules. Thanks Claves The information contained in th

RE: How to compile twice

2011-05-25 Thread Claves Do Amaral
-Original Message- From: Antonio Petrelli [mailto:antonio.petre...@gmail.com] > >Not much, Maven is very angry about it :-D Anyway, did you try, at least, to >see if you can do a multimodule build? We had multi-module builds but it turned out to be a bit messy. Now, we switched to profile

RE: How to compile twice

2011-05-25 Thread Claves Do Amaral
-Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar >It will not. I can tell you that for sure. The person that ends du maintaining >your build setup will curse your name forever! I will comment it very well... What about usin

RE: How to compile twice

2011-05-25 Thread Claves Do Amaral
-Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > >STOP FIGHTING MAVEN :) I will take the risky way, like Prometheus, and pay the consequences of my hubris. I hope that Maven will have mercy on me. The information contained in this email is strictly

RE: How to compile twice

2011-05-25 Thread Claves Do Amaral
-Original Message- From: Laird Nelson [mailto:ljnel...@gmail.com] > >How about: > > > ../../generated-sources-jacorb/** > ../../generated-sources-sunorb/** > I have downloaded the Plexus compiler source code (which is what ultimately maven-compiler-plugin 2.3.2 uses) and it looks that t

RE: How to compile twice

2011-05-25 Thread Claves Do Amaral
-Original Message- From: Jörg Schaible [mailto:joerg.schai...@scalaris.com] >It seems that the plugin will add the target directories automatically to the >list of sources directory for the compiler. You need now two separate I see that the sources are added to the compileSourceRoots by

RE: How to compile twice

2011-05-24 Thread Claves Do Amaral
-Original Message- From: Laird Nelson [mailto:ljnel...@gmail.com] > Wow, that's truly baffling. I have a successful multi-artifact build running > with inclusions and exclusions like this. Are you using Maven 3+? Yes, Maven 3.0.2 > The output looks like it. I will keep trying. I may h

RE: How to compile twice

2011-05-24 Thread Claves Do Amaral
-Original Message- From: Laird Nelson [mailto:ljnel...@gmail.com] > You can of course just chalk this up to magic and exclude them, regardless of > whatever mystical internals put them there in the first place: Thanks Laird, but I have already tried this: org.apache.maven.plugin

RE: How to compile twice

2011-05-24 Thread Claves Do Amaral
-Original Message- From: Laird Nelson [mailto:ljnel...@gmail.com] >How are you generating the sources? This output indicates that the * Here is the configuration: uk.co.igindex.maven maven-idl-plugin generate-jacorb

RE: How to compile twice

2011-05-24 Thread Claves Do Amaral
-Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] >Classifiers is _exactly_ the ***wrong*** way to try and solve this > >Profiles is _exactly_ the ***wrong*** way to try and solve this. > >If you don't like the Maven way, don't use Maven I like Maven, I lov

RE: How to compile twice

2011-05-24 Thread Claves Do Amaral
-Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > One pom -> one artefact > > to create two artifacts, use a multi-module project. Thanks for your answer. I understand, but let me explain what I am trying to do, ultimately. I already have a project that

How to compile twice

2011-05-24 Thread Claves Do Amaral
Hello to the Maven users. I am trying to generate two artefacts, each containing two different flavours of generated classes. I am able to generate the classes under two different folders: target\generated-sources-jacorb target\generated-sources-sunorb Now I would like to compile these two fold

RE: Classifiers and build number

2011-05-04 Thread Claves Do Amaral
-Original Message- From: Claves Do Amaral [mailto:claves.doama...@iggroup.com] >Good morning, > >I have some problems using artefacts deployed with classifiers. The version of >Maven I am using is 3.0.2 Hello Maven users, It looks that after adding t

Classifiers and build number

2011-05-04 Thread Claves Do Amaral
ation options on the maven-deploy-plugin but none of these solved my issue. If anyone can help, this would be much appreciated. Thanks, Claves do Amaral The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you

Re: Using classifiers, missing artifact

2011-04-19 Thread Claves do Amaral
On 18 April 2011 17:09, Claves do Amaral wrote: > I am not sure how does the repository works. I am not managing it and > the team who is managing it is not easily reachable, therefore, I > cannot ask for help. I think I have a possible key to the solution. Reading the maven bo

Re: Using classifiers, missing artifact

2011-04-18 Thread Claves do Amaral
On 18 April 2011 16:07, Ron Wheeler wrote: > common-corba-v3-3.0.10-SNAPSHOT-jacorb.jar is the same as > common-corba-v3-3.0.10-SNAPSHOT.jar??? > > > uk.co.mycompany.corba:common-corba-v3:jar:jacorb:3.0.10-SNAPSHOT is what it > wants. > > > common-corba-v3-3.0.10-20110418.xx-1.pom is just a PO

Re: Using classifiers, missing artifact

2011-04-18 Thread Claves do Amaral
On 18 April 2011 15:44, Anders Hammar wrote: > They are there, but with a non-unique snapshot version. > > /Anders (mobile) > Den 18 apr 2011 16.25 skrev "Ron Wheeler" : >> The jar is not in your repo. >> Only the POM >> >> Ron yes, the point is that his is a pattern that i noticed for all artifa

Using classifiers, missing artifact

2011-04-18 Thread Claves do Amaral
hing hat baffles me is that the build, sometimes succeeed, but most of the time it fails. I have tried to fix this since weeks, when it looks fine, suddenly the problems re-arise. I cannot find much help googling. Please, can you help me? Many thanks -- Claves do Amaral Email: claves.doama...