OSBI / saiku

Saiku Analytics - The Worlds Greatest Open Source OLAP Browser
http://community.meteorite.bi
Apache License 2.0
1.3k stars 664 forks source link

Obvious maven misusages #653

Open ghost opened 6 years ago

ghost commented 6 years ago

Running the first build steps

mvn clean install -DskipTests

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

[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 commented 6 years ago

feel free to send a pull request!

On Fri, 13 Apr 2018, 13:27 Brendan Le Ny, notifications@github.com wrote:

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/brendan/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/brendan/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/brendan/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/brendan/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/brendan/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/brendan/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/brendan/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/brendan/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/brendan/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]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OSBI/saiku/issues/653, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGUeJJFPXOeBoxwHpRBAxC08Zyi5A7kks5toJmogaJpZM4TTXUz .

--

Spicule Limited is registered in England & Wales. Company Number:

  1. Registered office: First Floor, Telecom House, 125-135 Preston Road, Brighton, England, BN1 6AF. VAT No. 251478891.

All engagements are subject to Spicule Terms and Conditions of Business. This email and its contents are intended solely for the individual to whom it is addressed and may contain information that is confidential, privileged or otherwise protected from disclosure, distributing or copying. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Spicule Limited. The company accepts no liability for any damage caused by any virus transmitted by this email. If you have received this message in error, please notify us immediately by reply email before deleting it from your system. Service of legal notice cannot be effected on Spicule Limited by email.

ghost commented 6 years ago

@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 commented 6 years ago

Sure except I can't reproduce #654