I've attached my effective pom and maven settings with passwords removed. Mark, I'll compare my destination with other plugins, thanks for the suggestion.
On Sun, Apr 16, 2017 at 4:20 PM, Daniel Beck <[email protected]> wrote: > > > On 16.04.2017, at 22:34, Adam Chevalier <[email protected]> > wrote: > > > > I can produce my effective-pom > > Please do, and also provide the Maven settings.xml (with passwords > removed). > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/jenkinsci-dev/7Bmo4frIlYs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-dev/2359DCDD-9331-45AE-BFAA-3CB9711B46D4%40beckweb.net. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAJezUJwxxfTutX%3DXhvyD2APr0_aj3WsShEqvEd3HT6Gg3pz9iw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <offline>false</offline> <pluginGroups> <pluginGroup>org.jenkins-ci.tools</pluginGroup> </pluginGroups> <activeProfiles> <activeProfile>jenkins</activeProfile> <activeProfile>securecentral</activeProfile> </activeProfiles> <profiles> <profile> <id>jenkins</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>repo.jenkins-ci.org</id> <url>http://repo.jenkins-ci.org/public/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>repo.jenkins-ci.org</id> <url>http://repo.jenkins-ci.org/public/</url> </pluginRepository> </pluginRepositories> </profile> <profile> <id>securecentral</id> <!--Override the repository (and pluginRepository) "central" from the Maven Super POM --> <repositories> <repository> <id>central</id> <url>http://repo1.maven.org/maven2</url> <releases> <enabled>true</enabled> </releases> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>central</id> <url>http://repo1.maven.org/maven2</url> <releases> <enabled>true</enabled> </releases> </pluginRepository> </pluginRepositories> </profile> </profiles> <mirrors> <mirror> <id>repo.jenkins-ci.org</id> <url>http://repo.jenkins-ci.org/public/</url> <mirrorOf>m.g.o-public</mirrorOf> </mirror> </mirrors> <servers> <server> <id>maven.jenkins-ci.org</id> <!-- For parent 1.397 or newer; before this use id java.net-m2-repository --> <username>xirsoi</username> <password><!-- redacted --></password> </server> </servers> </settings>
[INFO] Scanning for projects... [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building TestRail Plugin 1.0.6-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced [INFO] [INFO] --- maven-help-plugin:2.2:effective-pom (default-cli) @ testrail --- [INFO] Effective POMs, after inheritance, interpolation, and profiles are applied: <!-- ====================================================================== --> <!-- --> <!-- Generated by Maven Help Plugin on 2017-04-16T08:57:04 --> <!-- See: http://maven.apache.org/plugins/maven-help-plugin/ --> <!-- --> <!-- ====================================================================== --> <!-- ====================================================================== --> <!-- --> <!-- Effective POM for project --> <!-- 'org.jenkinsci.plugins:testrail:hpi:1.0.6-SNAPSHOT' --> <!-- --> <!-- ====================================================================== --> <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"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.jenkins-ci.plugins</groupId> <artifactId>plugin</artifactId> <version>2.6</version> </parent> <groupId>org.jenkinsci.plugins</groupId> <artifactId>testrail</artifactId> <version>1.0.6-SNAPSHOT</version> <packaging>hpi</packaging> <name>TestRail Plugin</name> <description>The Jenkins Plugins Parent POM Project</description> <url>https://wiki.jenkins-ci.org/display/JENKINS/TestRail+Plugin</url> <inceptionYear>2016</inceptionYear> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <developers> <developer> <id>xirsoi</id> <name>Adam Chevalier</name> <email>[email protected]</email> </developer> </developers> <scm> <connection>scm:git:ssh://github.com/jenkinsci/testrail-plugin.git</connection> <developerConnection>scm:git:ssh://[email protected]/jenkinsci/testrail-plugin.git</developerConnection> <url>https://github.com/jenkinsci/testrail-plugin</url> </scm> <distributionManagement> <repository> <id>maven.jenkins-ci.org</id> <url>https://repo.jenkins-ci.org/releases/</url> </repository> <snapshotRepository> <id>maven.jenkins-ci.org</id> <url>https://repo.jenkins-ci.org/snapshots/</url> </snapshotRepository> </distributionManagement> <properties> <apt-maven-plugin.version>1.0-alpha-4</apt-maven-plugin.version> <arguments /> <axistools-maven-plugin.version>1.4</axistools-maven-plugin.version> <build-helper-maven-plugin.version>1.5</build-helper-maven-plugin.version> <buildnumber-maven-plugin.version>1.0-beta-4</buildnumber-maven-plugin.version> <cargo-maven2-plugin.version>1.0.5</cargo-maven2-plugin.version> <cobertura-maven-plugin.version>2.4</cobertura-maven-plugin.version> <concurrency>1C</concurrency> <exec-maven-plugin.version>1.2</exec-maven-plugin.version> <findbugs-maven-plugin.version>2.3.1</findbugs-maven-plugin.version> <findbugs.failOnError>true</findbugs.failOnError> <gwt-maven-plugin.version>2.1.0-1</gwt-maven-plugin.version> <hpi-plugin.version>1.117</hpi-plugin.version> <jacoco.version>0.7.0.201403182114</jacoco.version> <java.level>7</java.level> <java.level.test>7</java.level.test> <javancss-maven-plugin.version>2.0</javancss-maven-plugin.version> <jdepend-maven-plugin.version>2.0-beta-2</jdepend-maven-plugin.version> <jenkins-test-harness.version>2.6</jenkins-test-harness.version> <jenkins.version>1.651.3</jenkins.version> <maven-antrun-plugin.version>1.6</maven-antrun-plugin.version> <maven-assembly-plugin.version>2.2</maven-assembly-plugin.version> <maven-changelog-plugin.version>2.2</maven-changelog-plugin.version> <maven-checkstyle-plugin.version>2.6</maven-checkstyle-plugin.version> <maven-clean-plugin.version>2.4.1</maven-clean-plugin.version> <maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version> <maven-dependency-plugin.version>2.1</maven-dependency-plugin.version> <maven-deploy-plugin.version>2.5</maven-deploy-plugin.version> <maven-doap-plugin.version>1.0</maven-doap-plugin.version> <maven-eclipse-plugin.version>2.8</maven-eclipse-plugin.version> <maven-enforcer-plugin.version>1.0</maven-enforcer-plugin.version> <maven-help-plugin.version>2.1.1</maven-help-plugin.version> <maven-install-plugin.version>2.3.1</maven-install-plugin.version> <maven-jar-plugin.version>2.3.1</maven-jar-plugin.version> <maven-javadoc-plugin.version>2.7</maven-javadoc-plugin.version> <maven-jetty-plugin.version>6.1.26</maven-jetty-plugin.version> <maven-jxr-plugin.version>2.2</maven-jxr-plugin.version> <maven-plugin-plugin.version>2.4.3</maven-plugin-plugin.version> <maven-pmd-plugin.version>2.5</maven-pmd-plugin.version> <maven-project-info-reports-plugin.version>2.3.1</maven-project-info-reports-plugin.version> <maven-reactor-plugin.version>1.0</maven-reactor-plugin.version> <maven-release-plugin.version>2.5.3</maven-release-plugin.version> <maven-remote-resources-plugin.version>1.1</maven-remote-resources-plugin.version> <maven-resources-plugin.version>2.4.3</maven-resources-plugin.version> <maven-site-plugin.version>2.1.1</maven-site-plugin.version> <maven-source-plugin.version>2.1.2</maven-source-plugin.version> <maven-surefire-plugin.version>2.7.2</maven-surefire-plugin.version> <maven-surefire-report-plugin.version>2.7.2</maven-surefire-report-plugin.version> <maven-war-plugin.version>2.1.1</maven-war-plugin.version> <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile> <maven.version>3.0.2</maven.version> <node.download.classifier /> <node.download.file>node-v4.0.0-linux-x64.tar.gz</node.download.file> <node.version>4.0.0</node.version> <npm.loglevel /> <npm.version>2.13.1</npm.version> <openjpa-maven-plugin.version>1.2</openjpa-maven-plugin.version> <project.build.outputEncoding>UTF-8</project.build.outputEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <release.skipTests>true</release.skipTests> <releaseProfiles /> <skip.node.lint /> <skip.node.tests /> <slf4jVersion>1.7.7</slf4jVersion> <stapler-plugin.version>1.17</stapler-plugin.version> <surefire.rerunFailingTestsCount>4</surefire.rerunFailingTestsCount> <taglist-maven-plugin.version>2.4</taglist-maven-plugin.version> <versions-maven-plugin.version>1.2</versions-maven-plugin.version> <xml-maven-plugin.version>1.0-beta-3</xml-maven-plugin.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>annotations</artifactId> <version>3.0.0</version> </dependency> <dependency> <groupId>net.jcip</groupId> <artifactId>jcip-annotations</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>org.jenkins-ci.main</groupId> <artifactId>jenkins-core</artifactId> <version>1.651.3</version> </dependency> <dependency> <groupId>org.jenkins-ci.main</groupId> <artifactId>jenkins-war</artifactId> <version>1.651.3</version> <classifier>war-for-test</classifier> </dependency> <dependency> <groupId>org.jenkins-ci.main</groupId> <artifactId>jenkins-war</artifactId> <version>1.651.3</version> <type>war</type> <scope>test</scope> </dependency> <dependency> <groupId>org.jenkins-ci.main</groupId> <artifactId>jenkins-test-harness</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>org.jenkins-ci</groupId> <artifactId>test-annotations</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> </dependency> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-annotations</artifactId> <version>1.14</version> </dependency> <dependency> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java15</artifactId> <version>1.0</version> <type>signature</type> </dependency> <dependency> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java16</artifactId> <version>1.1</version> <type>signature</type> </dependency> <dependency> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java17</artifactId> <version>1.0</version> <type>signature</type> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.3</version> <scope>provided</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> <scope>provided</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.3.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20140107</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.codehaus.woodstox</groupId> <artifactId>woodstox-core-asl</artifactId> <version>4.1.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.8.5</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.0.201403182114</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>annotations</artifactId> <version>3.0.0</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>net.jcip</groupId> <artifactId>jcip-annotations</artifactId> <version>1.0</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-annotations</artifactId> <version>1.14</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jenkins-ci.main</groupId> <artifactId>jenkins-core</artifactId> <version>1.651.3</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jenkins-ci.main</groupId> <artifactId>jenkins-war</artifactId> <version>1.651.3</version> <classifier>war-for-test</classifier> <scope>test</scope> </dependency> <dependency> <groupId>org.jenkins-ci.main</groupId> <artifactId>jenkins-war</artifactId> <version>1.651.3</version> <type>war</type> <scope>test</scope> </dependency> <dependency> <groupId>org.jenkins-ci.main</groupId> <artifactId>jenkins-test-harness</artifactId> <version>2.6</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>junit-dep</artifactId> <groupId>junit</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.jenkins-ci</groupId> <artifactId>test-annotations</artifactId> <version>1.2</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.7</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> <version>1.7.7</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> <version>1.7.7</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>1.7.7</version> <scope>test</scope> </dependency> </dependencies> <repositories> <repository> <releases> <enabled>true</enabled> </releases> <id>central</id> <url>http://repo1.maven.org/maven2</url> </repository> <repository> <id>repo.jenkins-ci.org</id> <url>http://repo.jenkins-ci.org/public/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <releases> <enabled>true</enabled> </releases> <id>central</id> <url>http://repo1.maven.org/maven2</url> </pluginRepository> <pluginRepository> <id>repo.jenkins-ci.org</id> <url>http://repo.jenkins-ci.org/public/</url> </pluginRepository> </pluginRepositories> <build> <sourceDirectory>/home/adam/testrail-plugin/src/main/java</sourceDirectory> <scriptSourceDirectory>/home/adam/testrail-plugin/src/main/scripts</scriptSourceDirectory> <testSourceDirectory>/home/adam/testrail-plugin/src/test/java</testSourceDirectory> <outputDirectory>/home/adam/testrail-plugin/target/classes</outputDirectory> <testOutputDirectory>/home/adam/testrail-plugin/target/test-classes</testOutputDirectory> <extensions> <extension> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.9.1</version> </extension> <extension> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-manager-plexus</artifactId> <version>1.3</version> </extension> <extension> <groupId>org.kathrynhuxtable.maven.wagon</groupId> <artifactId>wagon-gitsite</artifactId> <version>0.3.1</version> </extension> </extensions> <resources> <resource> <directory>/home/adam/testrail-plugin/src/main/resources</directory> </resource> </resources> <testResources> <testResource> <directory>/home/adam/testrail-plugin/src/test/resources</directory> </testResource> </testResources> <directory>/home/adam/testrail-plugin/target</directory> <finalName>testrail</finalName> <pluginManagement> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.6</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>2.10</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.6</version> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.7</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.19.1</version> </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>2.18.1</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>1.3.1</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.1</version> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.4</version> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>2.4</version> </plugin> <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.6</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>3.0.3</version> </plugin> <plugin> <artifactId>maven-eclipse-plugin</artifactId> <version>2.9</version> <configuration> <buildOutputDirectory>target/eclipse-classes</buildOutputDirectory> <additionalProjectnatures> <projectnature>org.eclipse.jdt.groovy.core.groovyNature</projectnature> </additionalProjectnatures> </configuration> </plugin> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>gmaven-plugin</artifactId> <version>1.5-jenkins-3</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.9.1</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>/home/adam/testrail-plugin/target/generated-sources/localizer</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.2.201409121644</version> </plugin> <plugin> <groupId>org.kohsuke.gmaven</groupId> <artifactId>gmaven-plugin</artifactId> <version>1.0-rc-5-patch-2</version> </plugin> <plugin> <groupId>org.kohsuke.stapler</groupId> <artifactId>maven-stapler-plugin</artifactId> <version>1.17</version> </plugin> <plugin> <groupId>org.jenkins-ci.tools</groupId> <artifactId>maven-hpi-plugin</artifactId> <version>1.117</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>1.14</version> </plugin> <plugin> <groupId>org.jvnet.localizer</groupId> <artifactId>maven-localizer-plugin</artifactId> <version>1.23</version> </plugin> <plugin> <groupId>org.kohsuke</groupId> <artifactId>access-modifier-checker</artifactId> <version>1.7</version> </plugin> <plugin> <groupId>com.cloudbees</groupId> <artifactId>maven-license-plugin</artifactId> <version>1.7</version> </plugin> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <versionRange>[1.0,)</versionRange> <goals> <goal>display-info</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>org.codehaus.gmaven</groupId> <artifactId>gmaven-plugin</artifactId> <versionRange>[1.0,)</versionRange> <goals> <goal>testCompile</goal> <goal>generateTestStubs</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>1.3.1</version> <executions> <execution> <id>display-info</id> <phase>validate</phase> <goals> <goal>display-info</goal> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>[3.0.4,)</version> <message>Maven 3.0 through 3.0.3 inclusive do not pass correct settings.xml to Maven Release Plugin.</message> </requireMavenVersion> <requirePluginVersions /> <enforceBytecodeVersion> <maxJdkVersion>1.7</maxJdkVersion> <ignoredScopes> <ignoredScope>test</ignoredScope> </ignoredScopes> <excludes> <exclude>org.jenkins-ci.main:jenkins-core</exclude> <exclude>org.jenkins-ci.main:cli</exclude> <exclude>org.jenkins-ci.main:jenkins-test-harness</exclude> <exclude>com.google.code.findbugs:annotations</exclude> </excludes> </enforceBytecodeVersion> <bannedDependencies> <excludes> <exclude>org.sonatype.sisu:sisu-guice</exclude> <exclude>log4j:log4j:*:jar:compile</exclude> <exclude>log4j:log4j:*:jar:runtime</exclude> <exclude>commons-logging:commons-logging:*:jar:compile</exclude> <exclude>commons-logging:commons-logging:*:jar:runtime</exclude> </excludes> </bannedDependencies> </rules> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>extra-enforcer-rules</artifactId> <version>1.0-beta-4</version> <scope>compile</scope> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>3.0.3</version> <executions> <execution> <id>findbugs</id> <phase>verify</phase> <goals> <goal>check</goal> </goals> <configuration> <xmlOutput>true</xmlOutput> <findbugsXmlOutput>false</findbugsXmlOutput> <failOnError>true</failOnError> </configuration> </execution> </executions> <configuration> <failOnError>true</failOnError> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> <executions> <execution> <id>default-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> <configuration> <source>1.7</source> <target>1.7</target> <testSource>1.7</testSource> <testTarget>1.7</testTarget> </configuration> </execution> <execution> <id>default-testCompile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> <configuration> <source>1.7</source> <target>1.7</target> <testSource>1.7</testSource> <testTarget>1.7</testTarget> </configuration> </execution> </executions> <configuration> <source>1.7</source> <target>1.7</target> <testSource>1.7</testSource> <testTarget>1.7</testTarget> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>1.14</version> <executions> <execution> <id>check</id> <goals> <goal>check</goal> </goals> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java17</artifactId> </signature> </configuration> </execution> </executions> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java17</artifactId> </signature> </configuration> </plugin> <plugin> <artifactId>maven-eclipse-plugin</artifactId> <version>2.9</version> <configuration> <buildOutputDirectory>target/eclipse-classes</buildOutputDirectory> <additionalProjectnatures> <projectnature>org.eclipse.jdt.groovy.core.groovyNature</projectnature> </additionalProjectnatures> </configuration> </plugin> <plugin> <groupId>org.jenkins-ci.tools</groupId> <artifactId>maven-hpi-plugin</artifactId> <version>1.117</version> <extensions>true</extensions> <executions> <execution> <id>default-hpi</id> <phase>package</phase> <goals> <goal>hpi</goal> </goals> <configuration> <showDeprecation>true</showDeprecation> <contextPath>/jenkins</contextPath> </configuration> </execution> <execution> <id>default-insert-test</id> <phase>generate-test-sources</phase> <goals> <goal>insert-test</goal> </goals> <configuration> <showDeprecation>true</showDeprecation> <contextPath>/jenkins</contextPath> </configuration> </execution> <execution> <id>default-test-hpl</id> <phase>test-compile</phase> <goals> <goal>test-hpl</goal> </goals> <configuration> <showDeprecation>true</showDeprecation> <contextPath>/jenkins</contextPath> </configuration> </execution> <execution> <id>default-resolve-test-dependencies</id> <phase>test-compile</phase> <goals> <goal>resolve-test-dependencies</goal> </goals> <configuration> <showDeprecation>true</showDeprecation> <contextPath>/jenkins</contextPath> </configuration> </execution> <execution> <id>default-validate</id> <phase>validate</phase> <goals> <goal>validate</goal> </goals> <configuration> <showDeprecation>true</showDeprecation> <contextPath>/jenkins</contextPath> </configuration> </execution> </executions> <configuration> <showDeprecation>true</showDeprecation> <contextPath>/jenkins</contextPath> </configuration> </plugin> <plugin> <groupId>org.kohsuke.stapler</groupId> <artifactId>maven-stapler-plugin</artifactId> <version>1.17</version> <extensions>true</extensions> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> <useReleaseProfile>false</useReleaseProfile> <preparationGoals>clean install</preparationGoals> <goals>deploy</goals> <arguments /> <releaseProfiles>jenkins-release,</releaseProfiles> </configuration> </plugin> <plugin> <groupId>org.jvnet.localizer</groupId> <artifactId>maven-localizer-plugin</artifactId> <version>1.23</version> <executions> <execution> <goals> <goal>generate</goal> </goals> <configuration> <fileMask>Messages.properties</fileMask> <outputDirectory>target/generated-sources/localizer</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.1</version> <executions> <execution> <phase>process-sources</phase> <goals> <goal>javadoc</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.kohsuke</groupId> <artifactId>access-modifier-checker</artifactId> <version>1.7</version> <executions> <execution> <id>default-enforce</id> <phase>process-classes</phase> <goals> <goal>enforce</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>gmaven-plugin</artifactId> <version>1.5-jenkins-3</version> <executions> <execution> <id>test-in-groovy</id> <goals> <goal>generateTestStubs</goal> <goal>testCompile</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>ant</groupId> <artifactId>ant</artifactId> <version>1.6.5</version> <scope>compile</scope> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.19.1</version> <executions> <execution> <id>default-test</id> <phase>test</phase> <goals> <goal>test</goal> </goals> <configuration> <excludes> <exclude>InjectedTest.java</exclude> </excludes> <systemProperties> <property> <name>hudson.udp</name> <value>33849</value> </property> </systemProperties> <reuseForks>true</reuseForks> <forkCount>1C</forkCount> </configuration> </execution> </executions> <configuration> <excludes> <exclude>InjectedTest.java</exclude> </excludes> <systemProperties> <property> <name>hudson.udp</name> <value>33849</value> </property> </systemProperties> <reuseForks>true</reuseForks> <forkCount>1C</forkCount> </configuration> </plugin> <plugin> <groupId>com.cloudbees</groupId> <artifactId>maven-license-plugin</artifactId> <version>1.7</version> <executions> <execution> <phase>prepare-package</phase> <goals> <goal>process</goal> </goals> <configuration> <generateLicenseXml>target/testrail/WEB-INF/licenses.xml</generateLicenseXml> <inlineScript>filter { def plugins = [] as Set // collect all Jenkins plugins models.entrySet().each { e -> if (e.value.packaging=="hpi") plugins.add(e.key.id) } // filter out dependencies that don't belong to this plugin models.entrySet().removeAll(models.entrySet().findAll { e -> def a = e.key; if (a.dependencyTrail.size()>0 && plugins.contains(a.dependencyTrail[1])) return true; // ignore transitive dependencies through other plugins // if the dependency goes through jenkins core, we don't need to bundle it in the war // because jenkins-core comes in the <provided> scope, I think this is a bug in Maven that it puts such // dependencies into the artifact list. if (a.dependencyTrail.find { trail -> trail.contains(":hudson-core:") || trail.contains(":jenkins-core:") }) return true; return false; }) }</inlineScript> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>2.1.1</version> <executions> <execution> <id>default-site</id> <phase>site</phase> <goals> <goal>site</goal> </goals> <configuration> <outputDirectory>/home/adam/testrail-plugin/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changelog-plugin</artifactId> <version>2.2</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.6</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.2</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.5</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>2.4.3</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.3.1</version> <reportSets> <reportSet> <id>default</id> <reports> <report>cim</report> <report>distribution-management</report> <report>index</report> <report>issue-tracking</report> <report>license</report> <report>mailing-list</report> <report>project-team</report> <report>scm</report> <report>summary</report> </reports> </reportSet> </reportSets> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.7.2</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.4</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.3.1</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javancss-maven-plugin</artifactId> <version>2.0</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jdepend-maven-plugin</artifactId> <version>2.0-beta-2</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <version>2.4</version> </reportPlugin> <reportPlugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.0.201403182114</version> </reportPlugin> </reportPlugins> </configuration> </execution> <execution> <id>default-deploy</id> <phase>site-deploy</phase> <goals> <goal>deploy</goal> </goals> <configuration> <outputDirectory>/home/adam/testrail-plugin/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changelog-plugin</artifactId> <version>2.2</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.6</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.2</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.5</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>2.4.3</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.3.1</version> <reportSets> <reportSet> <id>default</id> <reports> <report>cim</report> <report>distribution-management</report> <report>index</report> <report>issue-tracking</report> <report>license</report> <report>mailing-list</report> <report>project-team</report> <report>scm</report> <report>summary</report> </reports> </reportSet> </reportSets> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.7.2</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.4</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.3.1</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javancss-maven-plugin</artifactId> <version>2.0</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jdepend-maven-plugin</artifactId> <version>2.0-beta-2</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <version>2.4</version> </reportPlugin> <reportPlugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.0.201403182114</version> </reportPlugin> </reportPlugins> </configuration> </execution> </executions> <configuration> <outputDirectory>/home/adam/testrail-plugin/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changelog-plugin</artifactId> <version>2.2</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.6</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.2</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.5</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>2.4.3</version> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.3.1</version> <reportSets> <reportSet> <id>default</id> <reports> <report>cim</report> <report>distribution-management</report> <report>index</report> <report>issue-tracking</report> <report>license</report> <report>mailing-list</report> <report>project-team</report> <report>scm</report> <report>summary</report> </reports> </reportSet> </reportSets> </reportPlugin> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.7.2</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.4</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.3.1</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javancss-maven-plugin</artifactId> <version>2.0</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jdepend-maven-plugin</artifactId> <version>2.0-beta-2</version> </reportPlugin> <reportPlugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <version>2.4</version> </reportPlugin> <reportPlugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.0.201403182114</version> </reportPlugin> </reportPlugins> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.0.201403182114</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-prepare-agent-integration</id> <goals> <goal>prepare-agent-integration</goal> </goals> </execution> <execution> <id>default-report</id> <goals> <goal>report</goal> </goals> </execution> <execution> <id>default-report-integration</id> <goals> <goal>report-integration</goal> </goals> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>BUNDLE</element> <limits> <limit> <counter>COMPLEXITY</counter> <value>COVEREDRATIO</value> <minimum>0.60</minimum> </limit> </limits> </rule> </rules> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.6</version> <executions> <execution> <id>default-clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.7</version> <executions> <execution> <id>default-testResources</id> <phase>process-test-resources</phase> <goals> <goal>testResources</goal> </goals> </execution> <execution> <id>default-resources</id> <phase>process-resources</phase> <goals> <goal>resources</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> <executions> <execution> <id>default-install</id> <phase>install</phase> <goals> <goal>install</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <reporting> <outputDirectory>/home/adam/testrail-plugin/target/site</outputDirectory> <plugins> <plugin> <artifactId>maven-changelog-plugin</artifactId> <version>2.2</version> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.6</version> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> <version>2.2</version> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> <version>2.5</version> </plugin> <plugin> <artifactId>maven-plugin-plugin</artifactId> <version>2.4.3</version> </plugin> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.3.1</version> <reportSets> <reportSet> <reports> <report>cim</report> <report>distribution-management</report> <report>index</report> <report>issue-tracking</report> <report>license</report> <report>mailing-list</report> <report>project-team</report> <report>scm</report> <report>summary</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.7.2</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.4</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.3.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javancss-maven-plugin</artifactId> <version>2.0</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jdepend-maven-plugin</artifactId> <version>2.0-beta-2</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <version>2.4</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.0.201403182114</version> </plugin> </plugins> </reporting> </project> [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.616 s [INFO] Finished at: 2017-04-16T08:57:04-05:00 [INFO] Final Memory: 26M/298M [INFO] ------------------------------------------------------------------------
