In principle, yes. You descibed earlier that the -SNAPSHOT that is your problem is in 6.2.0-SNAPSHOT, the version for the xapi jar, not a 4.4.0-SNAPSHOT detailing cloudstacks version. The code for setting this version hasn't changed so I suspect that 4.3.0 has in the top level pom 4.3.0-SNAPSHOT.
@Tim: you happen to know whether this xapi version has to change in the top level pom, or whether it maybe shouldn't have in other places? Daan On Thu, Jul 3, 2014 at 11:46 PM, Ove Ewerlid <ove.ewer...@oracle.com> wrote: > On 07/03/2014 10:16 PM, Daan Hoogland wrote: >> >> Ove, any target specific? mvn clean test works. > > > No target specifics AFAIK. Below is a short script that repeats the issue. > > For the example run below a Fedora 20 system was used, the same error is > seen on OEL65 (Oracle variant of RHEL65). > > This could be ~/.m2 cache madness but on the other hand, we can probably > agree that the top level pom.xml shall not contain any traces of "-SNAPSHOT" > in an RC for 4.4.0 irregardless of presence of compile failures or not. > > The fix to the compile failure seen below is to remove the single occurrence > of "-SNAPSHOT" in the top level pom.xml (as seen in 4.4-RC20140702T2107). > > /Ove > > > [oewerlid@amd-a git]$ cat rc44-compile-issue-repeat.sh > #!/bin/bash > cat /etc/issue|grep Fedora > sudo yum -y install mvn java-1.7.0 > /dev/null > rm -rf ~/.m2 > rm -rf ~/acs44test; mkdir ~/acs44test; cd ~/acs44test > git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git > cd cloudstack > git checkout 4.4-RC20140702T2107 > mvn -D skipTests -P developer | grep '^\[ERROR\]' | grep -- -SNAPSHOT > [oewerlid@amd-a git]$ ./rc44-compile-issue-repeat.sh > Fedora release 20 (Heisenbug) > Cloning into 'cloudstack'... > remote: Counting objects: 508606, done. > remote: Compressing objects: 100% (101172/101172), done. > remote: Total 508606 (delta 339589), reused 500432 (delta 333829) > Receiving objects: 100% (508606/508606), 378.44 MiB | 1.25 MiB/s, done. > Resolving deltas: 100% (339589/339589), done. > Checking connectivity... done. > Branch 4.4-RC20140702T2107 set up to track remote branch 4.4-RC20140702T2107 > from origin. > Switched to a new branch '4.4-RC20140702T2107' > [ERROR] Failed to execute goal on project cloud-plugin-hypervisor-ovm: Could > not resolve dependencies for project > org.apache.cloudstack:cloud-plugin-hypervisor-ovm:jar:4.4.0: Could not find > artifact org.apache.cloudstack:xapi:jar:6.2.0-\ > 1-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots) -> > [Help 1] > [oewerlid@amd-a git]$ > > > >> On Thu, Jul 3, 2014 at 6:06 AM, Ove Ewerlid <ove.ewer...@oracle.com> >> wrote: >>> >>> -1 >>> >>> The top level pom.xml still contains a -SNAPSHOT suffix. >>> >>> https://github.com/apache/cloudstack/blob/4.4-RC20140702T2107/pom.xml >>> >>> line 63. >>> >>> Removing the -SNAPSHOT suffix allows compilation. >>> >>> /Ove (Nitpicking) >>> >>> >>> >>> >>> On 07/02/2014 10:18 PM, Daan Hoogland wrote: >>>> >>>> >>>> Hi All, >>>> >>>> I've created a 4.4.0 release, with the following artifacts up for a >>>> vote: >>>> >>>> Git Branch and Commit SH: >>>> >>>> >>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.4-RC20140702T2107 >>>> Commit: 379387961bd05d1f84fe2e9a1997e9ecdceef91a >>>> >>>> List of changes: >>>> >>>> >>>> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/ >>>> >>>> Source release (checksums and signatures are available at the same >>>> location): >>>> https://dist.apache.org/repos/dist/dev/cloudstack/4.4.0/ >>>> >>>> PGP release keys (signed using 4096R/AA4736F3): >>>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS >>>> >>>> Vote will be open for 72 hours. >>>> >>>> For sanity in tallying the vote, can PMC members please be sure to >>>> indicate "(binding)" with their vote? >>>> >>>> [ ] +1 approve >>>> [ ] +0 no opinion >>>> [ ] -1 disapprove (and reason why) >>>> >>>> >>>> I will ad my key to the mentioned KEYS file as soon as possible, >>>> >>> >>> >>> -- >>> Ove Everlid >>> System Administrator / Architect / SDN- & Automation- & Linux-hacker >>> Mobile: +46706668199 (dedicated work mobile) >>> Country: Sweden, timezone; Middle Europan Time (MET or GMT+1) >> >> >> >> > > > -- > Ove Everlid > System Administrator / Architect / SDN- & Automation- & Linux-hacker > Mobile: +46706668199 (dedicated work mobile) > Country: Sweden, timezone; Middle Europan Time (MET or GMT+1) -- Daan