On 16/06/14 23:55, Miguel Bento Alves wrote:
Hi all,

I tried to create a maven repository in my machine as recommended in
https://jena.apache.org/download/maven.html
svn co https://svn.apache.org/repos/asf/jena/trunk/ Jena
cd Jena
mvn clean install
(instead of Jena, my folder name is JenaMBA_JENA650)

I got several errors in third step. I list the errors below. My machine
specifications are:
apache-maven-3.2.1

java version "1.8.0_05"

Mac OS X 10.9.3

I also tried build on netbeans in my machine (after created a branch in
github and clone to my computer) but I have the same kind of errors.

Three weeks ago I created the same repository and everything worked fine.
Now, I needed to create again and I can¹t create a repository.

I have managed to recreate the same situation (same versions of maven and java) when I set JAVA_HOME to point to a java8 system (this is independent of what "mvn -version" prints out!!). If that points to a java7, it works.

http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete

so adding one of those fixes should make it work for you in your local environment.

We (also) need a general, multi-java-version, solution.

Setting JAVA_HOME to be Java7, even if maven is running with java8 works.

(Notes as JENA-716)

Cleaning the javadoc would be good but it seems failing due to just warnings, not strict errors. One warning shouldn't break the build.

        Andy

Miguel

Reply via email to