| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more |
| contributor license agreements. See the NOTICE file ~ distributed with this |
| work for additional information ~ regarding copyright ownership. The ASF |
| licenses this file ~ to you under the Apache License, Version 2.0 (the ~ |
| "License"); you may not use this file except in compliance ~ with the License. |
| You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ ~ Unless required by applicable law or agreed to in writing, ~ software |
| distributed under the License is distributed on an ~ "AS IS" BASIS, WITHOUT |
| WARRANTIES OR CONDITIONS OF ANY ~ KIND, either express or implied. See the |
| License for the ~ specific language governing permissions and limitations |
| ~ under the License. --> |
| <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>org.apache.maven</groupId> |
| <artifactId>maven-parent</artifactId> |
| <version>23</version> |
| </parent> |
| |
| <groupId>org.apache.maven.dist.tools</groupId> |
| <artifactId>dist-tool-plugin</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <packaging>maven-plugin</packaging> |
| |
| <description>Dist tool plugin. |
| Not to be released.</description> |
| |
| <prerequisites> |
| <maven>3.0.4</maven> |
| </prerequisites> |
| |
| <properties> |
| <netbeans.checkstyle.format>true</netbeans.checkstyle.format> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <mvnversion>3.1-SNAPSHOT</mvnversion> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>${mvnversion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jsoup</groupId> |
| <artifactId>jsoup</artifactId> |
| <version>1.7.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>${mvnversion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-repository-metadata</artifactId> |
| <version>${mvnversion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.reporting</groupId> |
| <artifactId>maven-reporting-impl</artifactId> |
| <version>2.2</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>maven-artifact</artifactId> |
| <groupId>org.apache.maven</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>maven-model</artifactId> |
| <groupId>org.apache.maven</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>xml-apis</artifactId> |
| <groupId>xml-apis</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.aether</groupId> |
| <artifactId>aether-api</artifactId> |
| <version>0.9.0.M2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.aether</groupId> |
| <artifactId>aether-util</artifactId> |
| <version>0.9.0.M2</version> |
| </dependency> |
| <dependency> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| <version>1.4.01</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-aether-provider</artifactId> |
| <version>${mvnversion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| <version>2.2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.seleniumhq.selenium</groupId> |
| <artifactId>selenium-firefox-driver</artifactId> |
| <version>2.33.0</version> |
| <type>jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.2.5</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.3</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.doxia</groupId> |
| <artifactId>doxia-maven-plugin</artifactId> |
| <version>1.4</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>animal-sniffer-maven-plugin</artifactId> |
| <version>1.9</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <configuration> |
| <!-- see http://jira.codehaus.org/browse/MNG-5346 --> |
| <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| </configuration> |
| <executions> |
| <execution> |
| <id>mojo-descriptor</id> |
| <goals> |
| <goal>descriptor</goal> |
| </goals> |
| </execution> |
| <!-- if you want to generate help goal --> |
| <execution> |
| <id>help-goal</id> |
| <goals> |
| <goal>helpmojo</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <target>1.7</target> |
| <source>1.7</source> |
| </configuration> |
| </plugin> |
| <!-- copy data from fluido skin to make generated site usable even if failure --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>unpack</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.maven.skins</groupId> |
| <artifactId>maven-fluido-skin</artifactId> |
| <version>1.3.0</version> |
| <outputDirectory>${project.build.directory}/site</outputDirectory> |
| <includes>**\/*.css, **\/*.png</includes> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| |
| <!-- jxr first --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <aggregate>true</aggregate> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.7</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>index</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>3.0.1</version> |
| <configuration> |
| <targetJdk>1.7</targetJdk> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.10</version> |
| <configuration><!-- help for netbeans --> |
| <configLocation>config/maven_checks.xml</configLocation> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>${project.artifactId}</artifactId> |
| <version>${project.version}</version> |
| <configuration> |
| <ignoreSiteFailures> |
| <ignoreSiteFailure>apache-maven:2.0.11</ignoreSiteFailure> |
| <ignoreSiteFailure>apache-maven:2.2.1</ignoreSiteFailure> |
| <ignoreSiteFailure>maven-indexer:5.1.1</ignoreSiteFailure> |
| <ignoreSiteFailure>file-management:1.2.1</ignoreSiteFailure> |
| </ignoreSiteFailures> |
| <ignoreDistFailures> |
| <ignoreDistFailure>doxia-linkcheck:1.2</ignoreDistFailure> |
| <ignoreDistFailure>apache-maven:2.0.11</ignoreDistFailure><!-- this one is in dist but not in central --> |
| <ignoreDistFailure>maven-docck-plugin:1.0</ignoreDistFailure> |
| <ignoreDistFailure>maven-reactor-plugin:1.0</ignoreDistFailure> |
| <ignoreDistFailure>file-management:1.2.1</ignoreDistFailure> |
| <ignoreDistFailure>maven-repository-builder:1.0-alpha-2</ignoreDistFailure> |
| </ignoreDistFailures> |
| </configuration> |
| <reportSets> |
| <reportSet> |
| <id>html</id> |
| <reports> |
| <report>check-site</report> |
| <report>check-source-release</report> |
| <report>check-aggregator</report> |
| </reports> |
| </reportSet> |
| <reportSet> |
| <id>fail</id> |
| <reports> |
| <report>failure-report</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| <!-- <configuration> <configurationLines> <configurationLine>org.apache.maven.wagon;wagon;https://dist.apache.org/repos/dist/release/maven/wagon/</configurationLine> |
| </configurationLines> </configuration> --> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>3.2</version> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <profiles> |
| <profile> |
| <id>run-its</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <version>1.8</version> |
| <configuration> |
| <projectsDirectory>src/it</projectsDirectory> |
| <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> |
| <pomIncludes> |
| <pomInclude>*</pomInclude> |
| </pomIncludes> |
| <preBuildHookScript>setup</preBuildHookScript> |
| <postBuildHookScript>verify</postBuildHookScript> |
| <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> |
| <settingsFile>src/it/settings.xml</settingsFile> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>install</goal> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |