You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/05 03:39:26 UTC

[jira] [Updated] (STORM-541) Build produces maven warnings

     [ https://issues.apache.org/jira/browse/STORM-541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Kellogg updated STORM-541:
-------------------------------
    Component/s: storm-core

> Build produces maven warnings
> -----------------------------
>
>                 Key: STORM-541
>                 URL: https://issues.apache.org/jira/browse/STORM-541
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 0.10.0, 0.9.3-rc2
>         Environment: Ubuntu 14.04 on POWER
>            Reporter: jez wain
>            Assignee: caofangkun
>            Priority: Minor
>              Labels: patch
>             Fix For: 0.10.0
>
>   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)