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 Martin Gainty
$JDK_HOME/bin/javac.exe $JRE_HOME/bin/java.exe Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitt

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

2010-09-07 Thread Wayne Fay
On Tue, Sep 7, 2010 at 4:22 PM, per-henrik hedman wrote: > And you can do javac -version? C:\>javac -version javac 1.6.0_07 As I said... the JDK is 1.6.0_07 and the JRE is 1.6.0_21. ;-) Wayne - To unsubscribe, e-mail: users-un

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

2010-09-07 Thread per-henrik hedman
And you can do javac -version? Per-Henrik On Tue, Sep 7, 2010 at 11:17 PM, Wayne Fay wrote: >>> I believe that the Java home path given by "mvn -version" on a Windows >>> platform points at the jre, not the jdk. Possibly someone on Windows could >> >> This is normal (also on Linux). I am also cu

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

2010-09-07 Thread Wayne Fay
>> I believe that the Java home path given by "mvn -version" on a Windows >> platform points at the jre, not the jdk. Possibly someone on Windows could > > This is normal (also on Linux). I am also curious on "java -version" though This is from a Windows box... C:\>java -version java version "1.6.

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

2010-09-07 Thread Jörg Schaible
Anders Hammar wrote: > I believe that the Java home path given by "mvn -version" on a Windows > platform points at the jre, not the jdk. Possibly someone on Windows could > confirm this? This is normal (also on Linux). I am also curious on "java -version" though ... - Jörg --

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

2010-09-07 Thread Anders Hammar
I believe that the Java home path given by "mvn -version" on a Windows platform points at the jre, not the jdk. Possibly someone on Windows could confirm this? /Anders On Tue, Sep 7, 2010 at 21:33, per-henrik hedman wrote: > Enrique, I'm currious about the Java_home > > Java home: C:\IBM\ibm-ja

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

2010-09-07 Thread per-henrik hedman
Enrique, I'm currious about the Java_home Java home: C:\IBM\ibm-java-sdk-60-win-i386\sdk\jre Does the jre have the javac -command? isn't that with the jdk-suite? Can you do "javac -version" from command line? cheers, Per-Henrik On Tue, Sep 7, 2010 at 7:35 PM, Enrique Gaona wrote: > Per-Henrik

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

2010-09-07 Thread reno
Enrique, JAVA_HOME is sufficient if a javac bin is in the home... per-henrik asked the result of the javac -version command line, could you give us the result please ? S. Vince, I don't have maven-compiler-plugin and settings.xml configured, but why should I? The JAVA_HOME should *supposedl

RE: Issue with help:effective-pom

2010-09-07 Thread GALLAGHER, RON (ATTSI)
Ken, The default packaging type is "jar" [1]. If the the "packaging" entry is missing from the output of "help:effective-pom", then you can safely assume that the packaging is "jar". [1] http://maven.apache.org/ref/2.2.1/maven-model/maven.html#class_project Ron Gallagher -Original Message-

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

2010-09-07 Thread Vincent Latombe
I'm guessing your inherit a parent pom that has a compiler plugin configuration. Isn't it? 2010/9/7 Enrique Gaona > Vince, > I don't have maven-compiler-plugin and settings.xml configured, but why > should I? The JAVA_HOME should *supposedly* be sufficient. I do agree with > you, that by adding

Re: RE : How to generate C++ code and compile it?

2010-09-07 Thread Eyal Goren
Hi, I already resolved it, but basically we had a procedure that needed to generate C++ sources from input files (like in Corba) and I needed to activate it vefore the compilation stage. Eyal -- View this message in context: http://maven.40175.n5.nabble.com/How-to-generate-C-code-and-compile-

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

2010-09-07 Thread Enrique Gaona
Vince, I don't have maven-compiler-plugin and settings.xml configured, but why should I? The JAVA_HOME should *supposedly* be sufficient.I do agree with you, that by adding the maven-compiler-plugin to the parent pom.xml will fix my angst, but I shouldn't have to do that.From the debug o

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

2010-09-07 Thread Enrique Gaona
Per-Henrik The output from mvn -version, is showing Java Home pointing to C:\IBM \ibm-java-sdk-60-win-i386\sdk\jre and the Java Home from echo is pointing to C:\IBM\ibm-java-sdk-60-win-i386\sdk C:\RTC-data\workspace\>mvn -v Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500) Java version: 1.6

Re: sharing assembly descriptor

2010-09-07 Thread Vincent Latombe
Hi, - first, you need to put your assembly under src/main/resources/*assemblies* (as indicated in the link you provided) - then, you should be able to reference either the xml using the descriptor tag like you did 2010/9/7 > Hi all, > > I'm trying to use a shared assembly descriptor as describe

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

2010-09-07 Thread Vincent Latombe
What's your effective pom? (especially maven-compiler-plugin configuration?) I'm guessing something like a property that is supposed to be set through a profile in settings.xml depending on your environment is not defined. 2010/9/7 per-henrik hedman > what's the output from "mvn -version"? Could

RE: RE : How to generate C++ code and compile it?

2010-09-07 Thread Martin Gainty
you will have considerable work cutout for you considering both Microsoft and Borland spent man years perfecting their IDE C++ code generators The NAR plugin allows one to preprocess, compile and link with the OS specific lint, preprocessor, compiler and link utilities these older IDES create

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

2010-09-07 Thread per-henrik hedman
what's the output from "mvn -version"? Could help 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

Cargo re-architecture

2010-09-07 Thread Martin Gainty
I spent some refactoring the many impl classes for what seems to be way too many Abstract Classes and interfaces in cargo-plugin I'm wondering if a re-architec to placing as much functionality into base-classes or possibly Template which could be concretised using configuration parameters to a

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

2010-09-07 Thread Trevor Harmon
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. > One workaround would be specify the maven-compiler-plugin in the parent > pom.xml, but I really don't w

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

2010-09-07 Thread Enrique Gaona
Trevor, Can't say if it works with Oracle's JDK, since I've not tried it before. One workaround would be specify the maven-compiler-plugin in the parent pom.xml, but I really don't want to do that. Enrique Tr

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

2010-09-07 Thread Trevor Harmon
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 Does it work on Oracle's JDK instead of IBM's? Trevor - To unsubscrib

How to contact uploader to maven central of org.eclipse.core artifacts

2010-09-07 Thread Marshall Schor
Today, Maven central was updated with incomplete uploads of several eclipse artifacts: see http://repo2.maven.org/maven2/org/eclipse/core and within that directory are the following subdirectories: org.eclipse.core.contenttype/ 07-Sep-2010 06:27 org.eclipse.core.expressions

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

Issue with help:effective-pom

2010-09-07 Thread Ken Beal
Hi, We have a POM.XML file which has a element in it. When I run "mvn help:effective-pom > effective-pom.txt" and then open the resulting file, the element is missing. I'm fairly new to this so I might be overlooking something. Is this the expected behavior? In searching I found

RE : How to generate C++ code and compile it?

2010-09-07 Thread HARDION Vincent
Hi, I don't understand your question. You want to generate c++ code with perl script and compile it with maven ? Regards, Vincent -Message d'origine- De : Eyal Goren [mailto:eyalg1...@gmail.com] Envoyé : jeudi 19 août 2010 16:00 À : users@maven.apache.org Objet : How to generate C++ c

Re: maven artifacts nested dependencies

2010-09-07 Thread Anders Hammar
Too me it sounds as the design of these projects isn't correct. As you've noticed when building, there's a circular dependency. You need to re-design IMO. /Anders On Tue, Sep 7, 2010 at 09:55, Goli wrote: > > Hi > I have two maven projects. There are different modules in these projects > such a

Re: maven artifacts nested dependencies

2010-09-07 Thread Ron Wheeler
The easiest way to deal with shared libraries is to make them their own projects and have A and B both depend on them. This will likely also make your projects more stable. Sometimes (Web Services for example) projects do depend on artifacts from other main modules but if two modules depend o

Re: variable substitution failled after character @

2010-09-07 Thread ebretonn
Ok, ty a lot Olivier, exactly what i need: see : http://jira.codehaus.org/browse/MRESOURCES-104 to find the solution : add useDefaultDelimiters and delimiter in the configuration element of you resources plugin . false ${*} -- View

Re: variable substitution failled after character @

2010-09-07 Thread Olivier Lamy
Hi, Yes it's currently an issue with the @ (only one @ and no "end" for this) You can remove using defaultDelimiters. Have a look here : http://jira.codehaus.org/browse/MRESOURCES-104 2010/9/7 ebretonn : > > We use maven variable substitution with a property file: > > Before Substitution > -

variable substitution failled after character @

2010-09-07 Thread ebretonn
We use maven variable substitution with a property file: Before Substitution - java.naming.provider.url = t3://${jms.url.provider} jms.outputQueue.name = jms-x...@xxoutputqueue java.naming.provider.url = t3://${jms.url.provider} - After Substitution - java.na

RE: maven artifacts nested dependencies

2010-09-07 Thread Diego Lin
Hi Goli, You may first install modified modules then install the whole project. For your case, you may install the ProjectB api module under its directory, mvn install. Then, install the service module of ProjectA under its directory. After those, under the parent directory, mvn install for the

maven artifacts nested dependencies

2010-09-07 Thread Goli
Hi I have two maven projects. There are different modules in these projects such as api, service and da. I refer to these two projects as ProjectA and ProjectB to describe the issue. ProjectA has an api module which is dependent to the ProjectB api module. Also ProjectB service module is depende

sharing assembly descriptor

2010-09-07 Thread mremersoncod
Hi all, I'm trying to use a shared assembly descriptor as described in http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html Unfortunately it fails with Error: java.net.MalformedURLException: no protocol: assembly-desc.xml My setup is: 1) A project calles "A