I am trying to run the scm plugin. After running maven install it gives
are below error
Here is the error log
WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.117 is
missing, no dependency information available
[WARNING] Failed to build parent project for
org.jenkins-ci.plugins:scm-anywhere:hpi:1.0-SNAPSHOT
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building SCM Anywhere Plugin 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-hpi-plugin:1.100:validate (default-validate) @
scm-anywhere ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:display-info (display-info) @
scm-anywhere ---
[INFO] Maven Version: 3.3.9
[INFO] JDK Version: 1.8.0_91 normalized as: 1.8.0-91
[INFO] OS Info: Arch: amd64 Family: dos Name: windows 7 Version: 6.1
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (display-info) @
scm-anywhere ---
[WARNING] Rule 3: org.apache.maven.plugins.enforcer.BannedDependencies
failed with message:
Found Banned Dependency: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
Use 'mvn dependency:tree' to locate the source of the banned dependencies.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7.062 s
[INFO] Finished at: 2016-07-28T00:16:02+02:00
[INFO] Final Memory: 23M/521M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (display-info)
on project scm-anywhere: Some Enforcer rules have failed. Look above for
specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
Here is the pom.xml file
<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.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>2.9</version>
<relativePath />
</parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>scm-anywhere</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>hpi</packaging>
<properties>
<!-- Baseline Jenkins version you use to build the plugin. Users must have
this version or newer to run. -->
<jenkins.version>1.625.3</jenkins.version>
<!-- Java Level to use. Java 7 required when using core >= 1.612 -->
<java.level>7</java.level>
<!-- Jenkins Test Harness version you use to test the plugin. -->
<!-- For Jenkins version >= 1.580.1 use JTH 2.x or higher. -->
<jenkins-test-harness.version>2.1</jenkins-test-harness.version>
<!-- Other properties you may want to use: ~ hpi-plugin.version: The HPI
Maven Plugin version used by the plugin.. ~ stapler-plugin.version: The
Stapler
Maven plugin version required by the plugin. -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<workflow.version>1.8</workflow.version>
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>
<name>SCM Anywhere Plugin</name>
<description>SCM Anywhere Plugin</description>
<url>https://wiki.jenkins-ci.org/display/JENKINS/SCM+Anywhere+Plugin</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://opensource.org/licenses/MIT</url>
</license>
</licenses>
<developers>
<developer>
<id>nhgupta</id>
<name>[email protected]</name>
<email>[email protected]</email>
</developer>
</developers>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>config/sun_checks.xml</configLocation>
</configuration>
</plugin>
</plugins>
</reporting>
<build>
<pluginManagement>
<plugins>
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version> </plugin> -->
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>display-info</id>
<configuration>
<rules>
<enforceBytecodeVersion>
<excludes combine.children="append">
<!-- Loaded conditionally. -->
<exclude>org.eclipse.jgit:org.eclipse.jgit.java7</exclude>
</excludes>
</enforceBytecodeVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
</plugin>
<plugin>
<groupId>org.jenkins-ci.tools</groupId>
<artifactId>maven-hpi-plugin</artifactId>
<version>1.100</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.jenkins-ci.tools</groupId>
<artifactId>maven-hpi-plugin</artifactId>
<version>1.100</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
</plugin>
</plugins>
</build>
<!-- Assuming you want to host on @jenkinsci: <scm>
<connection>scm:git:git://github.com/jenkinsci/bazaar-plugin.git</connection>
<developerConnection>scm:git:[email protected]:jenkinsci/bazaar-plugin.git</developerConnection>
<url>http://github.com/jenkinsci/bazaar-plugin</url> </scm> -->
<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>token-macro</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>credentials</artifactId>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>com.github.stephenc.findbugs</groupId>
<artifactId>findbugs-annotations</artifactId>
<version>1.3.9-1</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>ssh-credentials</artifactId>
<version>1.10</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>git</artifactId>
<version>2.3.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- If you want to depend on other plugins: <dependencies> <dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>credentials</artifactId>
<version>1.9.4</version> </dependency> </dependencies> -->
</project>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" 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-users/d7680c67-fa0d-4ffb-85a3-0f38943be3cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.