<html><body>
<p><font size="2" face="sans-serif">Update:</font><br>
<font size="2" face="sans-serif">if I add <scope> and hardcode the path to tools.jar using <systemPath>, it fixes the issue !!!</font><br>
<br>
<font size="2" face="sans-serif"> <dependency></font><br>
<font size="2" face="sans-serif"> <groupId>com.sun</groupId></font><br>
<font size="2" face="sans-serif"> <artifactId>tools</artifactId></font><br>
<font size="2" face="sans-serif"> </font><font size="2" color="#008000" face="sans-serif"><b><i> <scope>system</scope> <<added</i></b></font><br>
<font size="2" color="#008000" face="sans-serif"><b><i> <systemPath>/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.9.fc20.x86_64/lib/tools.jar</systemPath> <<added</i></b></font><br>
<font size="2" face="sans-serif"> </dependency> </font><br>
<br>
<font size="2" face="sans-serif">================================================================================================================================</font><br>
<br>
<font size="2" face="sans-serif">with fedora maven build 3.1.1-2 </font><br>
<br>
<font size="2" face="sans-serif">Build error:</font><br>
<font size="2" face="sans-serif">[ERROR] Failed to execute goal on project hadoop-annotations: Could not resolve dependencies for project org.apache.hadoop:hadoop-annotations:jar:2.0.5-alpha: Failed to collect dependencies at com.sun:tools:jar:SYSTEM: Failed to read artifact descriptor for com.sun:tools:jar:SYSTEM: Could not transfer artifact com.sun:tools:pom:SYSTEM from/to apache.snapshots.https (</font><a href="https://repository.apache.org/content/repositories/snapshots"><font size="2" face="sans-serif">https://repository.apache.org/content/repositories/snapshots</font></a><font size="2" face="sans-serif">): No connector factories available -> [Help 1]</font><br>
<br>
<br>
<font size="2" face="sans-serif">[xxxxx@localhost hadoop-common]$ mvn -v</font><br>
<font size="2" color="#008000" face="sans-serif">Apache Maven 3.1.1 (NON-CANONICAL_2013-10-22_09-01_mockbuild; 2013-10-22 04:01:59-0500)</font><br>
<font size="2" color="#008000" face="sans-serif">Maven home: /usr/share/maven</font><br>
<font size="2" color="#008000" face="sans-serif">Java version: 1.7.0_40, vendor: Oracle Corporation</font><br>
<font size="2" color="#008000" face="sans-serif">Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.9.fc20.x86_64/jre</font><br>
<font size="2" color="#008000" face="sans-serif">Default locale: en_US, platform encoding: UTF-8</font><br>
<font size="2" color="#008000" face="sans-serif">OS name: "linux", version: "3.11.5-302.fc20.x86_64", arch: "amd64", family: "unix"</font><br>
<br>
<font size="2" face="sans-serif"> >>>>> xmvn -v</font><br>
<font size="2" color="#008000" face="sans-serif">Apache Maven 3.1.1 (NON-CANONICAL_2013-10-22_09-01_mockbuild; 2013-10-22 04:01:59-0500)</font><br>
<font size="2" color="#008000" face="sans-serif">Maven home: /usr/share/xmvn</font><br>
<font size="2" color="#008000" face="sans-serif">Java version: 1.7.0_40, vendor: Oracle Corporation</font><br>
<font size="2" color="#008000" face="sans-serif">Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.9.fc20.x86_64/jre</font><br>
<font size="2" color="#008000" face="sans-serif">Default locale: en_US, platform encoding: UTF-8</font><br>
<font size="2" color="#008000" face="sans-serif">OS name: "linux", version: "3.11.5-302.fc20.x86_64", arch: "amd64", family: "unix"</font><br>
<font size="2" face="sans-serif"><br>
Best Regards<br>
Amir Sanjar<br>
<br>
PowerLinux Open Source Hadoop Architect<br>
IBM Senior Software Engineer <br>
Phone# 512-286-8393<br>
Fax# 512-838-8858<br>
<br>
</font><br>
<br>
<img width="16" height="16" src="cid:1__=08BBF69FDFC4E5918f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Mikolaj Izdebski ---10/22/2013 10:23:16 AM---On 10/22/2013 05:19 PM, Amir Sanjar wrote: >"><font size="2" color="#424282" face="sans-serif">Mikolaj Izdebski ---10/22/2013 10:23:16 AM---On 10/22/2013 05:19 PM, Amir Sanjar wrote: ></font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:        </font><font size="1" face="sans-serif">Mikolaj Izdebski <mizdebsk@redhat.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">bigdata@lists.fedoraproject.org</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:        </font><font size="1" face="sans-serif">10/22/2013 10:23 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:        </font><font size="1" face="sans-serif">Re: xmvn build issue</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by:        </font><font size="1" face="sans-serif">bigdata-bounces@lists.fedoraproject.org</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt><font size="2">On 10/22/2013 05:19 PM, Amir Sanjar wrote:<br>
> <br>
> downloaded the latest mvn from<br>
> </font></tt><tt><font size="2"><a href="http://maven.apache.org/docs/3.1.1/release-notes.html">http://maven.apache.org/docs/3.1.1/release-notes.html</a></font></tt><tt><font size="2"><br>
<br>
I meant Fedora build of Maven, packaged as RPM. Available in rawhide:<br>
</font></tt><tt><font size="2"><a href="http://kojipkgs.fedoraproject.org/repos/rawhide/latest/">http://kojipkgs.fedoraproject.org/repos/rawhide/latest/</a></font></tt><tt><font size="2"><br>
<br>
-- <br>
Mikolaj Izdebski<br>
IRC: mizdebsk<br>
_______________________________________________<br>
bigdata mailing list<br>
bigdata@lists.fedoraproject.org<br>
</font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>