Your answer is in the download section of your link :
Download This plugin will be added to the Maven 2 ibiblio repository and also to the java.net repository but we would like your feedback first. If you have praises or problems with this plugin please post your email by joining the mailing list for [EMAIL PROTECTED] by registering here https://jaxb.dev.java.net/servlets/ProjectMailingListList. In the meantime you can download the lastest plugin version from this link and expand the .zip contents into your local %HOMEPATH%/.m2/repository directory. So download it and run 'mvn install' on the plugin pom. Should work afterward. On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:
Hello, I followed the instructions on https://jaxb.dev.java.net/jaxb-maven2-plugin/ without success. On mvn -U compile i get ERROR] BUILD ERROR INFO] ------------------------------------------------------------------------ INFO] The plugin 'com.sun.tools.xjc.maven2:maven-jaxb-plugin' does not exist or no valid version could be found This is with Maven 2.0.4. There is neither com.sun.tools.xjc.maven2 nor maven-jaxb-plugin on https://maven-repository.dev.java.net/repository, but there are javax.xml.bind and maven-javanet-plugin. Could i use these in an appropriate way (how?)? My pom.xml is <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.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.isogmbh.aoo</groupId> <artifactId>iso-app</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>Maven Quick Start Archetype</name> <url>http://maven.apache.org</url> <repositories> <repository> <id>java.net</id> <name>java.net Maven Repository</name> <url>https://maven-repository.dev.java.net/repository</url> <!-- layout>legacy</layout --> </repository> </repositories> <dependencies> <dependency> <groupId>jaxb</groupId> <artifactId>jaxb-api</artifactId> <version>2.0</version> </dependency> <dependency> <groupId>jaxb</groupId> <artifactId>jaxb-impl</artifactId> <version>2.0</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>com.sun.tools.xjc.maven2</groupId> <artifactId>maven-jaxb-plugin</artifactId> <executions> <execution> <goals> <goal>generate</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
