Wilfred, thank you for taking time to read my issue, recognize my
problem, respond to it and do work to improve the situation. All
acknowledged and greatly appreciated.
Mark
On Feb 20, 2009, at 4:11 AM, Wilfred Springer wrote:
> Hi Mark,
>
> I updated documentation to include the location of the repositories.
> It's all working as expected.
>
> Wilfred
>
> 2009/2/20 Wilfred Springer <wilfredspringer_at_gmail.com>
> ... and remember that the repository does not allow directory
> browsing. So if you hit the link above, and the site complains,
> that's not necessarily a problem.
>
>
> 2009/2/20 Wilfred Springer <wilfredspringer_at_gmail.com>
> Hi Mark,
>
> If you feel like giving the snapshot repository a try, then you at
> least need to reference:
>
> http://wadl.dev.java.net/snapshots/
>
> with the snapshots property set to enabled.
>
> I will try to post a more complete solution in a couple of hours.
>
> Wilfred
>
> 2009/2/20 Wilfred Springer <wilfredspringer_at_gmail.com>
>
> Hi Mark,
>
> AFAICT, the Maven WADL Plugin has never been uploaded to a public
> repository. wadl.dev.java.net has its own snapshot repository, but
> it is not referenced in the example. So if you never built the WADL
> project yourself, locally, it most likely will not be able to locate
> those files.
>
> So, I suggest that you check out the sources of wadl.dev.java.net
> yourself first. I expect that will do the trick for you. Meanwhile I
> will try to remember the location of our own snapshot repository,
> and update the site to make sure the snapshot repository is
> referenced.
>
> Thanks,
>
> Wilfred
>
>
>
> 2009/2/20 Mark Petrovic <mark_at_petrovic.org>
>
> Good day. Sorry for the large splats of data that follow - it's the
> bare minimum of data I felt needed to be posted.
>
> I have some evidence that the dependency of the maven plugin for the
> WADL compiler does not resolve. This config:
>
> https://wadl.dev.java.net/wadl2java.html
>
> with
>
> <dependency>
> <groupId>org.jvnet.ws.wadl</groupId>
> <artifactId>wadl-core</artifactId>
> <version>1.0-SNAPSHOT</version>
> </dependency>
>
> produces the following output upon executing the install lifecycle:
>
> $ mvn install
> ...
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot org.jvnet.ws.wadl:wadl-core:1.0-SNAPSHOT: checking
> for updates from glassfish-maven2-repository.dev.java.net
> [INFO] snapshot org.jvnet.ws.wadl:wadl-core:1.0-SNAPSHOT: checking
> for updates from maven2-repository.dev.java.net
> [INFO] snapshot org.jvnet.ws.wadl:wadl-core:1.0-SNAPSHOT: checking
> for updates from maven-repository.dev.java.net
> Downloading: http://download.java.net/maven/glassfish//org/jvnet/ws/wadl/wadl-core/1.0-SNAPSHOT/wadl-core-1.0-SNAPSHOT.pom
> Downloading: http://download.java.net/maven/2//org/jvnet/ws/wadl/wadl-core/1.0-SNAPSHOT/wadl-core-1.0-SNAPSHOT.pom
> Downloading: http://download.java.net/maven/1/org.jvnet.ws.wadl/poms/wadl-core-1.0-SNAPSHOT.pom
> Downloading: http://download.java.net/maven/glassfish//org/jvnet/ws/wadl/wadl-core/1.0-SNAPSHOT/wadl-core-1.0-SNAPSHOT.jar
> Downloading: http://download.java.net/maven/2//org/jvnet/ws/wadl/wadl-core/1.0-SNAPSHOT/wadl-core-1.0-SNAPSHOT.jar
> Downloading: http://download.java.net/maven/1/org.jvnet.ws.wadl/jars/wadl-core-1.0-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.jvnet.ws.wadl:wadl-core:jar:1.0-SNAPSHOT
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.jvnet.ws.wadl -
> DartifactId=wadl-core -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/
> path/to/file
>
> Alternatively, if you host your own repository you can deploy the
> file there:
> mvn deploy:deploy-file -DgroupId=org.jvnet.ws.wadl -
> DartifactId=wadl-core -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/
> path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.carpediem.weather:wxtutorial:jar:1.0
> 2) org.jvnet.ws.wadl:wadl-core:jar:1.0-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.carpediem.weather:wxtutorial:jar:1.0
>
> from the specified remote repositories:
> maven-repository.dev.java.net (http://download.java.net/maven/1),
> maven2-repository.dev.java.net (http://download.java.net/maven/2/),
> central (http://repo1.maven.org/maven2),
> glassfish-maven2-repository.dev.java.net (http://download.java.net/maven/glassfish/
> )
> ...
>
>
> Here is the simple application POM:
>
> <?xml version="1.0"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> " xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache
> .o
> rg/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>org.carpediem.weather</groupId>
> <artifactId>wxtutorial</artifactId>
> <packaging>jar</packaging>
> <version>1.0</version>
> <name>wxtutorial</name>
> <url>http://maven.apache.org</url>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>org.jvnet.ws.wadl</groupId>
> <artifactId>wadl-core</artifactId>
> <version>1.0-SNAPSHOT</version>
> </dependency>
> </dependencies>
> <repositories>
> <repository>
> <id>glassfish-maven2-repository.dev.java.net</id>
> <name>Java.net Maven 2 Repository for GlassFish</name>
> <url>http://download.java.net/maven/glassfish/</url>
> <layout>default</layout>
> </repository>
> <repository>
> <id>maven2-repository.dev.java.net</id>
> <name>Java.net Maven 2 Repository</name>
> <url>http://download.java.net/maven/2/</url>
> <layout>default</layout>
> </repository>
> <repository>
> <id>maven-repository.dev.java.net</id>
> <name>Java.net Maven 1 Repository (legacy)</name>
> <url>http://download.java.net/maven/1</url>
> <layout>legacy</layout>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>maven2-repository.dev.java.net</id>
> <name>Java.net Repository for Maven</name>
> <url>http://download.java.net/maven/2/</url>
> <layout>default</layout>
> </pluginRepository>
> <pluginRepository>
> <id>maven-repository.dev.java.net</id>
> <name>Java.net Maven 1 Repository (legacy)</name>
> <url>http://download.java.net/maven/1</url>
> <layout>legacy</layout>
> </pluginRepository>
> </pluginRepositories>
> </project>
>
> Would someone be kind enough to point to where the plugin dependency
> is hosted? I could find no trace of it on mvnrepository.com
> searching for 'wadl'.
>
> Thanks.
>
> --
> Mark Petrovic
> mark_at_petrovic.org
> http://www.petrovic.org
>
>
>
>
>
>
>
>
--
Mark Petrovic
mark_at_petrovic.org
http://www.petrovic.org