[
https://issues.apache.org/jira/browse/BROOKLYN-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170557#comment-14170557
]
Sivasamy Kaliappan commented on BROOKLYN-40:
--------------------------------------------
"mvn clean install -DskipTests=true" on the latest code base using maven 3.2.1
gives following warnings:
1) \[WARNING\] Some problems were encountered while building the effective
model for io.brooklyn.camp:camp-server:jar:0.7.0-SNAPSHOT
\[WARNING\] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
be unique: io.brooklyn:brooklyn-utils-test-support:jar -> duplicate declaration
of version ${project.version} @ line 59, column 21
\[WARNING\]
\[WARNING\] Some problems were encountered while building the effective model
for io.brooklyn:brooklyn-launcher:jar:0.7.0-SNAPSHOT
\[WARNING\] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
be unique: org.apache.felix:org.apache.felix.framework:jar -> duplicate
declaration of version (?) @ line 121, column 21
>> Fix: removing duplicate dependencies in respective pom.xml
2) \[WARNING\] Ignoring project type war - supportedProjectTypes = \[jar\]
>> Fix: adding war in supportedProjectTypes of maven-bunlde plugin
>> configuration. Adding war results in MANIFEST.MF getting shipped with
>> brooklyn-jsgui-0.7.0-SNAPSHOT.war.
3) Overlapping classes warnings
\[WARNING\] jersey-core-1.18.1.jar, jsr311-api-1.1.1.jar define 55 overlappping
classes
\[WARNING\] xpp3_min-1.1.4c.jar, xmlpull-1.1.3.1.jar define 2 overlappping
classes
\[WARNING\] google-compute-engine-1.8.0.jar,
brooklyn-locations-jclouds-0.7.0-SNAPSHOT.jar define 7 overlappping classes
\[WARNING\] jsch.agentproxy.connector-factory-0.0.7.jar,
jsch.agentproxy.core-0.0.7.jar define 7 overlappping classes
\[WARNING\] cloudsigma-zrh-1.8.0.jar, cloudsigma-lvs-1.8.0.jar,
cloudsigma-1.8.0.jar define 121 overlappping classes:
For xpp warning is due to xstream library. Please see following bug for more
info.
http://jira.codehaus.org/browse/XSTR-689
I would like to contribute fixes for issue 1 & 2.
> Cleanup warnings in `mvn clean install`
> ---------------------------------------
>
> Key: BROOKLYN-40
> URL: https://issues.apache.org/jira/browse/BROOKLYN-40
> Project: Brooklyn
> Issue Type: Improvement
> Reporter: Aled Sage
> Priority: Minor
>
> There are several warnings in Brooklyn's `mvn clean install`. We should clean
> these up if possible.
> [WARNING] Ignoring project type war - supportedProjectTypes = [jar]
> [WARNING] We have a duplicate org/xmlpull/v1/XmlPullParser.class in
> /Users/aled/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
> [INFO] --- maven-assembly-plugin:2.3:single (build-distribution-dir) @
> brooklyn-dist ---
> [INFO] Reading assembly descriptor:
> src/main/config/build-distribution-dir.xml
> [WARNING] Cannot include project artifact:
> io.brooklyn:brooklyn-dist:jar:0.7.0-SNAPSHOT; it doesn't have an associated
> file or directory.
> [INFO] Copying files to
> /Users/aled/repos/apache/incubator-brooklyn/usage/dist/target/brooklyn-dist
> [WARNING] Assembly file:
> /Users/aled/repos/apache/incubator-brooklyn/usage/dist/target/brooklyn-dist
> is not a regular file (it may be a directory). It cannot be attached to the
> project build for installation or deployment.
> [INFO] --- maven-assembly-plugin:2.3:single (build-distribution-archive)
> @ brooklyn-dist ---
> [INFO] Reading assembly descriptor:
> src/main/config/build-distribution-archive.xml
> [WARNING] Cannot include project artifact:
> io.brooklyn:brooklyn-dist:jar:0.7.0-SNAPSHOT; it doesn't have an associated
> file or directory.
> [INFO] Building tar:
> /Users/aled/repos/apache/incubator-brooklyn/usage/dist/target/brooklyn-0.7.0-SNAPSHOT-dist.tar.gz
> [WARNING] Cannot include project artifact:
> io.brooklyn:brooklyn-dist:jar:0.7.0-SNAPSHOT; it doesn't have an associated
> file or directory.
> [WARNING] Don't override file
> /Users/aled/repos/apache/incubator-brooklyn/usage/archetypes/quickstart/target/test-classes/projects/integration-test-1/project/brooklyn-sample/src/main/resources/sample-icon.png
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)