[GeoNetwork-devel] SVN trunk doesn't compile / Maven sources unavailable ?

Hi,
I'm trying to set up a trunk project and did the following three commands:

svn co https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk trunk
cd trunk
mvn clean install

It didn't work. Here is the end of the compilation. This message is repeated
4 times for 4 jars that should come from the org.geonetwork-opensource
source...

4) org.geonetwork-opensource:dummy-api:jar:2.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geonetwork-opensource
-DartifactId=dummy-api -Dversion=2.7.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geonetwork-opensource
-DartifactId=dummy-api -Dversion=2.7.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
    1) org.geonetwork-opensource:geonetwork-main:war:2.7.0-SNAPSHOT
    2) org.geonetwork-opensource:dummy-api:jar:2.7.0-SNAPSHOT

----------
4 required artifacts are missing.

Can anyone tell me why this is not working ?

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/SVN-trunk-doesn-t-compile-Maven-sources-unavailable-tp5954958p5954958.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

HI Timothee

If it’s the first time trying to build 2.7, can you try mvn install instead of mvn clean install ?

I think mvn clean tries to search also for the 2.7 artifacts in mvn local repo, but first time are not there yet.

Regards,
Jose García

On Mon, Jan 24, 2011 at 1:13 PM, timothee.becker <timothee.becker@anonymised.com> wrote:

Hi,
I’m trying to set up a trunk project and did the following three commands:

svn co https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk trunk
cd trunk
mvn clean install

It didn’t work. Here is the end of the compilation. This message is repeated
4 times for 4 jars that should come from the org.geonetwork-opensource
source…

  1. org.geonetwork-opensource:dummy-api:jar:2.7.0-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.geonetwork-opensource
-DartifactId=dummy-api -Dversion=2.7.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.geonetwork-opensource
-DartifactId=dummy-api -Dversion=2.7.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.geonetwork-opensource:geonetwork-main:war:2.7.0-SNAPSHOT
  2. org.geonetwork-opensource:dummy-api:jar:2.7.0-SNAPSHOT

4 required artifacts are missing.

Can anyone tell me why this is not working ?


View this message in context: http://osgeo-org.1803224.n2.nabble.com/SVN-trunk-doesn-t-compile-Maven-sources-unavailable-tp5954958p5954958.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi.
Well, what worked for us was first to do a
mvn up
I have the feeling something was wrong with the Maven repo. Shouldn't there
be a Geonetwork repo at http://repo1.maven.org/maven2/org/ ?
Kind regards,
Tim
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/SVN-trunk-doesn-t-compile-Maven-sources-unavailable-tp5954958p5958107.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi Timothee

For now there’s no “online” GeoNetwork maven repository. Something that should come, hopefully soon.

Regards,
Jose García

On Tue, Jan 25, 2011 at 10:45 AM, timothee.becker <timothee.becker@anonymised.com> wrote:

Hi.
Well, what worked for us was first to do a
mvn up
I have the feeling something was wrong with the Maven repo. Shouldn’t there
be a Geonetwork repo at http://repo1.maven.org/maven2/org/ ?
Kind regards,
Tim

View this message in context: http://osgeo-org.1803224.n2.nabble.com/SVN-trunk-doesn-t-compile-Maven-sources-unavailable-tp5954958p5958107.html

Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Tim,

Indeed Jose, there is no public “online” Geonetwork repository at this day.
We should think about it soon at least for specific libs and also for snapshot deploy.

Cheers,

Mathieu

On Tue, Jan 25, 2011 at 10:51 AM, jose garcia <josegar74@anonymised.com> wrote:

Hi Timothee

For now there’s no “online” GeoNetwork maven repository. Something that should come, hopefully soon.

Regards,
Jose García

On Tue, Jan 25, 2011 at 10:45 AM, timothee.becker <timothee.becker@anonymised.com> wrote:

Hi.
Well, what worked for us was first to do a
mvn up
I have the feeling something was wrong with the Maven repo. Shouldn’t there
be a Geonetwork repo at http://repo1.maven.org/maven2/org/ ?
Kind regards,
Tim

View this message in context: http://osgeo-org.1803224.n2.nabble.com/SVN-trunk-doesn-t-compile-Maven-sources-unavailable-tp5954958p5958107.html

Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork