[
https://issues.apache.org/jira/browse/STORM-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311847#comment-14311847
]
ASF GitHub Bot commented on STORM-541:
--------------------------------------
GitHub user caofangkun opened a pull request:
https://github.com/apache/storm/pull/422
STORM-541:Clean duplicate dependences in poms
* Run Command
```
mvn clean && mvn install -Dmaven.test.skip=true
```
* Got the following warning:
```
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.storm:maven-shade-clojure-transformer:jar:0.10.0-SNAPSHOT
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.clojars.runa:conjure:jar -> duplicate declaration of
version ${conjure.version} @ org.apache.storm:storm:0.10.0-SNAPSHOT,
/home/caokun/workspace/apache-storm/pom.xml, line 523, column 25
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.storm:storm-maven-plugins:maven-plugin:0.10.0-SNAPSHOT
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.clojars.runa:conjure:jar -> duplicate declaration of
version ${conjure.version} @ org.apache.storm:storm:0.10.0-SNAPSHOT,
/home/caokun/workspace/apache-storm/pom.xml, line 523, column 25
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.storm:storm-core:jar:0.10.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.clojars.runa:conjure:jar -> duplicate declaration of
version (?) @ org.apache.storm:storm-core:[unknown-version],
/home/caokun/workspace/apache-storm/storm-core/pom.xml, line 214, column 21
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.clojars.runa:conjure:jar -> duplicate declaration of
version ${conjure.version} @ org.apache.storm:storm:0.10.0-SNAPSHOT,
/home/caokun/workspace/apache-storm/pom.xml, line 523, column 25
[WARNING] 'build.plugins.plugin.version' for
org.apache.storm:storm-maven-plugins is missing. @
org.apache.storm:storm-core:[unknown-version],
/home/caokun/workspace/apache-storm/storm-core/pom.xml, line 479, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.storm:storm-starter:jar:0.10.0-SNAPSHOT
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.clojars.runa:conjure:jar -> duplicate declaration of
version ${conjure.version} @ org.apache.storm:storm:0.10.0-SNAPSHOT,
/home/caokun/workspace/apache-storm/pom.xml, line 523, column 25
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.storm:storm-kafka:jar:0.10.0-SNAPSHOT
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.clojars.runa:conjure:jar -> duplicate declaration of
version ${conjure.version} @ org.apache.storm:storm:0.10.0-SNAPSHOT,
/home/caokun/workspace/apache-storm/pom.xml, line 523, column 25
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.storm:storm-hdfs:jar:0.10.0-SNAPSHOT
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.clojars.runa:conjure:jar -> duplicate declaration of
version ${conjure.version} @ org.apache.storm:storm:0.10.0-SNAPSHOT,
/home/caokun/workspace/apache-storm/pom.xml, line 523, column 25
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.storm:storm-hbase:jar:0.10.0-SNAPSHOT
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.clojars.runa:conjure:jar -> duplicate declaration of
version ${conjure.version} @ org.apache.storm:storm:0.10.0-SNAPSHOT,
/home/caokun/workspace/apache-storm/pom.xml, line 523, column 25
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.storm:storm:pom:0.10.0-SNAPSHOT
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.clojars.runa:conjure:jar -> duplicate declaration of
version ${conjure.version} @ line 523, column 25
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/caofangkun/apache-storm storm-541
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/422.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #422
----
commit 6c04e1bea802d28ae92a234ddbaad2c1ed0a6835
Author: caofangkun <[email protected]>
Date: 2015-01-23T01:28:46Z
Merge pull request #4 from apache/master
Merger from apache/storm to caofangkun/apache-storm
commit d8c98cb1846bd07aef558bde410607b923aa5c1e
Author: caofangkun <[email protected]>
Date: 2015-02-04T01:09:22Z
Merge pull request #5 from apache/master
Merge from apache/storm to caofangkun/apache-storm
commit 91fefef439388bb3f6f144f6eecd24213ad1cc62
Author: caofangkun <[email protected]>
Date: 2015-02-09T06:14:06Z
STORM-541:Clean duplicate dependences in poms
----
> Build produces maven warnings
> -----------------------------
>
> Key: STORM-541
> URL: https://issues.apache.org/jira/browse/STORM-541
> Project: Apache Storm
> Issue Type: Bug
> Affects Versions: 0.10.0, 0.9.3-rc2
> Environment: Ubuntu 14.04 on POWER
> Reporter: jez wain
> Priority: Minor
> Labels: patch
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> The maven compilation task produces the following warnings because version
> numbers are missing from some plugins in the pom.xml file. I have created a
> patch file.
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.storm:maven-shade-clojure-transformer:jar:0.9.3-rc2-SNAPSHOT
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
> org.apache.storm:storm:0.9.3-rc2-SNAPSHOT, /home/jez/storm/pom.xml, line 661,
> column 21
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.storm:storm-core:jar:0.9.3-rc2-SNAPSHOT
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
> org.apache.storm:storm:0.9.3-rc2-SNAPSHOT, /home/jez/storm/pom.xml, line 661,
> column 21
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.storm:storm-starter:jar:0.9.3-rc2-SNAPSHOT
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
> org.apache.storm:storm:0.9.3-rc2-SNAPSHOT, /home/jez/storm/pom.xml, line 661,
> column 21
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.storm:storm-kafka:jar:0.9.3-rc2-SNAPSHOT
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
> org.apache.storm:storm:0.9.3-rc2-SNAPSHOT, /home/jez/storm/pom.xml, line 661,
> column 21
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.storm:storm-hdfs:jar:0.9.3-rc2-SNAPSHOT
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
> org.apache.storm:storm:0.9.3-rc2-SNAPSHOT, /home/jez/storm/pom.xml, line 661,
> column 21
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for com.github.ptgoetz:storm-hbase:jar:0.9.3-rc2-SNAPSHOT
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
> org.apache.storm:storm:0.9.3-rc2-SNAPSHOT, /home/jez/storm/pom.xml, line 661,
> column 21
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.storm:storm:pom:0.9.3-rc2-SNAPSHOT
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ line 661,
> column 21
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> PATCH:
> diff --git a/pom.xml b/pom.xml
> index b63d332..37a5acd 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -656,10 +656,12 @@
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> + <version>2.9</version>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-report-plugin</artifactId>
> + <version>2.16</version>
> <configuration>
> <reportsDirectories>
> <file>${project.build.directory}/test-reports</file>
> @@ -694,6 +696,7 @@
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> + <version>2.9</version>
> </plugin>
> <plugin>
> <groupId>org.apache.rat</groupId>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)