You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2008/01/02 10:01:01 UTC

[jira] Commented: (UIMA-681) change UIMA version from 2.2.1-incubating to 2.3.0-incubating-SNAPSHOT

    [ https://issues.apache.org/jira/browse/UIMA-681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555274#action_12555274 ] 

Michael Baessler commented on UIMA-681:
---------------------------------------

I tried to work with the Maven properties without success. As you know we have a Project structure with one parent POM and many child POMs. 
In defined some properties in the parent POM but I was not able to access them in the child POMs.

The other issue is that in each child POM I have to specify settings of the parent POM and also the version of the parent POM :-( . So this can't work with inherited variables. 

So what else can we do:
If we remove the <version> tags from the child POM it inherits automatically the version from the parent POM. So what does this mean. 
- We don't have to change the version number for the child POMs
- We still have to change the parent POM settings (version number) for each child POM
- All child POMs have dependencies to other UIMA artifacts with the current artifact version. This can be replaced with ${project.version}.
This approach works for all child POMs except the plugin projects since these have a different version style. Some of the referred UIMA artifacts can be handled with 
${parent.project.version} but the POMs still have an own version that must be updated manually.


Another approach would be to try to load a Maven property from an external source to all POMs. In that case we have external dependencies for the build. 
I haven't tried that way, so I'm also not sure if it works.

> change UIMA version from 2.2.1-incubating to 2.3.0-incubating-SNAPSHOT
> ----------------------------------------------------------------------
>
>                 Key: UIMA-681
>                 URL: https://issues.apache.org/jira/browse/UIMA-681
>             Project: UIMA
>          Issue Type: Task
>          Components: Build, Packaging and Test
>    Affects Versions: 2.2.1
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>             Fix For: 2.3
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.