Folks,
I've succcessfully built GeoTools, but Maven fails to build the just SVN-updated GeoServer WCS branch, stating;
<<
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.geoserver:geoserver' not found in repository: Unable to download the artifact from any repository
org.geoserver:geoserver:pom:1.4.0-M1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)
... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
org.geoserver:geoserver:pom:1.4.0-M1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
>>
Any clue ?
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
Hmm it built fine here... I am not sure what to suggest except doing
an "mvn -Dmaven.test.skip clean install" for both gt-trunk and
geoserver.
Alex
On 8/22/06, Luca Morandini <lmorandini@anonymised.com> wrote:
Folks,
I've succcessfully built GeoTools, but Maven fails to build the just
SVN-updated GeoServer WCS branch, stating;
<<
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.geoserver:geoserver' not found in repository: Unable to download
the artifact from any repository
org.geoserver:geoserver:pom:1.4.0-M1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)
... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository
org.geoserver:geoserver:pom:1.4.0-M1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
>>
Any clue ?
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Alexander Petkov wrote:
Hmm it built fine here... I am not sure what to suggest except doing
an "mvn -Dmaven.test.skip clean install" for both gt-trunk and
geoserver.
No joy. BTW, does artifact org.geoserver:geoserver:pom:1.4.0-M1 exist under http://repo1.maven.org/maven2 ?
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
Luca Morandini ha scritto:
Folks,
I've succcessfully built GeoTools, but Maven fails to build the just SVN-updated GeoServer WCS branch, stating;
<<
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.geoserver:geoserver' not found in repository: Unable to download the artifact from any repository
org.geoserver:geoserver:pom:1.4.0-M1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
I'm not sure, but I guess the following may apply: are you running the
build from the top folder? If so, it should work since the main
pom says:
<groupId>org.geoserver</groupId>
<artifactId>geoserver</artifactId>
<packaging>pom</packaging>
<version>1.4.0-M1</version>
<name>GeoServer</name>
so it is the missing artifact. Try a mvn install from the root folder.
Cheers
Andrea Aime
Andrea Aime wrote:
Luca Morandini ha scritto:
Folks,
I've succcessfully built GeoTools, but Maven fails to build the just SVN-updated GeoServer WCS branch, stating;
<<
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.geoserver:geoserver' not found in repository: Unable to download the artifact from any repository
org.geoserver:geoserver:pom:1.4.0-M1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
I'm not sure, but I guess the following may apply: are you running the
build from the top folder? If so, it should work since the main
pom says:
<groupId>org.geoserver</groupId>
<artifactId>geoserver</artifactId>
<packaging>pom</packaging>
<version>1.4.0-M1</version>
<name>GeoServer</name>
so it is the missing artifact. Try a mvn install from the root folder.
If I try from root it laments that <<Cannot execute mojo: clean. It requires a project with an existing pom.xml, but the build is not using one.>>
But when I issue the same command from the maven directory, I got the "missing artifact" error.
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
Ciao Luca,
my dumb suggestions is to simply delete the repository of maven 2 from
the disk and reinstall as andrea suggested. It will take a lot of
ftime since it will download everything from scratch, but a couple of
times this approach saved my life.
Simone.
On 8/22/06, Luca Morandini <lmorandini@anonymised.com> wrote:
Andrea Aime wrote:
> Luca Morandini ha scritto:
>> Folks,
>>
>> I've succcessfully built GeoTools, but Maven fails to build the just
>> SVN-updated GeoServer WCS branch, stating;
>>
>> <<
>> Caused by: org.apache.maven.project.ProjectBuildingException: POM
>> 'org.geoserver:geoserver' not found in repository: Unable to download
>> the artifact from any repository
>>
>> org.geoserver:geoserver:pom:1.4.0-M1
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2)
>
> I'm not sure, but I guess the following may apply: are you running the
> build from the top folder? If so, it should work since the main
> pom says:
>
> <groupId>org.geoserver</groupId>
> <artifactId>geoserver</artifactId>
> <packaging>pom</packaging>
> <version>1.4.0-M1</version>
> <name>GeoServer</name>
>
> so it is the missing artifact. Try a mvn install from the root folder.
If I try from root it laments that <<Cannot execute mojo: clean. It
requires a project with an existing pom.xml, but the build is not using
one.>>
But when I issue the same command from the maven directory, I got the
"missing artifact" error.
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions
http://www.geo-solutions.it
-------------------------------------------------------
Hi Luca:
The root folder does indeed have a pom.xml file. Is yours missing?
I can attach it if you want.
Alex
On 8/22/06, Luca Morandini <lmorandini@anonymised.com> wrote:
Andrea Aime wrote:
> Luca Morandini ha scritto:
>> Folks,
>>
>> I've succcessfully built GeoTools, but Maven fails to build the just
>> SVN-updated GeoServer WCS branch, stating;
>>
>> <<
>> Caused by: org.apache.maven.project.ProjectBuildingException: POM
>> 'org.geoserver:geoserver' not found in repository: Unable to download
>> the artifact from any repository
>>
>> org.geoserver:geoserver:pom:1.4.0-M1
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2)
>
> I'm not sure, but I guess the following may apply: are you running the
> build from the top folder? If so, it should work since the main
> pom says:
>
> <groupId>org.geoserver</groupId>
> <artifactId>geoserver</artifactId>
> <packaging>pom</packaging>
> <version>1.4.0-M1</version>
> <name>GeoServer</name>
>
> so it is the missing artifact. Try a mvn install from the root folder.
If I try from root it laments that <<Cannot execute mojo: clean. It
requires a project with an existing pom.xml, but the build is not using
one.>>
But when I issue the same command from the maven directory, I got the
"missing artifact" error.
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Alexander Petkov wrote:
Hi Luca:
The root folder does indeed have a pom.xml file. Is yours missing?
I can attach it if you want.
Please do, I've just updated the code via SVN but no pom.xml in sight.
Regards... and thanks a lot !
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
Alexander Petkov wrote:
Hi Luca:
The root folder does indeed have a pom.xml file. Is yours missing?
I can attach it if you want.
This solved the problem 
Thanks again.
--------------------
Luca Morandini
www.lucamorandini.it
--------------------