Hi Martin - it is my understanding if I run 'mvn install' inside the directory
C:\SVN\jts-wrapper\module\jtsGeometry>
...this will try to build the jtsGeometry jar file and install it into
my local mvn repository -- however, in order to do this, it needs to
d/l and find all of its dependencies. One of the dependencies is
gt2-jar-collector-2.3-SNAPSHOT.jar -- and since mvn cannnot find that,
this would fail too.
The top-level parent pom.xml has
<repository>
<id>geotools</id>
<name>Geotools repository</name>
<url>http://maven.geotools.fr/repository</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
Which is where mvn should be going to get this SNAPSHOT, and it does
indeed exist at
http://maven.geotools.fr/repository/org/geotools/gt2-jar-collector/2.3-SNAPSHOT/
...I just don't know why mvn doesn't seem to look in this repository to find it?
Cory : I tried relative path with mvn install:installfile -Dfile but
it makes no difference.
My bet is that if someone wiped out their .m2/repository, and tried
this, they'd see similar behavior.
Regards,
Davis
On 7/20/06, Martin Desruisseaux <[EMAIL PROTECTED]> wrote:
> Davis Ford a écrit :
> > Hi, I checked out Bryce's branch of jtsGeometry,
> >
> > svn co http://svn.geotools.org/geotools/branches/jts-wrapper/
> >
> > and I'm trying to create an Eclipse project but maven cannot seem to
> > find gt2-jar-collector-2.3-SNAPSHOT ->
> >
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'eclipse'.
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building ISO 19107 implementation using JTS
> > [INFO] task-segment: [eclipse:eclipse]
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Preparing eclipse:eclipse
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
>
>
> Did you tried a "mvn install" before "mvn eclipse:eclipse"? Executing "mvn
> install" should be the
> gt2-jar-collector in your local repository without the need for a manual "mvn
> install:install-file".
>
> Martin.
>
--
Zeno Consulting, Inc.
(248) 894-4922 (p)
(206) 202-4077 (f)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel