You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2005/12/10 19:30:51 UTC

Groovy depedency problem?

I'm in the process of converting my project (HiveMind) from an Ant
build to Maven 2.0.

We have a compile-time dependency on Groovy.

I've tried the following:

        <dependency>
            <groupId>groovy</groupId>
            <artifactId>groovy-all</artifactId>
            <version>1.0-jsr-03</version>
            <scope>compile</scope>
        </dependency>

But get the following error:

bash-3.00$ mvn install
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building HiveMind Standard Library
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://repo1.maven.org/maven2/groovy/groovy-all/1.0-jsr-03/groovy-all-1.0-jsr-03.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/groovy/groovy-all/1.0-jsr-03/groovy-all-1.0-jsr-03.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: groovy
ArtifactId: groovy-all
Version: 1.0-jsr-03

Reason: Unable to download the artifact from any repository
  groovy:groovy-all:1.0-jsr-03:jar

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] ----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Sat Dec 10 10:23:29 PST 2005
[INFO] Final Memory: 3M/6M
[INFO] ----------------------------------------------------------------------------
bash-3.00$

I can see that the files are there, though I don't understand the
maven 2 repository layout:

http://www.ibiblio.org/maven2/groovy/groovy-all-1.0-jsr/03/

Thanks!

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Groovy depedency problem?

Posted by Howard Lewis Ship <hl...@gmail.com>.
Things suddenly clicked for me:

        <dependency>
            <groupId>groovy</groupId>
            <artifactId>groovy-all-1.0-jsr</artifactId>
            <version>03</version>
            <scope>compile</scope>
        </dependency>

On 12/10/05, Howard Lewis Ship <hl...@gmail.com> wrote:
> I'm in the process of converting my project (HiveMind) from an Ant
> build to Maven 2.0.
>
> We have a compile-time dependency on Groovy.
>
> I've tried the following:
>
>         <dependency>
>             <groupId>groovy</groupId>
>             <artifactId>groovy-all</artifactId>
>             <version>1.0-jsr-03</version>
>             <scope>compile</scope>
>         </dependency>
>
> But get the following error:
>
> bash-3.00$ mvn install
> [INFO] Scanning for projects...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building HiveMind Standard Library
> [INFO]    task-segment: [install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading: http://repo1.maven.org/maven2/groovy/groovy-all/1.0-jsr-03/groovy-all-1.0-jsr-03.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> Downloading: http://repo1.maven.org/maven2/groovy/groovy-all/1.0-jsr-03/groovy-all-1.0-jsr-03.jar
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: groovy
> ArtifactId: groovy-all
> Version: 1.0-jsr-03
>
> Reason: Unable to download the artifact from any repository
>   groovy:groovy-all:1.0-jsr-03:jar
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>
> [INFO] ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Sat Dec 10 10:23:29 PST 2005
> [INFO] Final Memory: 3M/6M
> [INFO] ----------------------------------------------------------------------------
> bash-3.00$
>
> I can see that the files are there, though I don't understand the
> maven 2 repository layout:
>
> http://www.ibiblio.org/maven2/groovy/groovy-all-1.0-jsr/03/
>
> Thanks!
>
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org