[antlr-interest] New Maven artifacts, some fixes, buidlable source
Tilman Bender
tbender at stud.hs-heilbronn.de
Sun May 3 05:01:06 PDT 2009
Hi all,
Jim, first of all: Thank you veeery much for the gunit-plugin and the
long anticipated fix to antlr3-maven-plugin :-)
Keen on using the new feature I followed your instructions to include
the plugin into my projects.
Unfortunately updating failed with:
mvn test
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building AirthPlus Compiler
[INFO] task-segment: [test]
[INFO]
------------------------------------------------------------------------
[INFO] snapshot org.antlr:antlr3-maven-plugin:3.1.4-SNAPSHOT: checking
for updates from antlr-snapshot
Downloading: http://antlr.org/antlr-snapshot/org/antlr/antlr3-maven-plugin/3.1.4-SNAPSHOT/antlr3-maven-plugin-3.1.4-20090501.221241-30.pom
11K downloaded (antlr3-maven-plugin-3.1.4-20090501.221241-30.pom)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found -
check that the goal name is correct: Unable to download the artifact
from any repository
I could fix this by using PluginRepository instead of Repository.
<pluginRepositories>
<!--
This is the ANTLR repository.
-->
<pluginRepository>
<id>antlr-snapshot</id>
<name>ANTLR Testing Snapshot Repository</name>
<url>http://antlr.org/antlr-snapshot</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tbender at stud.hs-heilbronn.de
Am 02.05.2009 um 00:31 schrieb Jim Idle:
> 1) Add a reference to the ANTLR snapshot repository at the <project>
> level:
>
> <!--
>
> Inform Maven of the ANTLR snapshot repository, which it will
> need to consult to get the latest snapshot build of the runtime
> and tool
> if it was not built and installed locally.
> -->
> <repositories>
>
> <!--
> This is the ANTLR repository.
> -->
> <repository>
> <id>antlr-snapshot</id>
> <name>ANTLR Testing Snapshot Repository</name>
> <url>http://antlr.org/antlr-snapshot</url>
> <snapshots>
> <enabled>true</enabled>
> <updatePolicy>always</updatePolicy>
> </snapshots>
>
> <releases>
> <enabled>false</enabled>
> </releases>
>
> </repository>
>
> </repositories>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090503/97df50eb/attachment.html
More information about the antlr-interest
mailing list