Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obvious maven misusages #653

Open
ghost opened this issue Apr 13, 2018 · 3 comments
Open

Obvious maven misusages #653

ghost opened this issue Apr 13, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 13, 2018

Running the first build steps

mvn clean install -DskipTests

raises multiple issues (see the very first lines of the maven ouput)

  • license-maven-plugin and maven-jetty-plugin lacks a version
  • spring-security-core is declared twice
  • org.apache.hive:hive-jdbc duplicate declaration of version
  • ${pom.version} is deprecated and should be replaced by ${project.version}

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku-olap-util:jar:3.17-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ org.saikuanalytics:saiku:3.17-SNAPSHOT, /home/redacted/forge/extranet-enc-ahi_saiku/pom.xml, line 205, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku-service:jar:3.17-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ org.saikuanalytics:saiku:3.17-SNAPSHOT, /home/redacted/forge/extranet-enc-ahi_saiku/pom.xml, line 205, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku-web:jar:3.17-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework.security:spring-security-core:jar -> duplicate declaration of version (?) @ line 271, column 21
[WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:maven-jetty-plugin is missing. @ line 49, column 21
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ org.saikuanalytics:saiku:3.17-SNAPSHOT, /home/redacted/forge/extranet-enc-ahi_saiku/pom.xml, line 205, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku-core:pom:3.17-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ org.saikuanalytics:saiku:3.17-SNAPSHOT, /home/redacted/forge/extranet-enc-ahi_saiku/pom.xml, line 205, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku-ui:pom:3.17-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ org.saikuanalytics:saiku:3.17-SNAPSHOT, /home/redacted/forge/extranet-enc-ahi_saiku/pom.xml, line 205, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku-webapp:war:3.17-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.hive:hive-jdbc:jar -> duplicate declaration of version (?) @ line 290, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.hazelcast:hazelcast-wm:jar -> duplicate declaration of version 3.6.2 @ line 326, column 21
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-war-plugin @ line 166, column 21
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ org.saikuanalytics:saiku:3.17-SNAPSHOT, /home/redacted/forge/extranet-enc-ahi_saiku/pom.xml, line 205, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku-server:pom:3.17-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ org.saikuanalytics:saiku:3.17-SNAPSHOT, /home/redacted/forge/extranet-enc-ahi_saiku/pom.xml, line 205, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku-bi-platform-plugin-p7:jar:3.17-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ org.saikuanalytics:saiku:3.17-SNAPSHOT, /home/redacted/forge/extranet-enc-ahi_saiku/pom.xml, line 205, column 21
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku-bi-platform-plugin-p7.1:jar:3.17-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ org.saikuanalytics:saiku:3.17-SNAPSHOT, /home/redacted/forge/extranet-enc-ahi_saiku/pom.xml, line 205, column 21
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.saikuanalytics:saiku:pom:3.17-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:license-maven-plugin is missing. @ line 205, 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]

@buggtb
Copy link
Member

buggtb commented Apr 13, 2018 via email

@ghost
Copy link
Author

ghost commented Apr 23, 2018

@buggtb I can take time to fix and provide more contributions but I would like someone at meteorite to fix #654 first (it's not a source issue). I need a BUILD SUCCESSFUL first to make sure fixing the WARN doesn't break the build. I don't want to submit a PR that make things worst.

@buggtb
Copy link
Member

buggtb commented Apr 23, 2018

Sure except I can't reproduce #654

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant