#223 使用m2e插件取代mvn eclipse:eclipse插件,并且,spymemcached终于放回中央库了,不需要连接它的私库了。
This commit is contained in:
@@ -6,6 +6,5 @@
|
||||
.settings/
|
||||
target/
|
||||
logs/
|
||||
eclipse-local.bat
|
||||
/examples/showcase/bin/yuicompressor-2.4.7.jar
|
||||
/support/local-script/
|
||||
|
||||
@@ -491,27 +491,6 @@
|
||||
</instrumentation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- eclipse插件, 设定wtp版本 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
<version>2.9</version>
|
||||
<configuration>
|
||||
<downloadSources>true</downloadSources>
|
||||
<downloadJavadocs>false</downloadJavadocs>
|
||||
<wtpversion>2.0</wtpversion>
|
||||
<!-- 增加设置项目encoding的文件 -->
|
||||
<additionalConfig>
|
||||
<file>
|
||||
<name>.settings/org.eclipse.core.resources.prefs</name>
|
||||
<content>
|
||||
<![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
|
||||
</content>
|
||||
</file>
|
||||
</additionalConfig>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- enforcer插件, 设定环境与依赖的规则 -->
|
||||
<plugin>
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
|
||||
<!-- CACHE begin -->
|
||||
<dependency>
|
||||
<groupId>spy</groupId>
|
||||
<groupId>net.spy</groupId>
|
||||
<artifactId>spymemcached</artifactId>
|
||||
</dependency>
|
||||
|
||||
@@ -445,18 +445,6 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- eclipse插件, 设定wtp版本并添加springIDE nature -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
<configuration>
|
||||
<wtpversion>2.0</wtpversion>
|
||||
<additionalProjectnatures>
|
||||
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
|
||||
</additionalProjectnatures>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- jetty插件, 设定context path与spring profile -->
|
||||
<plugin>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
|
||||
@@ -164,12 +164,6 @@
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- eclipse plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- source attach plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<!-- CACHE -->
|
||||
<dependency>
|
||||
<groupId>spy</groupId>
|
||||
<groupId>net.spy</groupId>
|
||||
<artifactId>spymemcached</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
@@ -111,12 +111,6 @@
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- eclipse plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- source attach plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
||||
+7
-44
@@ -23,9 +23,9 @@
|
||||
<quartz.version>2.1.7</quartz.version>
|
||||
<jedis.version>2.1.0</jedis.version>
|
||||
<ehcache.version>2.6.6</ehcache.version>
|
||||
<spymemcached.version>2.8.9</spymemcached.version>
|
||||
<spymemcached.version>2.9.0</spymemcached.version>
|
||||
<hibernate-validator.version>4.3.1.Final</hibernate-validator.version>
|
||||
<jolokia.version>1.1.1</jolokia.version>
|
||||
<jolokia.version>1.1.2</jolokia.version>
|
||||
<jackson.version>2.2.2</jackson.version>
|
||||
<slf4j.version>1.7.5</slf4j.version>
|
||||
<logback.version>1.0.13</logback.version>
|
||||
@@ -35,7 +35,7 @@
|
||||
<joda-time.version>2.2</joda-time.version>
|
||||
<dozer.version>5.4.0</dozer.version>
|
||||
<httpclient.version>4.2.3</httpclient.version>
|
||||
<freemarker.version>2.3.19</freemarker.version>
|
||||
<freemarker.version>2.3.20</freemarker.version>
|
||||
<junit.version>4.11</junit.version>
|
||||
<mockito.version>1.9.5</mockito.version>
|
||||
<powermock.version>1.5.1</powermock.version>
|
||||
@@ -57,26 +57,9 @@
|
||||
<url>http://localhost:8081/nexus/content/groups/public</url>
|
||||
</repository>
|
||||
-->
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Central Repository</name>
|
||||
<url>http://repo.maven.apache.org/maven2</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
|
||||
<repository>
|
||||
<id>spy</id>
|
||||
<name>Spy Repository</name>
|
||||
<url>http://files.couchbase.com/maven2/</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<!-- 设定插件仓库 如有Nexus私服, 取消注释并指向正确的服务器地址.
|
||||
<!-- 如有Nexus私服, 取消注释并指向正确的服务器地址.
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>nexus</id>
|
||||
@@ -149,12 +132,12 @@
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>aspectjrt</artifactId>
|
||||
<version>1.7.2</version>
|
||||
<version>1.7.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>aspectjweaver</artifactId>
|
||||
<version>1.7.2</version>
|
||||
<version>1.7.3</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<!-- AOP end -->
|
||||
@@ -385,7 +368,7 @@
|
||||
<!-- CACHE begin -->
|
||||
<!-- memcached -->
|
||||
<dependency>
|
||||
<groupId>spy</groupId>
|
||||
<groupId>net.spy</groupId>
|
||||
<artifactId>spymemcached</artifactId>
|
||||
<version>${spymemcached.version}</version>
|
||||
</dependency>
|
||||
@@ -864,26 +847,6 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- eclipse插件, 设定下载依赖包的source code -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
<version>2.9</version>
|
||||
<configuration>
|
||||
<downloadSources>true</downloadSources>
|
||||
<downloadJavadocs>false</downloadJavadocs>
|
||||
<!-- 增加设置项目encoding的文件 -->
|
||||
<additionalConfig>
|
||||
<file>
|
||||
<name>.settings/org.eclipse.core.resources.prefs</name>
|
||||
<content>
|
||||
<![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
|
||||
</content>
|
||||
</file>
|
||||
</additionalConfig>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- jetty插件 -->
|
||||
<plugin>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
<!-- CACHE -->
|
||||
<dependency>
|
||||
<groupId>spy</groupId>
|
||||
<groupId>net.spy</groupId>
|
||||
<artifactId>spymemcached</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
@@ -160,12 +160,6 @@
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- eclipse plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- source attach plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
@echo off
|
||||
|
||||
cd ../../
|
||||
call mvn versions:display-dependency-updates
|
||||
pause
|
||||
@@ -1,5 +0,0 @@
|
||||
@echo off
|
||||
|
||||
cd ../../modules
|
||||
call mvn clean install -Dmaven.test.skip=true
|
||||
pause
|
||||
Reference in New Issue
Block a user