On 6/25/2010 9:05 AM, Tommaso Teofili wrote:
> Hi Jorn,
> I am having same issues.
> It seems that some build POMs have 2-SNAPSHOT version but are "using"
> 1-SNAPSHOT versions of other POMs; see in parent-pom-docbook 2-SNAPSHOT the
> uima-build-helper-maven-plugin is at 1-SNAPSHOT version.
>   

True.  The release plugin, when you do a release:prepare, does this
"updating" for you, see
http://maven.apache.org/plugins/maven-release-plugin/examples/prepare-release.html

> This should be changed in my opinion.
>   

Once the release is complete, we will have build artifacts at the
version 1 level.  The poms in the uimaj project will then be updated to
refer to version "1". 

For testing purposes, Adam has created a branch for uimaj with this
already done - you can check out that branch, if you like, for testing
the release. 

Sorry for the confusion...  -Marshall

> Same thing is happening for uimaj-core 2-SNAPSHOT which uses
> parent-pom-ibm-notice version 1-SNAPSHOT even if this could be reasonable
> since build and uimaj could be released in different times. The strange
> thing is that parent-pom-ibm-notice 1-SNAPSHOT is on Nexus at [1] but cannot
> be resolved.
> What could be the issue here?
> Tommaso
>
>
> [1] :
> https://repository.apache.org/service/local/repositories/snapshots/content/org/apache/uima/parent-pom-ibm-notice/1-SNAPSHOT/parent-pom-ibm-notice-1-20100623.132915-7.pom
>
>
>
> 2010/6/25 Jörn Kottmann <[email protected]>
>
>   
>> First I did a fresh checkout in the structure suggested on the web site:
>> svn checkout https://svn.apache.org/repos/asf/uima/uimaj/trunkuima-dev/uimaj
>> svn checkout https://svn.apache.org/repos/asf/uima/build/trunkuima-dev/build
>> svn checkout 
>> https://svn.apache.org/repos/asf/uima/uima-as/trunkuima-dev/uima-as
>> svn checkout 
>> https://svn.apache.org/repos/asf/uima/sandbox/trunkuima-dev/sandbox
>>
>> 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.
>>
>> 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