jaxb2-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.evolvedbinary.maven.jvnet</groupId> <artifactId>jaxb2-maven-plugin</artifactId> <version>0.15.0</version> </dependency>
<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> <parent> <groupId>com.evolvedbinary.maven.jvnet</groupId> <artifactId>jaxb-maven-plugin-project</artifactId> <version>0.15.0</version> </parent> <artifactId>jaxb2-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <name>Maven JAXB 2.x Plugin</name> <prerequisites> <maven>${maven.version}</maven> </prerequisites> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>jaxb-maven-plugin-core</artifactId> <version>${project.version}</version> <exclusions> <exclusion> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>jaxb23-maven-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-xjc</artifactId> <version>${jaxb23.version}</version> </dependency> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>${jaxb23.version}</version> <scope>runtime</scope> </dependency> <!-- Maven plugin and api classes --> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> </dependency> </dependencies> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> </plugin> </plugins> </reporting> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>analyze</id> <goals> <goal>analyze-only</goal> </goals> <configuration> <ignoredUnusedDeclaredDependencies> <ignoredUnusedDeclaredDependency>org.glassfish.jaxb:jaxb-runtime:jar:${jaxb23.version}</ignoredUnusedDeclaredDependency> </ignoredUnusedDeclaredDependencies> </configuration> </execution> </executions> </plugin> <!-- TODO(AR) causes a problem when running `mvn clean compile` --> <!-- plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> <mojoDependencies> <mojoDependency>${project.groupId}:maven-jaxb2-plugin</mojoDependency> </mojoDependencies> </configuration> </plugin --> </plugins> </build> </project>