Hi Jörn ,

I'm sorry our build is a bit on the bleeding edge, so you do have to
follow carefully the one-time setup requirement (which includes adding
various patches to things), which you probably have done by now :-)

The build instructions, with links to the one-time setups, are in
http://uima.apache.org/building-uima.html

You're hitting an issue related to the fact we have a release vote open. 

We're now using the maven release plugin to do releases, and it works by
a) taking the trunk ( 1-SNAPSHOT)
b) changing the modules being released to version (1) dropping the snapshot
c) committing that to a release "tag"
d) changing the modules being released to version (2-SNAPSHOT)
e) committing that back to trunk

So that is why the uimaj projects don't currently build with the
procedure you tried - they're not updated to refer to version 1 (the
hopefully soon-to-be-released version of the build tools).

As soon as the vote goes thru, and we do the release, we'll update the
refs to the "released" version of the build tools.

If you're testing the release, the way to do that is in the [VOTE] note
- but consists of
a) setting up your maven "settings.xml" file to have the staged-release
profile pointing to the release being "tested"
b) running mvn with the -Pstaged-release profile specified
c) changing the versions of uimaj (if you check out from trunk) that
refer to build artifacts from 1-SNAPSHOT to 1 (except for the
parent-pom-top artifact, which is already released, and should already
be at 1).

Some specific comments also, below.

Sorry for these (temporary) annoyances...  If this isn't clear, please
ask more :-)

-Marshall

On 6/25/2010 7:21 AM, Jörn Kottmann wrote:
> First I did a fresh checkout in the structure suggested on the web site:
> svn checkout https://svn.apache.org/repos/asf/uima/uimaj/trunk
> uima-dev/uimaj
> svn checkout https://svn.apache.org/repos/asf/uima/build/trunk
> uima-dev/build
> svn checkout https://svn.apache.org/repos/asf/uima/uima-as/trunk
> uima-dev/uima-as
> svn checkout https://svn.apache.org/repos/asf/uima/sandbox/trunk
> uima-dev/sandbox

OK - you checked out the trunk.
>
> Went to uima-dev/uimaj/aggregate-uimaj and did mvn install, which
> failed, so I
> went on to uima-dev/build/aggregate-parent-poms. Building it with my
> installed
> maven 2.2.1 failed, ok updated to  3.0-beta-1, then it worked.

Right, there's a bug in 2.2.1 which is fixed in 3.0 relating I think to
inheritance of profiles (I don't remember exactly...)
>
> After parents pom build, I tried again to build
> uima-dev/uimaj/aggregate-uimaj, but its
> still failing with this error message:
> [ERROR]   The project org.apache.uima:uimaj-core:2.3.1-SNAPSHOT
> (/home/joern/uima-dev/uimaj/uimaj-core/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM
> org.apache.uima:parent-pom-ibm-notice:1-SNAPSHOT for
> org.apache.uima:uimaj-core:2.3.1-SNAPSHOT: Failed to resolve POM for
> org.apache.uima:parent-pom-ibm-notice:1-SNAPSHOT due to Missing:
> ----------
> 1) org.apache.uima:parent-pom-ibm-notice:pom:1-SNAPSHOT
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  org.apache.uima:parent-pom-ibm-notice:pom:1-SNAPSHOT
> ....
>
> What I am doing wrong ?
>
> Jörn
>
>

Reply via email to