dev@glassfish.java.net

Re: build error question

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Mon, 26 Oct 2009 11:53:12 -0400

Since this is on Mac, I'm guessing you ran into the same issue I did:
a Mac Java update repointed /usr/share/maven (this is what /usr/bin/
mvn points to) from /usr/share/java/apache-maven-2.0.9 to something
else. You can just fix that link so that you have:

hostname% pwd
/usr/bin
hostname% ls -l | grep mvn
lrwxr-xr-x 1 root wheel 24 Sep 3 17:32 mvn -> /usr/
share/maven/bin/mvn

and:

hostname% pwd
/usr/share
hostname% ls -l | grep maven
drwxr-xr-x 9 root wheel 306 Apr 7 2008 apache-maven-2.0.9
lrwxr-xr-x 1 root wheel 23 Sep 8 11:42 maven -> java/apache-
maven-2.0.9


On Oct 26, 2009, at 11:35 AM, Jane Young wrote:

> Hi Rebecca,
>
> What version of maven are you using?
> Do not use Maven 2.2.0.
> Thanks,
> Jane
>
>
> Rebecca Searls wrote:
>> I am building GFv3 for the first time and getting this error in the
>> packager module.
>>
>> create.package:
>> Downloading: http://download.java.net/maven/glassfish/org/glassfish/javax.servlet/
>> [3.0-b57,3.1)/javax.servlet-[3.0-b57,3.1).pom
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] An Ant BuildException has occured: The following error
>> occurred while executing this line:
>> /Users/rsearls/Desktop/d4/v3/packager/glassfish-verifier/build.xml:
>> 29: java.lang.IllegalArgumentException: Invalid uri 'http://download.java.net/maven/glassfish/org/glassfish/javax.servlet/
>> [3.0-b57,3.1)/javax.servlet-[3.0-b57,3.1).pom': escaped absolute
>> path not valid
>>
>>
>> This is very odd looking javax.servlet-[3.0-b57,3.1).pom with the
>> '[', ')' and ',3.1'
>>
>> How should this be resolved?
>>
>> this is my bld env.
>>
>> v3=>mvn -version
>> Apache Maven 2.2.0 (r788681; 2009-06-26 09:04:01-0400)
>> Java version: 1.6.0_15
>> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/
>> 1.6.0/Home
>> Default locale: en_US, platform encoding: MacRoman
>> OS name: "mac os x" version: "10.5.8" arch: "x86_64" Family: "mac"
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>