mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
eliminate "maven-enforcer-plugin (goal "enforce") is ignored by m2e"
warning http://stackoverflow.com/questions/13040788/how-to-elimate-the-maven-enforcer-plugin-goal-enforce-is-ignored-by-m2e-wa
This commit is contained in:
parent
39b6905c0d
commit
aa9e921d3b
5 changed files with 205 additions and 54 deletions
|
|
@ -28,6 +28,37 @@
|
|||
<artifactId>jsprit-analysis</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<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.0,)</versionRange>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore />
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.jfree</groupId>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,37 @@
|
|||
<artifactId>jsprit-core</artifactId>
|
||||
<name>jsprit-core</name>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<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.0,)</versionRange>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore />
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,37 @@
|
|||
|
||||
<artifactId>jsprit-examples</artifactId>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<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.0,)</versionRange>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore />
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,37 @@
|
|||
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<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.0,)</versionRange>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore />
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
|
|
|
|||
33
pom.xml
33
pom.xml
|
|
@ -32,7 +32,6 @@
|
|||
</prerequisites>
|
||||
|
||||
<scm>
|
||||
|
||||
<connection>scm:git:git@github.com:jsprit/jsprit.git</connection>
|
||||
<developerConnection>scm:git:https://github.com/jsprit/jsprit.git</developerConnection>
|
||||
<url>http://github.com/jsprit/jsprit/tree/master</url>
|
||||
|
|
@ -56,7 +55,6 @@
|
|||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
|
||||
<modules>
|
||||
<module>jsprit-core</module>
|
||||
<module>jsprit-analysis</module>
|
||||
|
|
@ -89,6 +87,8 @@
|
|||
<directory>src/test/resources</directory>
|
||||
</testResource>
|
||||
</testResources>
|
||||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.eclipse.m2e</groupId>
|
||||
|
|
@ -114,6 +114,33 @@
|
|||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<!-- <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.0,)</versionRange> -->
|
||||
<!-- <goals> -->
|
||||
<!-- <goal>enforce</goal> -->
|
||||
<!-- </goals> -->
|
||||
<!-- </pluginExecutionFilter> -->
|
||||
<!-- <action> -->
|
||||
<!-- <ignore /> -->
|
||||
<!-- </action> -->
|
||||
<!-- </pluginExecution> -->
|
||||
<!-- </pluginExecutions> -->
|
||||
<!-- </lifecycleMappingMetadata> -->
|
||||
<!-- </configuration> -->
|
||||
<!-- </plugin> -->
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>1.1.1</version>
|
||||
|
|
@ -136,7 +163,6 @@
|
|||
<message>Current JDK version ${java.version} should be ${jdkVersion}, or higher!</message>
|
||||
<version>${jdkVersion}</version>
|
||||
</requireJavaVersion>
|
||||
|
||||
</rules>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
|
@ -213,6 +239,7 @@
|
|||
|
||||
</plugins>
|
||||
|
||||
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue