You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/03/11 21:16:38 UTC

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

    [ https://issues.apache.org/jira/browse/STORM-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14357512#comment-14357512 ] 

ASF GitHub Bot commented on STORM-541:
--------------------------------------

Github user revans2 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/422#discussion_r26250879
  
    --- Diff: pom.xml ---
    @@ -521,12 +521,6 @@
                     <scope>test</scope>
                 </dependency>
                 <dependency>
    -                <groupId>org.clojars.runa</groupId>
    -                <artifactId>conjure</artifactId>
    -                <version>${conjure.version}</version>
    --- End diff --
    
    The code no longer compiles because this dependency was removed.  dependencyManagement in the pom does not add in a dependency, it just tells maven if a project needs this dependency use this particular version.  Without this here the remaining dependency in storm-core does not know which version to use.


> 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
>            Assignee: caofangkun
>            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)