darshakshah1988 / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 1 forks source link

Maven Error with 3.0.0 #190

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using any pom.xml with this dependency
<dependency>
  <groupId>com.googlecode.gmaps4jsf</groupId>
  <artifactId>gmaps4jsf-core</artifactId>
  <version>3.0.0</version>
  <scope>compile</scope>
</dependency>

and this repository

<repository>
  <id>googlecode-gmaps4jsf</id>
  <name>Gmaps4jsf</name>
  <url>http://gmaps4jsf.googlecode.com/svn/trunk/gmaps4jsf-repo/</url>
</repository>

2a. mvn install -U -e
2b. Eclipse

What is the expected output? What do you see instead?

Expected: A succesful build.
But: 
Downloading: 
http://gmaps4jsf.googlecode.com/svn/trunk/gmaps4jsf-repo/com/googlecode/gmaps4js
f/gmaps4jsf-project/3.0.0/gmaps4jsf-project-3.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

What version of the product are you using? On what operating system?

Version 3.0.0 on Ubuntu with Maven 3.0.4

Please provide any additional information below.

There seems to be an error in the pom file from version 3.0.0. If you look at 
the parent element, there is a reference to "gmaps4jsf-project" but there is no 
folder in the repo with the given name.

Additionally there was a second problem which I was able to circumvent with a 
mirror declaration in my settings.xml file.

pom.xml version 3.0.0 also refers to this repository
<repository>
  <id>repository.jboss.org</id>
  <name>JBoss Repository for Maven</name>
  <url>http://repository.jboss.org/maven2</url>
</repository>

This Jboss repository is deprecated and http requests result in an http error 
403, which in turn crashes Maven. The url should be replaced with a valid one, 
e.g.
https://repository.jboss.org/nexus/content/repositories/deprecated/

Kind Regards,
Andy

Original issue reported on code.google.com by hirner.a...@gmail.com on 27 Feb 2013 at 3:00

GoogleCodeExporter commented 8 years ago
Ouch! I will work on fixing this in the weekend!

Thanks for reporting this issue.

Original comment by Hazem.sa...@gmail.com on 28 Feb 2013 at 12:16

GoogleCodeExporter commented 8 years ago
Fixed, an example that uses GMaps4JSF 3.0.0 is located here:
http://code.google.com/p/mashups4jsf/source/browse/trunk/examples/pom.xml

Original comment by Hazem.sa...@gmail.com on 13 Mar 2013 at 11:58

GoogleCodeExporter commented 8 years ago
I would like to re-open this, as I am seeing the same issue. See the attached 
build log. The repository has been added to our Nexus repo manager, so it's 
resolving via that.

Original comment by stephen....@gmail.com on 20 Mar 2013 at 3:35

Attachments:

GoogleCodeExporter commented 8 years ago
I re-opened it. I'm working on fixing it now.

Original comment by Hazem.sa...@gmail.com on 22 Mar 2013 at 3:00

GoogleCodeExporter commented 8 years ago
I do not know how did I do this mistake!

Yes, you are right, it was broken.

I fixed this now.

Let me know if you have any more issues.

Original comment by Hazem.sa...@gmail.com on 22 Mar 2013 at 3:10

GoogleCodeExporter commented 8 years ago
Still the same issue perists.

Original comment by imargar...@gmail.com on 13 May 2014 at 12:07