RE: Maven failing due to javac path issue -- Windows

2010-09-07 Thread Enrique Gaona
Apologies for not responding right away, had to deal with another fire:-) Per-Henrik's request: C:\Documents and Settings\Administrator>javac -version javac 1.6.0-internal I just resolved the problem by adding a maven-compiler-plugin to the project's pom.xml and that resolved the issue. Thank

Re: Maven failing due to javac path issue -- Windows

2010-09-07 Thread Enrique Gaona
p determine what the > actual value of JAVA_HOME according to mvn. > > What resides in the C:\IBM\ibm-java-sdk-60-win-i386\sdk\bin ? > > can you run javac -version? > > Per-Henrik > > On Tue, Sep 7, 2010 at 6:43 PM, Trevor Harmon wrote: > > On Sep 7, 2010, at 9:34

Re: Maven failing due to javac path issue -- Windows

2010-09-07 Thread Enrique Gaona
-Henrik On Tue, Sep 7, 2010 at 6:43 PM, Trevor Harmon wrote: > On Sep 7, 2010, at 9:34 AM, Enrique Gaona wrote: >> Can't say if it works with Oracle's JDK, since I've not tried it before. >> > Trying with Oracle's would help determine where the problem lies

Re: Maven failing due to javac path issue -- Windows

2010-09-07 Thread Enrique Gaona
List" On Sep 7, 2010, at 9:25 AM, Enrique Gaona wrote: > Output from the variables: > C:\RTC-data\workspace>echo %JAVA_HOME% > C:\IBM\ibm-java-sdk-60-win-i386\sdk Do

Maven failing due to javac path issue -- Windows

2010-09-07 Thread Enrique Gaona
Hi, I'm trying to build a project on Windows (believe me, this is not my first choice) and its failing because Maven can't find javac. The error message being returned "Failure executing javac, but could not parse the error: The system cannot find the path specified." Looking at the debug

Re: Error getting POM for org.codehaus.mojo.mojo:rpm-maven-plugin

2010-08-27 Thread Enrique Gaona
Hi, You must use https://nexus.codehaus.org/content/groups/snapshots-group/ And not the old repo. Cleanup your local repo and restart your build. 2010/8/27 Enrique Gaona : > > > Hi, > I'm running into an issue where my Maven build is failing to an error in > the maven-met

Error getting POM for org.codehaus.mojo.mojo:rpm-maven-plugin

2010-08-27 Thread Enrique Gaona
Hi, I'm running into an issue where my Maven build is failing to an error in the maven-metadata. The error message I'm getting: Reason: Error getting POM for 'org.codehaus.mojo:rpm-maven-plugin' from the repository: Unable to read local copy of metadata: Cannot read metadata from '/home/csdpte

Error: java.lang.NullPointerException when using Maven with JDK 6

2009-08-23 Thread Enrique Gaona
Hi, Has anyone encountered this issue before? If I use Java 6 with the latest release of Maven, 2.21 or the older versions, it fails with a java.lang.NullPointerException. If I set the JAVA_HOME to Java 5, it works like a charm. /usr/local/apache-maven-2.2.1/bin/mvn -e clean + Error stacktrac

Re: Getting class file has wrong version 50.0, should be 49.0 error when running an Ant build

2009-08-22 Thread Enrique Gaona
On Sat, Aug 22, 2009 at 10:05 PM, Enrique Gaona wrote: > Has anyone seen this problem before? My guess: You are using Eclipse (NetBeans, IntelliJ, whatever), running on Java 6 and didn't do an mvn clean first. In other words, one or more source files have been c

Getting class file has wrong version 50.0, should be 49.0 error when running an Ant build

2009-08-22 Thread Enrique Gaona
Hi, Has anyone seen this problem before? I'm class file has wrong version 50.0, should be 49.0 error. The version of maven is 2.2.0, Java version is 1.5.0 and I'm using version 1.3 of maven-antrun-plugin. How can I resolve this error? Thanks. client.compile: [javac] Compiling 8 source

Getting StreamWagon.openConnection()V error

2008-07-17 Thread Enrique Gaona
Hi, I'm running into problems building my projects using maven 2.0.9. The error message returned by Maven, java.lang.AbstractMethodError: org/apache/maven/wagon/StreamWagon.openConnection()V.Has anyone encountered this error before? How do I fix this problem?I've provided the screenshot

Re: How to integrate FTP Wagon into Maven 2.0.7

2008-07-17 Thread Enrique Gaona
g-extensions.html Hope this helps, SaM On Thu, Jul 17, 2008 at 9:02 AM, Enrique Gaona <[EMAIL PROTECTED]> wrote: > > Hi, > I'm getting a Unsupported Protocol: 'ftp': Cannot find wagon which > supports the requested protocol: ftp error

How to integrate FTP Wagon into Maven 2.0.7

2008-07-16 Thread Enrique Gaona
Hi, I'm getting a Unsupported Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp error message from maven. How can I integrate ftp wagon to Maven 2.0.7? Enrique

Re: Best way of changing project version

2007-11-28 Thread Enrique Gaona
Arnaud/Kalle/Nick, Thanks for the suggestions. I'll looking into the maven-release plugin, hopefully, it solves my problem. Enrique

Best way of changing project version

2007-11-27 Thread Enrique Gaona
Greets, I have a big maven project that has about 300 pom files in it. Currently, the is hardcoded on all the pom.xml files and moving from one version to another is a PITA. My question is, what's the best way of doing away with the hardcoded value and moving to a variable where it can be s

generama:qdox

2007-10-11 Thread Enrique Gaona
Does anyone have a copy of qdox pom file that they can send me or a link where I can download the file? My build is failing several times a day because it can't download this pom file and for some reason it doesn't exist in any of the maven repository. [INFO] --

Re: How to avoid hardcoding parent pom version in child poms?

2007-08-20 Thread Enrique Gaona
Oops, sorry pasted the wrong message on this thread. Anyway, take a look at the maven release plugin, it will update the versions for both parent and child pom files. Enrique Enrique

Re: How to avoid hardcoding parent pom version in child poms?

2007-08-20 Thread Enrique Gaona
Farrukh, Use the on your parent pom where you specify the version for a given plugin, then your child poms will inherit the version number.If you need to upgrade to a higher release, you simply have to change one pom file. Here's an example: Parent pom:

Re: error: IO exception sun.io.MalformedInputException

2007-08-15 Thread Enrique Gaona
g on > purpose, you might try something like: > > >[...] > > > > maven-compiler-plugin > > > > -encoding UTF-8 > > > > > > > Just

Re: error: IO exception sun.io.MalformedInputException

2007-08-14 Thread Enrique Gaona
tirely... http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files ? Patrick On 8/13/07, Enrique Gaona <[EMAIL PROTECTED]> wrote: > > > > Hi, > I was wondering if anyone has encountered the "error: IO exception > sun.io.Mal

Re: error: IO exception sun.io.MalformedInputException

2007-08-13 Thread Enrique Gaona
he.org> Can you post the stacktrace you get from running with -e? This isn't much to go on... -john On Aug 13, 2007, at 6:19 P

error: IO exception sun.io.MalformedInputException

2007-08-13 Thread Enrique Gaona
Hi, I was wondering if anyone has encountered the "error: IO exception sun.io.MalformedInputException" in continuum. This error shows up when the build is executed within continuum, but not from the command line. Any ideas? Thanks. Compiling 20 source files to /opt/continuum/app1/working-dir

Compile and runtime dependency on the same jar file

2007-04-27 Thread Enrique Gaona
Hi, I have a project that has a compile dependency to a jar file (tpmclient.jar) and at the same time it needs to be packaged into the final war.My questions, what's the elegant or right way of solving this problem wihtout having to copy the tpmclient.jar into my project directory? The tpmcli

Re: JUnit tests are being skipped by Maven

2007-04-20 Thread Enrique Gaona
ice in there where you would use > resources, testSourceDirectory, includes and excludes to make things > work but its complicated and I'm not going to recommend that approach. > > Wayne > > On 4/18/07, Enrique Gaona <[EMAIL PROTECTED]> wrote: > > > > Arik, &

Re: JUnit tests are being skipped by Maven

2007-04-18 Thread Enrique Gaona
on 04/18/2007 09:59:50 AM: > try: > > **/AssetManagerTest.java > > On 4/18/07, Enrique Gaona <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > I'm trying to run a JUnit test in Maven, but for some reason, the tests > > are > > being sk

JUnit tests are being skipped by Maven

2007-04-18 Thread Enrique Gaona
Hi, I'm trying to run a JUnit test in Maven, but for some reason, the tests are being skipped. In my pom.xml file, I have the junit dependency and added the maven-surefire-plugin in the hopes my JUnit test gets invoked. junit junit 3.8.1 test org.ap

Re: [m2] maven-buildnumber-plugin

2007-02-28 Thread Enrique Gaona
I'm not sure if the aggregator works if you're using a timestamp as the build number, it certainly didn't for me. This is what I have in my BuildNumberMojo.java or perhaps I'm passing the wrong options:-) * @author mailto:[EMAIL PROTECTED]">Julian Wood * @version $Id: BuildNumberMojo.java,v 1.1

Re: [M2]maven-buildnumber-plugin

2007-02-28 Thread Enrique Gaona
roject.getProperties().put( "buildNumber", revision ); String buildnumber = (String) project.getProperties().get("buildNumber"); getLog().info( "Build Number: " + buildnumber ); } Enrique > > J > > On 24-Feb-07, at 12:19 PM, Enrique Gaona

Re: Problem building war file

2007-02-28 Thread Enrique Gaona
nrique, > > > > Well.. Do you add a BuildVersion attribute to the manifest > > someplace else? > > > > Cheers > > Jo > > > > On 2/26/07, Enrique Gaona <[EMAIL PROTECTED]> wrote: > >> > >> > >> Hi, > >> I'm running

Re: Problem building war file

2007-02-27 Thread Enrique Gaona
he.org> Hi Enrique, Well.. Do you add a BuildVersion attribute to the manifest someplace else? Cheers Jo On 2/26/07, Enr

Problem building war file

2007-02-26 Thread Enrique Gaona
Hi, I'm running into problems building my war file. Inside my parent pom, I am adding entry to my manifest file, but when it creates the war file, it complains about an Embedded error. Anyone seen this before? maven-war-plugin

RE: How-to pass variables from one plugin to another

2007-02-26 Thread Enrique Gaona
Best regards, Juri. -Original Message- From: Enrique Gaona [mailto:[EMAIL PROTECTED] Sent: Friday, February 23, 2007 8:42 PM To: Maven Users List Subject: How-to pass variables from one plugin to another Greets, How do I go about setting the value of a variab

Re: [M2]maven-buildnumber-plugin

2007-02-24 Thread Enrique Gaona
Hi, Anyone know how I can do this? Thanks Enrique Enrique Gaona/Austin/IBM@ IBMUS

[M2]maven-buildnumber-plugin

2007-02-23 Thread Enrique Gaona
How do you run a plugin the parent pom only once and have its configuration inherited by its children. I'm using the maven-buildnumber-plugin in my parent pom and when I run my build, this plugin gets executed on every child pom and I end up with different buildNumber ID.

How-to pass variables from one plugin to another

2007-02-23 Thread Enrique Gaona
Greets, How do I go about setting the value of a variable from 1 plugin and passing that variable to another plugin. If I'm being vague, here are the details:-) I have a custom plugin (buildtools-tag-plugins) where I set the buildNumber instance variable to the current date and time and then

How to stop a hung build

2007-02-09 Thread Enrique Gaona
Hi, I have a build that terminated after 17 mins due to an error, but continuum still thinks the project is still building. The elapse time is now showing over 2 hours and continues to increment even though the build only ran for 17mins. Is there a way I can reset the DB? I've tried restartin

Fw: FtpWagon.java error

2007-01-26 Thread Enrique Gaona
http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository Here's the server element in my .m2/settings.xml csdpFtpRepository egaona xsw21qaz ecmFtpRepository egaona xsw21qaz Enrique

Re: FtpWagon.java error

2007-01-19 Thread Enrique Gaona
0-alpha-6.jar wagon-ssh-1.0-alpha-7.jar wagon-ssh-external-1.0-alpha-6.jar Enrique > > > Enrique Gaona wrote: > > >Hi, > >I'm getting an NullPointerException error FtpWagon.java when I execute the > >following maven command, mvn clean antrun:run install. I

FtpWagon.java error

2007-01-19 Thread Enrique Gaona
Hi, I'm getting an NullPointerException error FtpWagon.java when I execute the following maven command, mvn clean antrun:run install. It seems that the plugin is not reading my settings.xml. I have the csdpRepository id defined inside the settings.xml.I've searched in google for FtpWagon.j

Re: Maven dependency question

2006-11-15 Thread Enrique Gaona
war. The classloader for your application server > should cause the war to have access to the jar since it is in the ejb jar's > classpath. This has to do with the nesting of the classloaders. Some app > servers let you change the way that works though. > > -- Lee > >

Re: Maven dependency question

2006-11-15 Thread Enrique Gaona
t; > server > > should cause the war to have access to the jar since it is in the ejb > > jar's > > classpath. This has to do with the nesting of the classloaders. Some app > > servers let you change the way that works though. > > > > -- Lee > >

Re: Maven dependency question

2006-11-14 Thread Enrique Gaona
I posted this message earlier and didnt get any replies. Anyone know the answer:) Thanks. Enrique Enrique Gaona/Austin/[EMAIL PROTECTED] Enrique Gaona/Austin/[EMAIL PROTECTED] 11/14/2006 01:33 PM Please respond to "Maven Users List" To users@maven.apache.org cc

Maven dependency question

2006-11-14 Thread Enrique Gaona
Hi folks, We have a J2EE application project (ear) which contains one Web project (war), one EJB project and one utilities java project. The war and EJB jar projects depends from the same utilities project. We included the WEB, EJB and utilities projects as dependencies into the ear pom file, so