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 <[email protected]> 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/antlr3-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

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to