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 2018/01/04 17:04:00 UTC

[jira] [Commented] (RYA-410) Add geo profile dependency management to the rya-project pom file.

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

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

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

    https://github.com/apache/incubator-rya/pull/252#discussion_r159702629
  
    --- Diff: pom.xml ---
    @@ -144,7 +141,83 @@ under the License.
             <skip.rya.it>true</skip.rya.it>  <!-- modified by  -P enable-it  -->
         </properties>
         
    +    <!-- Enable this profile if you want to include Geo functions within Rya. "mvn ... -P geoindexing" -->
         <profiles>
    +        <profile>
    +            <id>geoindexing</id>
    +            <properties>
    +                <geomesa.version>1.3.0-m1</geomesa.version> <!-- Newest: 1.3.0-m1 -->
    +                <geowave.version>0.9.3</geowave.version> <!-- Newest: 0.9.3 -->
    +                <jts.version>1.13</jts.version>
    +            </properties>
    +            <dependencyManagement>
    --- End diff --
    
    I'm not sure how I feel about this.  On the one hand, it does a nice job of separating out geoindexing specific dependencies out of the dependencyManagement section.  But this causes all sorts of eclipse pom parsing errors.  These eclipse errors can be resolved by Right-Clicking the maven project, say rya.geo.common, in the Package Explorer: Maven > Select Maven profiles... and checking geoindexing.  So that part is trivial enough.  My larger concern is we might introduce a different tree of transitive dependencies by changing the project's dependencyManagement in this way, which could cause subtle transitive dependency versioning issues.  IE.  a non-geo function works one way if built with geoindexing profile, and works another way if not built with the geoindexing profile.  Maybe @amihalik can weigh in on this.


> Add geo profile dependency management to the rya-project pom file.
> ------------------------------------------------------------------
>
>                 Key: RYA-410
>                 URL: https://issues.apache.org/jira/browse/RYA-410
>             Project: Rya
>          Issue Type: Improvement
>            Reporter: Kevin Chilton
>            Assignee: Kevin Chilton
>
> Right now the geo indexing feature of Rya is an optional portion of Rya that is not built by default because it is not compatible with the Apache license. However, geo dependencies are declared at the top of the project as if it all builds depend on them. The top level pom file needs to be updated to include the geoindexing profile and all artifacts related to that build need to be moved to that profile's dependency management section.



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