build issue

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

build issue

Hong Zhang-5
Any one seeing this? I have the latest workspace:

Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
[WARNING] Unable to get resource
'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository central
(http://repo1.maven.org/maven2): Error transferring file: Connection
timed out
Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
[WARNING] Unable to get resource
'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository central
(http://repo1.maven.org/maven2): Error transferring file: Connection
timed out
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.glassfish.hk2:hk2-maven-plugin

Reason: POM 'org.glassfish.hk2:hk2-maven-plugin' not found in
repository: Unable to download the artifact from any repository

   org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35

from the specified remote repositories:
   internal-glassfish-nexus
(http://maven.glassfish.org/content/groups/glassfish)

  for project org.glassfish.hk2:hk2-maven-plugin
Reply | Threaded
Open this post in threaded view
|

Re: build issue

Jane Young
Hi Hong,

Looks like your workspace is still referencing maven.glassfish.org.
See workaround here:  
https://wikis.oracle.com/display/GlassFish/FullBuildInstructions#FullBuildInstructions-Unabletobuildbecausemaven.glassfish.orgisoffline

HTH,
Jane

On 3/12/12 2:00 PM, [hidden email] wrote:

> Any one seeing this? I have the latest workspace:
>
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
> [WARNING] Unable to get resource
> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
> central (http://repo1.maven.org/maven2): Error transferring file:
> Connection timed out
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
> [WARNING] Unable to get resource
> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
> central (http://repo1.maven.org/maven2): Error transferring file:
> Connection timed out
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.glassfish.hk2:hk2-maven-plugin
>
> Reason: POM 'org.glassfish.hk2:hk2-maven-plugin' not found in
> repository: Unable to download the artifact from any repository
>
>   org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35
>
> from the specified remote repositories:
>   internal-glassfish-nexus
> (http://maven.glassfish.org/content/groups/glassfish)
>
>  for project org.glassfish.hk2:hk2-maven-plugin

Reply | Threaded
Open this post in threaded view
|

Re: build issue

Sahoo
It basically means there is some reference to non-existent nexus server
in maven settings.xml, right? Instead of removing such stale reference,
why should one add a mirror it instead?

Sahoo

On Tuesday 13 March 2012 03:20 AM, Jane Young wrote:

> Hi Hong,
>
> Looks like your workspace is still referencing maven.glassfish.org.
> See workaround here:  
> https://wikis.oracle.com/display/GlassFish/FullBuildInstructions#FullBuildInstructions-Unabletobuildbecausemaven.glassfish.orgisoffline
>
> HTH,
> Jane
>
> On 3/12/12 2:00 PM, [hidden email] wrote:
>> Any one seeing this? I have the latest workspace:
>>
>> Downloading:
>> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
>> [WARNING] Unable to get resource
>> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
>> central (http://repo1.maven.org/maven2): Error transferring file:
>> Connection timed out
>> Downloading:
>> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
>> [WARNING] Unable to get resource
>> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
>> central (http://repo1.maven.org/maven2): Error transferring file:
>> Connection timed out
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: org.glassfish.hk2:hk2-maven-plugin
>>
>> Reason: POM 'org.glassfish.hk2:hk2-maven-plugin' not found in
>> repository: Unable to download the artifact from any repository
>>
>>   org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35
>>
>> from the specified remote repositories:
>>   internal-glassfish-nexus
>> (http://maven.glassfish.org/content/groups/glassfish)
>>
>>  for project org.glassfish.hk2:hk2-maven-plugin
>

Reply | Threaded
Open this post in threaded view
|

Re: build issue

Hong Zhang-5
What I should change the reference of maven.glassfish.org to? This is
what I have in my settings.xml now:

<?xml version="1.0" encoding="UTF-8"?>
<settings>
<!-- divert the traffic to the external glassfish nexus  to internal
nexus -->
<mirrors>
<mirror>
<id>internal-glassfish-nexus</id>
<url>http://maven.glassfish.org/content/groups/glassfish</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
</settings>

I had no problem building the trunk until recently, is there something
just changed recently?

I tried to do offline build mvn -o clean build, but it seems this is not
in my local repository either:

Project ID: org.glassfish.hk2:hk2-maven-plugin

Reason: POM 'org.glassfish.hk2:hk2-maven-plugin' not found in
repository: System is offline.

   org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35

  for project org.glassfish.hk2:hk2-maven-plugin


How could I work around it?

Thanks,

- Hong


On 3/12/2012 7:34 PM, Sahoo wrote:

> It basically means there is some reference to non-existent nexus
> server in maven settings.xml, right? Instead of removing such stale
> reference, why should one add a mirror it instead?
>
> Sahoo
>
> On Tuesday 13 March 2012 03:20 AM, Jane Young wrote:
>> Hi Hong,
>>
>> Looks like your workspace is still referencing maven.glassfish.org.
>> See workaround here:  
>> https://wikis.oracle.com/display/GlassFish/FullBuildInstructions#FullBuildInstructions-Unabletobuildbecausemaven.glassfish.orgisoffline
>>
>> HTH,
>> Jane
>>
>> On 3/12/12 2:00 PM, [hidden email] wrote:
>>> Any one seeing this? I have the latest workspace:
>>>
>>> Downloading:
>>> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
>>> [WARNING] Unable to get resource
>>> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
>>> central (http://repo1.maven.org/maven2): Error transferring file:
>>> Connection timed out
>>> Downloading:
>>> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
>>> [WARNING] Unable to get resource
>>> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
>>> central (http://repo1.maven.org/maven2): Error transferring file:
>>> Connection timed out
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Error building POM (may not be this project's POM).
>>>
>>>
>>> Project ID: org.glassfish.hk2:hk2-maven-plugin
>>>
>>> Reason: POM 'org.glassfish.hk2:hk2-maven-plugin' not found in
>>> repository: Unable to download the artifact from any repository
>>>
>>>   org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35
>>>
>>> from the specified remote repositories:
>>>   internal-glassfish-nexus
>>> (http://maven.glassfish.org/content/groups/glassfish)
>>>
>>>  for project org.glassfish.hk2:hk2-maven-plugin
>>
>
Reply | Threaded
Open this post in threaded view
|

RE: build issue

David Zhao-4
Hi Hong,

Are you behind a firewall? If yes please try to set proxy in settings.xml.

Thanks,
David Zhao

-----Original Message-----
From: Hong Zhang
Sent: Tuesday, March 13, 2012 9:20 AM
To: Sanjeeb Sahoo
Cc: [hidden email]; Jane Young; [hidden email]
Subject: Re: build issue

What I should change the reference of maven.glassfish.org to? This is what I have in my settings.xml now:

<?xml version="1.0" encoding="UTF-8"?>
<settings>
<!-- divert the traffic to the external glassfish nexus  to internal nexus --> <mirrors> <mirror> <id>internal-glassfish-nexus</id> <url>http://maven.glassfish.org/content/groups/glassfish</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
</settings>

I had no problem building the trunk until recently, is there something just changed recently?

I tried to do offline build mvn -o clean build, but it seems this is not in my local repository either:

Project ID: org.glassfish.hk2:hk2-maven-plugin

Reason: POM 'org.glassfish.hk2:hk2-maven-plugin' not found in
repository: System is offline.

   org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35

  for project org.glassfish.hk2:hk2-maven-plugin


How could I work around it?

Thanks,

- Hong


On 3/12/2012 7:34 PM, Sahoo wrote:

> It basically means there is some reference to non-existent nexus
> server in maven settings.xml, right? Instead of removing such stale
> reference, why should one add a mirror it instead?
>
> Sahoo
>
> On Tuesday 13 March 2012 03:20 AM, Jane Young wrote:
>> Hi Hong,
>>
>> Looks like your workspace is still referencing maven.glassfish.org.
>> See workaround here:  
>> https://wikis.oracle.com/display/GlassFish/FullBuildInstructions#Full
>> BuildInstructions-Unabletobuildbecausemaven.glassfish.orgisoffline
>>
>> HTH,
>> Jane
>>
>> On 3/12/12 2:00 PM, [hidden email] wrote:
>>> Any one seeing this? I have the latest workspace:
>>>
>>> Downloading:
>>> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk
>>> 2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
>>> [WARNING] Unable to get resource
>>> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
>>> central (http://repo1.maven.org/maven2): Error transferring file:
>>> Connection timed out
>>> Downloading:
>>> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk
>>> 2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
>>> [WARNING] Unable to get resource
>>> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
>>> central (http://repo1.maven.org/maven2): Error transferring file:
>>> Connection timed out
>>> [INFO]
>>> --------------------------------------------------------------------
>>> ----
>>>
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> --------------------------------------------------------------------
>>> ----
>>>
>>> [INFO] Error building POM (may not be this project's POM).
>>>
>>>
>>> Project ID: org.glassfish.hk2:hk2-maven-plugin
>>>
>>> Reason: POM 'org.glassfish.hk2:hk2-maven-plugin' not found in
>>> repository: Unable to download the artifact from any repository
>>>
>>>   org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35
>>>
>>> from the specified remote repositories:
>>>   internal-glassfish-nexus
>>> (http://maven.glassfish.org/content/groups/glassfish)
>>>
>>>  for project org.glassfish.hk2:hk2-maven-plugin
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: build issue

Sahoo
In reply to this post by Hong Zhang-5
Hong,

Since http://maven.glassfish.org/content/groups/glassfish has been
decommissioned, you can't use it as a mirror anymore. Just remove the
entire <mirror/> element.

Sahoo
On Tuesday 13 March 2012 06:49 AM, [hidden email] wrote:

> What I should change the reference of maven.glassfish.org to? This is
> what I have in my settings.xml now:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <settings>
> <!-- divert the traffic to the external glassfish nexus  to internal
> nexus -->
> <mirrors>
> <mirror>
> <id>internal-glassfish-nexus</id>
> <url>http://maven.glassfish.org/content/groups/glassfish</url>
> <mirrorOf>*</mirrorOf>
> </mirror>
> </mirrors>
> </settings>
>
> I had no problem building the trunk until recently, is there something
> just changed recently?
>
> I tried to do offline build mvn -o clean build, but it seems this is
> not in my local repository either:
>
> Project ID: org.glassfish.hk2:hk2-maven-plugin
>
> Reason: POM 'org.glassfish.hk2:hk2-maven-plugin' not found in
> repository: System is offline.
>
>   org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35
>
>  for project org.glassfish.hk2:hk2-maven-plugin
>
>
> How could I work around it?
>
> Thanks,
>
> - Hong
>
>
> On 3/12/2012 7:34 PM, Sahoo wrote:
>> It basically means there is some reference to non-existent nexus
>> server in maven settings.xml, right? Instead of removing such stale
>> reference, why should one add a mirror it instead?
>>
>> Sahoo
>>
>> On Tuesday 13 March 2012 03:20 AM, Jane Young wrote:
>>> Hi Hong,
>>>
>>> Looks like your workspace is still referencing maven.glassfish.org.
>>> See workaround here:  
>>> https://wikis.oracle.com/display/GlassFish/FullBuildInstructions#FullBuildInstructions-Unabletobuildbecausemaven.glassfish.orgisoffline
>>>
>>> HTH,
>>> Jane
>>>
>>> On 3/12/12 2:00 PM, [hidden email] wrote:
>>>> Any one seeing this? I have the latest workspace:
>>>>
>>>> Downloading:
>>>> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
>>>> [WARNING] Unable to get resource
>>>> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
>>>> central (http://repo1.maven.org/maven2): Error transferring file:
>>>> Connection timed out
>>>> Downloading:
>>>> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/hk2/hk2-maven-plugin/1.6.35/hk2-maven-plugin-1.6.35.pom
>>>> [WARNING] Unable to get resource
>>>> 'org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35' from repository
>>>> central (http://repo1.maven.org/maven2): Error transferring file:
>>>> Connection timed out
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO] Error building POM (may not be this project's POM).
>>>>
>>>>
>>>> Project ID: org.glassfish.hk2:hk2-maven-plugin
>>>>
>>>> Reason: POM 'org.glassfish.hk2:hk2-maven-plugin' not found in
>>>> repository: Unable to download the artifact from any repository
>>>>
>>>>   org.glassfish.hk2:hk2-maven-plugin:pom:1.6.35
>>>>
>>>> from the specified remote repositories:
>>>>   internal-glassfish-nexus
>>>> (http://maven.glassfish.org/content/groups/glassfish)
>>>>
>>>>  for project org.glassfish.hk2:hk2-maven-plugin
>>>
>>