[antlr-interest] Mavin: Unable to find resource 'org.antlr:antlr3-maven-archetype:jar:3.3'

Jim Idle jimi at temporal-wave.com
Tue Dec 28 10:50:24 PST 2010


Yes - I will need to fic this, but you can just as easily use the prior
version and then change the ANTLR reference to 3.3 instead of 3.2 - there
are no other differences.

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Pop Qvarnström
> Sent: Tuesday, December 28, 2010 12:39 AM
> To: Ian Tegebo
> Cc: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] Mavin: Unable to find resource
> 'org.antlr:antlr3-maven-archetype:jar:3.3'
>
> Hi,
>
> There seems to be a problem with the filename in the repo. To make it
> work with the release version, you can try a manual install to your
> local
> repository:
> 1. Dowload the file
> http://repo1.maven.org/maven2/org/antlr/antlr3-maven-
> archetype/3.3/antlr3-maven-archetype-3.3.maven-archetypeand
> save it as
> antlr3-maven-archetype-3.3.maven-archetype.jar
> 2. Download the file
> http://repo1.maven.org/maven2/org/antlr/antlr3-maven-
> archetype/3.3/antlr3-maven-archetype-3.3.maven-archetype.md5to
> the same directory as the previous file
> 3. In the directory where you saved the file in step 1, run md5sum
> antlr3-maven-archetype-3.3.maven-archetype.jar and verify that the
> resulting hash is identical to the hash in the file downloaded in step
> 2.
> 4. In the directory where you saved the file in step 1, run the
> following
> command: mvn install:install-file
> -Dfile=antlr3-maven-archetype-3.3.maven-archetype.jar -
> DgroupId=org.antlr -DartifactId=antlr3-maven-archetype -Dversion=3.3 -
> Dpackaging=jar -DgeneratePom=true
>
> Similar procedure to get a local install of a SNAPSHOT version if
> desired.
>
> Cheers,
> Pop Qvarnström
>
> On Mon, Dec 27, 2010 at 12:43 AM, Ian Tegebo <ian.tegebo at gmail.com>
> wrote:
>
> > When I run,
> >
> > mvn archetype:generate
> >
> > (select 63 for "remote -> antlr3-maven-archetype (-)")
> >
> > I get,
> >
> > Downloading:
> > http://repo1.maven.org/maven2/org/antlr/antlr3-maven-
> archetype/3.3/ant
> > lr3-maven-archetype-3.3.jar
> > [INFO] Unable to find resource
> > 'org.antlr:antlr3-maven-archetype:jar:3.3' in repository central
> > (http://repo1.maven.org/maven2)
> > [INFO]
> > ---------------------------------------------------------------------
> -
> > --
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ---------------------------------------------------------------------
> -
> > -- [INFO] The desired archetype does not exist
> > (org.antlr:antlr3-maven-archetype:3.3)
> >
> > While I can see that it may simply be mis-named (missing the
> extension
> > '.jar'):
> >
> > http://repo2.maven.org/maven2/org/antlr/antlr3-maven-archetype/3.3/
> >
> > And the SNAPSHOT appears to exist and have '.jar':
> > http://www.antlr.org/depot/antlr3/main/antlr3-maven-archetype/target
> >
> > Unfortunately, I'm just getting started with Maven and I can't seem
> to
> > figure out how to get a local repository setup such that 'mvn
> > archetype:generate' finds the SNAPSHOT resource.
> >
> > --
> > Ian Tegebo
> >
> > List: http://www.antlr.org/mailman/listinfo/antlr-interest
> > Unsubscribe:
> > http://www.antlr.org/mailman/options/antlr-interest/your-email-
> address
> >
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address


More information about the antlr-interest mailing list