modello-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <version>1.11</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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/xsd/maven-4.0.0.xsd"> <parent> <artifactId>modello</artifactId> <groupId>org.codehaus.modello</groupId> <version>1.11</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>modello-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <name>Modello Maven Plugin</name> <description> Modello Maven Plugin enables the use of Modello in Maven builds. </description> <prerequisites> <maven>3.0</maven> </prerequisites> <properties> <mavenPluginTools>3.4</mavenPluginTools> </properties> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-core</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-container-default</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>${mavenPluginTools}</version> <scope>provided</scope> </dependency> <!-- plugins, sorted alphabetically --> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-converters</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-dom4j</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-jackson</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-java</artifactId> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-jdom</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-jsonschema</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-sax</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-snakeyaml</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-stax</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-xdoc</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-xpp3</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.modello</groupId> <artifactId>modello-plugin-xsd</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-build-api</artifactId> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>${mavenPluginTools}</version> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <executions> <execution> <id>mojo-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution> <execution> <id>generated-helpmojo</id> <goals> <goal>helpmojo</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> </plugin> </plugins> </reporting> <profiles> <profile> <id>run-its</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>3.0.1</version> <configuration> <projectsDirectory>src/it</projectsDirectory> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <pomIncludes> <pomInclude>*/pom.xml</pomInclude> </pomIncludes> <postBuildHookScript>verify</postBuildHookScript> <settingsFile>src/it/settings.xml</settingsFile> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <debug>true</debug> <filterProperties> <plexusUtilsVersion>3.0.22</plexusUtilsVersion> <junitVersion>3.8.2</junitVersion> <java.version>${java.version}</java.version> </filterProperties> <goals> <goal>clean</goal> <goal>test</goal> </goals> </configuration> <executions> <execution> <id>integration-test</id> <goals> <goal>install</goal> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>reporting</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-verifier-plugin</artifactId> <executions> <execution> <id>features</id> <phase>pre-site</phase><!-- check that run-its profile has generated features site --> <goals> <goal>verify</goal> </goals> <configuration> <verificationFile>${basedir}/src/test/verifier/site-verifications.xml</verificationFile> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>features</id> <phase>site</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <resources> <resource> <directory>${project.build.directory}/it/features/target/site/</directory> </resource> </resources> <outputDirectory>${project.build.directory}/site/features/</outputDirectory> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>