remove copy-dependcies plugin for m2e error
parent
94a67165e1
commit
b0fb1c3e10
|
@ -2,4 +2,5 @@ target
|
||||||
*.iml
|
*.iml
|
||||||
out/
|
out/
|
||||||
.idea
|
.idea
|
||||||
|
.classpath
|
||||||
|
.project
|
||||||
|
|
40
pom.xml
40
pom.xml
|
@ -154,26 +154,26 @@
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<!--<plugin>-->
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<!--<artifactId>maven-dependency-plugin</artifactId>-->
|
||||||
<version>2.8</version>
|
<!--<version>2.8</version>-->
|
||||||
<executions>
|
<!--<executions>-->
|
||||||
<execution>
|
<!--<execution>-->
|
||||||
<id>copy-dependencies</id>
|
<!--<id>copy-dependencies</id>-->
|
||||||
<phase>package</phase>
|
<!--<phase>package</phase>-->
|
||||||
<goals>
|
<!--<goals>-->
|
||||||
<goal>copy-dependencies</goal>
|
<!--<goal>copy-dependencies</goal>-->
|
||||||
</goals>
|
<!--</goals>-->
|
||||||
<configuration>
|
<!--<configuration>-->
|
||||||
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
<!--<outputDirectory>${project.build.directory}/lib</outputDirectory>-->
|
||||||
<overWriteReleases>false</overWriteReleases>
|
<!--<overWriteReleases>false</overWriteReleases>-->
|
||||||
<overWriteSnapshots>false</overWriteSnapshots>
|
<!--<overWriteSnapshots>false</overWriteSnapshots>-->
|
||||||
<overWriteIfNewer>true</overWriteIfNewer>
|
<!--<overWriteIfNewer>true</overWriteIfNewer>-->
|
||||||
</configuration>
|
<!--</configuration>-->
|
||||||
</execution>
|
<!--</execution>-->
|
||||||
</executions>
|
<!--</executions>-->
|
||||||
</plugin>
|
<!--</plugin>-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
|
|
@ -20,6 +20,7 @@ public class MonitorExample {
|
||||||
|
|
||||||
SpiderMonitor.instance().register(oschinaSpider);
|
SpiderMonitor.instance().register(oschinaSpider);
|
||||||
SpiderMonitor.instance().register(githubSpider);
|
SpiderMonitor.instance().register(githubSpider);
|
||||||
|
oschinaSpider.start();
|
||||||
|
githubSpider.start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,6 +34,25 @@
|
||||||
<skip>true</skip>
|
<skip>true</skip>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-dependencies</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-dependencies</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||||||
|
<overWriteReleases>false</overWriteReleases>
|
||||||
|
<overWriteSnapshots>false</overWriteSnapshots>
|
||||||
|
<overWriteIfNewer>true</overWriteIfNewer>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
|
|
@ -44,25 +44,6 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>copy-dependencies</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-dependencies</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
||||||
<overWriteReleases>false</overWriteReleases>
|
|
||||||
<overWriteSnapshots>false</overWriteSnapshots>
|
|
||||||
<overWriteIfNewer>true</overWriteIfNewer>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
|
Loading…
Reference in New Issue