Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
webmagic
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
沈俊林
webmagic
Commits
b0fb1c3e
Commit
b0fb1c3e
authored
Apr 27, 2014
by
yihua.huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove copy-dependcies plugin for m2e error
parent
94a67165
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
41 deletions
+43
-41
.gitignore
.gitignore
+2
-1
pom.xml
pom.xml
+20
-20
MonitorExample.java
...in/java/us/codecraft/webmagic/example/MonitorExample.java
+2
-1
pom.xml
webmagic-samples/pom.xml
+19
-0
pom.xml
webmagic-scripts/pom.xml
+0
-19
No files found.
.gitignore
View file @
b0fb1c3e
...
@@ -2,4 +2,5 @@ target
...
@@ -2,4 +2,5 @@ target
*.iml
*.iml
out/
out/
.idea
.idea
.classpath
.project
pom.xml
View file @
b0fb1c3e
...
@@ -154,26 +154,26 @@
...
@@ -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>
...
...
webmagic-extension/src/main/java/us/codecraft/webmagic/example/MonitorExample.java
View file @
b0fb1c3e
...
@@ -20,6 +20,7 @@ public class MonitorExample {
...
@@ -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
();
}
}
}
}
webmagic-samples/pom.xml
View file @
b0fb1c3e
...
@@ -34,6 +34,25 @@
...
@@ -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>
...
...
webmagic-scripts/pom.xml
View file @
b0fb1c3e
...
@@ -44,25 +44,6 @@
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment