Interestingly,
rm -rf /home/keith/.m2/repository/org/wso2/registry
mvn clean install -Dmaven.test.skip=true
passes while
rm -rf /home/keith/.m2/repository/org/wso2/registry
mvn clean install -Dmaven.test.skip=true -o
fails.
And even though the prior passes it does throw this warning
[INFO] Unable to load parent project from a relative path: Could not
find the model file
'/home/keith/svn/registry/modules/documentation/../pom.xml'. for project
unknown
[WARNING] Unable to load parent project from repository: The POM
expression: ${version} could not be evaluated. Reason: Expression value
'${version}' references itself in
'org.wso2.registry:org.wso2.registry:pom:${version}'. for project
org.wso2.registry:org.wso2.registry at Artifact
[org.wso2.registry:org.wso2.registry:pom:${version}]
[INFO] artifact org.apache.maven.skins:maven-default-skin: checking for
updates from wso2-maven2-repo
So i guess we might have to revert the change Glen.
Thanks,
Keith.
Glen Daniels wrote:
> Hi Keith:
>
>>>> The build was complaining saying it cannot download the parent pom. It
>>>> was trying to download org.wso2.registry-{$VERSION}.pom
>>> So can we try to debug instead of backing it out? What platform, what
>>> version of Maven?
>> Linux, maven-2.0.7. We've tried it before and it does not work. For e.g
>> Axis2 has plenty of modules and all of then has the version of the
>> parent pom hard coded.
>
>> I'm not saying that we should follow it just because axis2 does it. But
>> the fact is that maven2 cannot handle this.
>
> Maven2 can handle it just fine, and it seems to work great on Windows
> (running 2.0.7). I just also recommitted the change and rebuilt from
> scratch on FreeBSD (on minotaur.apache.org), and it works fine there too
> (running 2.0.8).
>
> I'd like to find out exactly what's going on with the failure you saw,
> but since we have empirical evidence of it working on two platforms, I'd
> like to leave the version tied to the variable for now.
>
> --Glen
>
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev