You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2010/04/23 14:52:50 UTC

[jira] Commented: (UIMA-1768) bundle build failing for cas editor due to maybe wrong eclipse dependency

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

Marshall Schor commented on UIMA-1768:
--------------------------------------

It turns out that maven 2.2.1 had a behavior that ended up not reporting a version mismatch, but maven 3 changed that and now reports an error.

Some experiments:

Using the [3.3.0.0  minimum version for these dependencies (which isn't available in the repos):

using maven 2.2.1:  deleting the .m2 eclipse repo, and running mvn dependency:tree on the cas editor:
* causes the 3.2.1 version to be downloaded, and shown in the dependency tree with no error shown.  Of course, this should be an error, because the POM was saying the minimum version level was 3.3.0.0

Switching to maven 3, and redoing, gives this error:
{noformat}
[ERROR] Failed to execute goal on project uimaj-ep-cas-editor: Couldn't find a version in [3.2.0, 3.2.1] to match range [3.3.0.0,4.0.0)
  org.eclipse.swt:org.eclipse.swt.win32.win32.x86:jar:null

from the specified remote repositories:
  eclipsePlugins (http://repo1.maven.org/eclipse, releases=true, snapshots=false),
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false),
  apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true)
{noformat}

> bundle build failing for cas editor due to maybe wrong eclipse dependency
> -------------------------------------------------------------------------
>
>                 Key: UIMA-1768
>                 URL: https://issues.apache.org/jira/browse/UIMA-1768
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Build, Packaging and Test
>    Affects Versions: 2.3
>            Reporter: Marshall Schor
>            Assignee: Jörn Kottmann
>
> When I build using my m2eclipse environment, I get a report that the dependency for 
> <groupId>org.eclipse.swt</groupId>
> <artifactId>org.eclipse.swt.win32.win32.x86</artifactId>
> and
> <groupId>org.eclipse.ui</groupId>
> <artifactId>views</artifactId>
> both of which specify version 
> <version>[3.3.0.0,4.0.0)</version>
> can't be resolved, because there isn't any version that matches in the repositories.  If I change the lower bound to 3.2.0 - it works.
> The eclipse stuff seems to be in the 
> repo1.maven.org/eclipse/org/eclipse ... etc. and if you look there, there are only the 3.2.0 and 3.2.1 versions, which is why changing this to 3.2.0 as the lower bound makes it work.
> Is this ok to change?

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