Skip to content

Commit 42d1009

Browse files
committed
change configuration for eclipse
Signed-off-by: Jacarri Chan <[email protected]>
1 parent 47cc6de commit 42d1009

File tree

5 files changed

+111
-3
lines changed

5 files changed

+111
-3
lines changed

spring-custom-event/pom.xml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,41 @@
5757
</configuration>
5858
</plugin>
5959
</plugins>
60-
</build>
60+
<pluginManagement>
61+
<plugins>
62+
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
63+
<plugin>
64+
<groupId>org.eclipse.m2e</groupId>
65+
<artifactId>lifecycle-mapping</artifactId>
66+
<version>1.0.0</version>
67+
<configuration>
68+
<lifecycleMappingMetadata>
69+
<pluginExecutions>
70+
<pluginExecution>
71+
<pluginExecutionFilter>
72+
<groupId>
73+
org.codehaus.mojo
74+
</groupId>
75+
<artifactId>
76+
exec-maven-plugin
77+
</artifactId>
78+
<versionRange>
79+
[1.2.1,)
80+
</versionRange>
81+
<goals>
82+
<goal>java</goal>
83+
</goals>
84+
</pluginExecutionFilter>
85+
<action>
86+
<ignore></ignore>
87+
</action>
88+
</pluginExecution>
89+
</pluginExecutions>
90+
</lifecycleMappingMetadata>
91+
</configuration>
92+
</plugin>
93+
</plugins>
94+
</pluginManagement>
95+
</build>
6196

6297
</project>

spring-mvc-json/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

spring-mvc-json/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,11 @@
2626
<artifactId>jackson-mapper-asl</artifactId>
2727
<version>1.4.2</version>
2828
</dependency>
29+
<dependency>
30+
<groupId>javax.servlet</groupId>
31+
<artifactId>servlet-api</artifactId>
32+
<version>2.5</version>
33+
<scope>provided</scope>
34+
</dependency>
2935
</dependencies>
3036
</project>

spring-mybatis-junit/pom.xml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,40 @@
127127
</configuration>
128128
</plugin>
129129
</plugins>
130-
</build>
130+
<pluginManagement>
131+
<plugins>
132+
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
133+
<plugin>
134+
<groupId>org.eclipse.m2e</groupId>
135+
<artifactId>lifecycle-mapping</artifactId>
136+
<version>1.0.0</version>
137+
<configuration>
138+
<lifecycleMappingMetadata>
139+
<pluginExecutions>
140+
<pluginExecution>
141+
<pluginExecutionFilter>
142+
<groupId>
143+
org.codehaus.mojo
144+
</groupId>
145+
<artifactId>
146+
exec-maven-plugin
147+
</artifactId>
148+
<versionRange>
149+
[1.3,)
150+
</versionRange>
151+
<goals>
152+
<goal>java</goal>
153+
</goals>
154+
</pluginExecutionFilter>
155+
<action>
156+
<ignore></ignore>
157+
</action>
158+
</pluginExecution>
159+
</pluginExecutions>
160+
</lifecycleMappingMetadata>
161+
</configuration>
162+
</plugin>
163+
</plugins>
164+
</pluginManagement>
165+
</build>
131166
</project>

spring-mybatis/pom.xml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,36 @@
135135
</configuration>
136136
</plugin>
137137
</plugins>
138-
</build>
138+
<pluginManagement>
139+
<plugins>
140+
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
141+
<plugin>
142+
<groupId>org.eclipse.m2e</groupId>
143+
<artifactId>lifecycle-mapping</artifactId>
144+
<version>1.0.0</version>
145+
<configuration>
146+
<lifecycleMappingMetadata>
147+
<pluginExecutions>
148+
<pluginExecution>
149+
<pluginExecutionFilter>
150+
<groupId>org.codehaus.mojo</groupId>
151+
<artifactId>
152+
exec-maven-plugin
153+
</artifactId>
154+
<versionRange>[1.3,)</versionRange>
155+
<goals>
156+
<goal>java</goal>
157+
</goals>
158+
</pluginExecutionFilter>
159+
<action>
160+
<ignore></ignore>
161+
</action>
162+
</pluginExecution>
163+
</pluginExecutions>
164+
</lifecycleMappingMetadata>
165+
</configuration>
166+
</plugin>
167+
</plugins>
168+
</pluginManagement>
169+
</build>
139170
</project>

0 commit comments

Comments
 (0)