You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/26 20:54:00 UTC

[jira] [Commented] (RYA-216) Clean up Maven Warnings

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

ASF GitHub Bot commented on RYA-216:
------------------------------------

GitHub user jdasch opened a pull request:

    https://github.com/apache/incubator-rya/pull/185

    RYA-216 Cleaned up maven build warnings and other issues in some poms.

    <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
      http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    ## Description
    >What Changed?
    
    Removed these warnings:
    [WARNING] Some problems were encountered while building the effective model for ...
    [WARNING] The expression ${artifactId} is deprecated.
    [WARNING] The expression ${version} is deprecated.
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    Removed some unnecessary dependency versioning and plugin management.
    
    ### Tests
    >Coverage?
    N/A
    
    ### Links
    [Jira](https://issues.apache.org/jira/browse/RYA-216)
    
    ### Checklist
    - [ ] Code Review
    - [ ] Squash Commits
    
    #### People To Reivew
    Aaron Mihalik, Caleb Meier

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jdasch/incubator-rya RYA-216

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rya/pull/185.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #185
    
----
commit 82a57dbbb260f6cefdd2fee915b8e42766a89469
Author: jdasch <jd...@localhost.localdomain>
Date:   2017-07-26T20:18:59Z

    RYA-216 Cleaned up maven build warnings and other issues in some poms.

----


> Clean up Maven Warnings
> -----------------------
>
>                 Key: RYA-216
>                 URL: https://issues.apache.org/jira/browse/RYA-216
>             Project: Rya
>          Issue Type: Bug
>    Affects Versions: 3.2.10
>            Reporter: Aaron Mihalik
>            Assignee: Jeff Dasch
>
> During the evaluation of Rya 3.2.10-RC3, it was noted that maven generates a lot of warnings during the build.  We should resolve these in order to reduce the likelihood of build issues from users.  Here's the example of some warnings:
> {code}
> % mvn install -DskipTests                                                                                                                                                                                                                                                                          -
> [INFO] Scanning for projects...
> Downloading: http://repository.codehaus.org/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml
> Downloading: http://nexus.codehaus.org/snapshots/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml
> [WARNING] Could not transfer metadata org.codehaus.groovy:groovy-eclipse-batch/maven-metadata.xml from/to codehaus.org (http://repository.codehaus.org): repository.codehaus.org: unknown error
> [WARNING] Could not transfer metadata org.codehaus.groovy:groovy-eclipse-batch/maven-metadata.xml from/to codehaus-snapshots (http://nexus.codehaus.org/snapshots/): nexus.codehaus.org: unknown error
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.rya:rya.prospector:jar:3.2.10-incubating
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ org.apache.rya:rya.prospector:[unknown-version], /Users/jelser/rya-3.2.10-rc3/rya-project-3.2.10-incubating/extras/rya.prospector/pom.xml, line 107, column 21
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.rya:rya.indexing:jar:3.2.10-incubating
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ org.apache.rya:rya.indexing:[unknown-version], /Users/jelser/rya-3.2.10-rc3/rya-project-3.2.10-incubating/extras/indexing/pom.xml, line 135, column 12
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.rya:rya.reasoning:jar:3.2.10-incubating
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ org.apache.rya:rya.reasoning:[unknown-version], /Users/jelser/rya-3.2.10-rc3/rya-project-3.2.10-incubating/extras/rya.reasoning/pom.xml, line 98, column 21
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.rya:rya.benchmark:jar:3.2.10-incubating
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:jaxb2-maven-plugin is missing. @ org.apache.rya:rya.benchmark:[unknown-version], /Users/jelser/rya-3.2.10-rc3/rya-project-3.2.10-incubating/extras/rya.benchmark/pom.xml, line 81, column 21
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.rya:accumulo.pig:jar:3.2.10-incubating
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ org.apache.rya:accumulo.pig:[unknown-version], /Users/jelser/rya-3.2.10-rc3/rya-project-3.2.10-incubating/pig/accumulo.pig/pom.xml, line 82, 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]
> [INFO] ------------------------------------------------------------------------
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)