You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by noemi rc <no...@hotmail.com> on 2010/06/08 10:58:24 UTC
pom.xml ERROR
Hi,
When I changed the parent artifactId
<parent>
<groupId>org.gvsig</groupId>
<artifactId>gvsig-base-pom</artifactId>
<version>2.0-SNAPSHOT</version>
</parent>
to:
<parent>
<groupId>org.gvsig</groupId>
<artifactId>gvsig-base-extension-pom</artifactId>
<version>2.0-SNAPSHOT</version>
</parent>
The pom.xml shows this error:
Project build error: For managed dependency jre:javaws:jar: system-scoped
dependency must specify an absolute systemPath but is
${java.home}/lib/javaws.jar
and cannot import all the dependencies I have, does anybody knows why ???
any idea ????
please I need some help !!!!
Thanks.
--
View this message in context: http://old.nabble.com/pom.xml-ERROR-tp28815350p28815350.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: pom.xml ERROR
Posted by Justin Edelson <ju...@gmail.com>.
On 6/8/10 10:59 AM, noemi rc wrote:
>
> Hi !
>
> thanks for your quick answer, I don't know what I have to do to set the
> java.home property, the parent pom and my pom have no java.home property.
> Can you help me ??? please, I'm running out of time !!!!
>
>
> Thanks again !!
>
http://lmgtfy.com/?q=set+a+property+in+a+maven+pom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: pom.xml ERROR
Posted by Anders Hammar <an...@hammar.net>.
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
I believe setting env property JAVA_HOME should be enough.
/Anderfs
On Tue, Jun 8, 2010 at 19:04, noemi rc <no...@hotmail.com> wrote:
>
> Thanks, i will
>
> I googled this error but, I didn't find any solution.
> I also put the propertie <java.home> in my pom, but it didn't work.
> I have no projects in the whole workspace with the jre:javaws:jar
> dependency, so, I don't know what else I can do ...
>
> Thanks anyway
> --
> View this message in context:
> http://old.nabble.com/pom.xml-ERROR-tp28815350p28820535.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: pom.xml ERROR
Posted by noemi rc <no...@hotmail.com>.
Thanks, i will
I googled this error but, I didn't find any solution.
I also put the propertie <java.home> in my pom, but it didn't work.
I have no projects in the whole workspace with the jre:javaws:jar
dependency, so, I don't know what else I can do ...
Thanks anyway
--
View this message in context: http://old.nabble.com/pom.xml-ERROR-tp28815350p28820535.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: pom.xml ERROR
Posted by Wayne Fay <wa...@gmail.com>.
> thanks for your quick answer, I don't know what I have to do to set the
> java.home property, the parent pom and my pom have no java.home property.
> Can you help me ??? please, I'm running out of time !!!!
Ask the person who gave you the pom.xml file and the Java project for
help with it.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: pom.xml ERROR
Posted by noemi rc <no...@hotmail.com>.
Hi !
thanks for your quick answer, I don't know what I have to do to set the
java.home property, the parent pom and my pom have no java.home property.
Can you help me ??? please, I'm running out of time !!!!
Thanks again !!
--
View this message in context: http://old.nabble.com/pom.xml-ERROR-tp28815350p28819111.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: pom.xml ERROR
Posted by Justin Edelson <ju...@gmail.com>.
On 6/8/10 4:58 AM, noemi rc wrote:
>
> Hi,
>
> When I changed the parent artifactId
> <parent>
> <groupId>org.gvsig</groupId>
> <artifactId>gvsig-base-pom</artifactId>
> <version>2.0-SNAPSHOT</version>
> </parent>
> to:
> <parent>
> <groupId>org.gvsig</groupId>
> <artifactId>gvsig-base-extension-pom</artifactId>
> <version>2.0-SNAPSHOT</version>
> </parent>
>
> The pom.xml shows this error:
> Project build error: For managed dependency jre:javaws:jar: system-scoped
> dependency must specify an absolute systemPath but is
> ${java.home}/lib/javaws.jar
>
> and cannot import all the dependencies I have, does anybody knows why ???
Did you read the error message? It's pretty explicit - you need to set
the java.home property. Whomever is distributing this parent POM should
really make this clear or, better yet, not use the system scope at all.
Justin
> any idea ????
> please I need some help !!!!
>
> Thanks.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org