You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Miguel Bento Alves <mb...@gmail.com> on 2014/06/17 00:55:11 UTC

Using Jena with Apache Maven

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.

Miguel


mba:JenaMBA_JENA650 mba$ mvn clean install

[INFO] Scanning for projects...

[INFO] 
------------------------------------------------------------------------

[INFO] Reactor Build Order:

[INFO] 

[INFO] Apache Jena - Parent

[INFO] Apache Jena - IRI

[INFO] Apache Jena - Core

[INFO] Apache Jena - ARQ (SPARQL 1.1 Query Engine)

[INFO] Apache Jena - TDB (Native Triple Store)

[INFO] Apache Jena - Libraries POM

[INFO] Apache Jena - SPARQL Text Search

[INFO] Apache Jena - SPARQL Spatial Search

[INFO] Apache Jena - SDB (SQL based triple store)

[INFO] Apache Jena - Fuseki (SPARQL 1.1 Server)

[INFO] Apache Jena - Security

[INFO] Apache Jena - JDBC Parent

[INFO] Apache Jena - JDBC Core API

[INFO] Apache Jena - JDBC Remote Endpoint Driver

[INFO] Apache Jena - JDBC In-Memory Driver

[INFO] Apache Jena - JDBC TDB Driver

[INFO] Apache Jena - JDBC Driver Bundle

[INFO] Apache Jena - Maven Plugins, including schemagen

[INFO] Apache Jena - Distribution

[INFO] Apache Jena

[INFO] 

[INFO] Using the builder
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBui
lder with a thread count of 1

[INFO]             

[INFO] 
------------------------------------------------------------------------

[INFO] Building Apache Jena - Parent 10-SNAPSHOT

[INFO] 
------------------------------------------------------------------------

[INFO] 

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jena-parent ---

[INFO] 

[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce) @ jena-parent ---

[INFO] 

[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @ jena-parent
---

[INFO] 

[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ jena-parent
---

[INFO] 

[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
jena-parent ---

[INFO] 

[INFO] --- maven-install-plugin:2.5.1:install (default-install) @
jena-parent ---

[INFO] Installing 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-parent/pom.xml to
/Users/mba/.m2/repository/org/apache/jena/jena-parent/10-SNAPSHOT/jena-paren
t-10-SNAPSHOT.pom

[INFO]             

[INFO] 
------------------------------------------------------------------------

[INFO] Building Apache Jena - IRI 1.1.0-SNAPSHOT

[INFO] 
------------------------------------------------------------------------

[INFO] 

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jena-iri ---

[INFO] 

[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce) @ jena-iri ---

[INFO] 

[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @ jena-iri ---

[INFO] 

[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ jena-iri
---

[INFO] 

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
jena-iri ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 0 resource

[INFO] Copying 3 resources

[INFO] 

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jena-iri
---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 44 source files to
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/target/classes

[INFO] 

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)
@ jena-iri ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 4 resources

[INFO] Copying 3 resources

[INFO] 

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
jena-iri ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 22 source files to
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/target/test-class
es

[INFO] 

[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ jena-iri ---

[INFO] Surefire report directory:
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/target/surefire-r
eports



-------------------------------------------------------

 T E S T S

-------------------------------------------------------

Running org.apache.jena.iri.test.TestPackage

Tests run: 1297, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.617 sec
- in org.apache.jena.iri.test.TestPackage



Results :



Tests run: 1297, Failures: 0, Errors: 0, Skipped: 0



[INFO] 

[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jena-iri ---

[INFO] Building jar:
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/target/jena-iri-1
.1.0-SNAPSHOT.jar

[INFO] 

[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
jena-iri ---

[INFO] 

[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ jena-iri
---

[INFO] Building jar:
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/target/jena-iri-1
.1.0-SNAPSHOT-sources.jar

[INFO] 

[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ jena-iri ---

[INFO] 

100 errors

27 warnings

[INFO] 
------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO] 

[INFO] Apache Jena - Parent .............................. SUCCESS [  2.300
s]

[INFO] Apache Jena - IRI ................................. FAILURE [ 15.399
s]

[INFO] Apache Jena - Core ................................ SKIPPED

[INFO] Apache Jena - ARQ (SPARQL 1.1 Query Engine) ....... SKIPPED

[INFO] Apache Jena - TDB (Native Triple Store) ........... SKIPPED

[INFO] Apache Jena - Libraries POM ....................... SKIPPED

[INFO] Apache Jena - SPARQL Text Search .................. SKIPPED

[INFO] Apache Jena - SPARQL Spatial Search ............... SKIPPED

[INFO] Apache Jena - SDB (SQL based triple store) ........ SKIPPED

[INFO] Apache Jena - Fuseki (SPARQL 1.1 Server) .......... SKIPPED

[INFO] Apache Jena - Security ............................ SKIPPED

[INFO] Apache Jena - JDBC Parent ......................... SKIPPED

[INFO] Apache Jena - JDBC Core API ....................... SKIPPED

[INFO] Apache Jena - JDBC Remote Endpoint Driver ......... SKIPPED

[INFO] Apache Jena - JDBC In-Memory Driver ............... SKIPPED

[INFO] Apache Jena - JDBC TDB Driver ..................... SKIPPED

[INFO] Apache Jena - JDBC Driver Bundle .................. SKIPPED

[INFO] Apache Jena - Maven Plugins, including schemagen .. SKIPPED

[INFO] Apache Jena - Distribution ........................ SKIPPED

[INFO] Apache Jena ....................................... SKIPPED

[INFO] 
------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] 
------------------------------------------------------------------------

[INFO] Total time: 18.228 s

[INFO] Finished at: 2014-06-16T23:21:17+00:00

[INFO] Final Memory: 29M/133M

[INFO] 
------------------------------------------------------------------------

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on
project jena-iri: MavenReportException: Error while creating archive:

[ERROR] Exit code: 1 -
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRI.java:413: warning: no description for @param

[ERROR] * @param relative

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRI.java:425: warning: no description for @param

[ERROR] * @param relative

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRI.java:441: warning: no description for @param

[ERROR] * @param iri

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRI.java:449: warning: no description for @param

[ERROR] * @param iri

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRI.java:458: error: bad use of '>'

[ERROR] * java <em>&lt;classpath></em> [ -help ] [ -iri | -uri | -xml |
-schema | -xlink ] [ -f <em>file</em> ] [ <em>iri</em> ... ]

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRI.java:463: warning: no description for @param

[ERROR] * @param args

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/impl/BuildViolationCodes.java:33: warning: no description
for @param

[ERROR] * @param args

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/impl/BuildViolationCodes.java:34: warning: no description
for @throws

[ERROR] * @throws TransformerFactoryConfigurationError

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/impl/BuildViolationCodes.java:35: warning: no description
for @throws

[ERROR] * @throws TransformerException

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:336: error: bad use of '>'

[ERROR] in URIs, namely "&lt;", ">", '"', space, "{", "}", "|",

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:407: warning: no description for @param

[ERROR] * @param scheme

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:408: warning: no description for @param

[ERROR] * @param userInfo

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:412: warning: no description for @param

[ERROR] * @param query

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:413: warning: no description for @param

[ERROR] * @param fragment

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:444: warning: no description for @param

[ERROR] * @param scheme

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:447: warning: no description for @param

[ERROR] * @param query

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:448: warning: no description for @param

[ERROR] * @param fragment

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:470: warning: no description for @param

[ERROR] * @param scheme

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:471: warning: no description for @param

[ERROR] * @param userInfo

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:475: warning: no description for @param

[ERROR] * @param query

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:476: warning: no description for @param

[ERROR] * @param fragment

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:514: warning: no description for @param

[ERROR] * @param scheme

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:517: warning: no description for @param

[ERROR] * @param query

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:518: warning: no description for @param

[ERROR] * @param fragment

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:546: warning: no @return

[ERROR] public boolean isError(int code) {

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:555: warning: no @return

[ERROR] public boolean isWarning(int code) {

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:617: warning: no @return

[ERROR] public boolean ignoring(int code) {

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:696: error: unknown tag: q

[ERROR] * <q>the full implications must be understood and carefully weighed
before</q>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:696: error: unknown tag: q

[ERROR] * <q>the full implications must be understood and carefully weighed
before</q>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:840: error: no summary or caption for table

[ERROR] * </table>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/IRIFactory.java:261: warning: no @param for template

[ERROR] public IRIFactory(IRIFactory template) {

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:63: error: self-closing element not
allowed

[ERROR] The SCHEME component is required.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:65: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:69: error: bad use of '>'

[ERROR] <li>&lt;<code>foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:71: error: bad use of '>'

[ERROR] <li>&lt;<code>#frag</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:73: error: bad use of '>'

[ERROR] <li>&lt;<code>//example.org/foo/bar#frag</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:112: error: self-closing element not
allowed

[ERROR] The FRAGMENT component must be omitted.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:150: error: self-closing element not
allowed

[ERROR] <br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:155: error: end tag missing: </a>

[ERROR] <a 
href="http://www.apps.ietf.org/rfc/rfc2616.html#sec-3.2.2">section 3.2.2<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:155: error: end tag missing: </a>

[ERROR] <a 
href="http://www.apps.ietf.org/rfc/rfc2616.html#sec-3.2.2">section 3.2.2<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:170: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:176: error: self-closing element not
allowed

[ERROR] The default port is 80.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:178: error: self-closing element not
allowed

[ERROR] The USER component must be omitted.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:180: error: self-closing element not
allowed

[ERROR] The HOST component is required.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:182: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:186: error: bad use of '>'

[ERROR] <li>&lt;<code>http://www.example.org/foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:190: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:194: error: bad use of '>'

[ERROR] <li>&lt;<code>http://www.example.org:80/foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:196: error: bad use of '>'

[ERROR] <li>&lt;<code>http:foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:198: error: bad use of '>'

[ERROR] <li>&lt;<code>http://user@www.example.org/foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:214: error: self-closing element not
allowed

[ERROR] <br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:219: error: end tag missing: </a>

[ERROR] <a href="http://www.apps.ietf.org/rfc/rfc2818.html#sec-2.4">section
2.4<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:219: error: end tag missing: </a>

[ERROR] <a href="http://www.apps.ietf.org/rfc/rfc2818.html#sec-2.4">section
2.4<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:229: error: end tag missing: </a>

[ERROR] <a 
href="http://www.apps.ietf.org/rfc/rfc2818.html#sec-3.2.2">section 3.2.2<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:229: error: end tag missing: </a>

[ERROR] <a 
href="http://www.apps.ietf.org/rfc/rfc2818.html#sec-3.2.2">section 3.2.2<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:244: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:250: error: self-closing element not
allowed

[ERROR] The default port is 443.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:252: error: self-closing element not
allowed

[ERROR] The USER component must be omitted.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:254: error: self-closing element not
allowed

[ERROR] The HOST component is required.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:256: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:260: error: bad use of '>'

[ERROR] <li>&lt;<code>https://www.example.org/foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:264: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:268: error: bad use of '>'

[ERROR] <li>&lt;<code>https://www.example.org:443/foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:270: error: bad use of '>'

[ERROR] <li>&lt;<code>https:foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:272: error: bad use of '>'

[ERROR] <li>&lt;<code>https://user@www.example.org/foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:290: error: self-closing element not
allowed

[ERROR] <br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:295: error: end tag missing: </a>

[ERROR] <a href="http://www.apps.ietf.org/rfc/rfc1738.html#sec-5">section
5<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:295: error: end tag missing: </a>

[ERROR] <a href="http://www.apps.ietf.org/rfc/rfc1738.html#sec-5">section
5<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:302: error: bad HTML entity

[ERROR] fsegment = *[ uchar | "?" | ":" | "@" | "&" | "=" ]

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:327: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:333: error: self-closing element not
allowed

[ERROR] The default port is 21.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:335: error: self-closing element not
allowed

[ERROR] The HOST component is required.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:349: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:353: error: bad use of '>'

[ERROR] <li>&lt;<code>ftp://user@example.org/foo/bar;type=d</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:357: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:361: error: bad use of '>'

[ERROR] <li>&lt;<code>ftp:///foo/bar</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:363: error: bad use of '>'

[ERROR] <li>&lt;<code>ftp://user@example.org/foo/bar;type=z</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:365: error: bad use of '>'

[ERROR] <li>&lt;<code>ftp://user@example.org/foo/b;ar;type=d</code>></li>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:383: error: self-closing element not
allowed

[ERROR] <br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:388: error: end tag missing: </a>

[ERROR] <a href="http://www.apps.ietf.org/rfc/rfc1738.html#sec-5">section
5<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:388: error: end tag missing: </a>

[ERROR] <a href="http://www.apps.ietf.org/rfc/rfc1738.html#sec-5">section
5<a>

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:396: error: bad HTML entity

[ERROR] article = 1*[ uchar | ";" | "/" | "?" | ":" | "&" | "=" ] "@" host

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:415: error: self-closing element not
allowed

[ERROR] The AUTHORITY component must be omitted.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:417: error: self-closing element not
allowed

[ERROR] The PATH component is required.<br />

[ERROR] ^

[ERROR] 
/Volumes/DATA/MBA/JavaDevelopment/JenaMBA_JENA650/jena-iri/src/main/java/org
/apache/jena/iri/ViolationCodes.java:431: error: self-closing element not
allowed

[ERROR] <br/>

[ERROR] 



Re: Using Jena with Apache Maven

Posted by Andy Seaborne <an...@apache.org>.
On 20/06/14 15:38, Miguel Bento Alves wrote:
> Andy,
> 
> I was confused if your answer was about using jena with apache maven (that
> you already answered, changing java from 1.8 to 1.7) or about the circular
> dependencies that I have. Related with circular dependencies, I can build
> but the tests fails. I can go ahead because I built skipping the tests.
> Attached, I send the file with the errors.

Looks like you are running a mix of versions:

You still have this in  jena-core / pom.xml

>> + <dependency>
>> +      <groupId>com.hp.hpl.jena</groupId>
>> +      <artifactId>arq</artifactId>
>> +      <version>2.8.8</version>

but it should be:
<version>2.12.0-SNAPSHOT</version>

(having built or installed a snapshot build separately to your copy)

You'll probably get away with 2.11.2 - not 2.8.8 which is ages old.

>> +      <type>zip</type>

<type>jar</type>



> 
> Miguel
> 
> 
> On 19/06/14 10:44, "Andy Seaborne" <an...@apache.org> wrote:
> 
>> https://github.com/mbentoalves/jena
>>
>> [minor]
>> You'll need to add
>>
>> nb-configuration.xml
>>
>> to .gitignore.
>>
>> + <dependency>
>> +      <groupId>com.hp.hpl.jena</groupId>
>> +      <artifactId>arq</artifactId>
>> +      <version>2.8.8</version>
>> +      <type>zip</type>
>>
>> Couple of things:
>>
>> 1/ It's type "jar"  isn't it?
>> 2/ Version - should be the same as the rest of Jena: 2.12.0-SNAPSHOT if
>> you are working from the current source tree.  2.8.8is likely to give
>> you some kind of incompatibility error at some point.
>>
>> It would be good to put in some tests of the work so far so that you
>> know when future changes affect code already written.
>>
>> 	Andy
>>
>> On 18/06/14 10:02, Andy Seaborne wrote:
>>> On 18/06/14 09:01, Miguel Bento Alves wrote:
>>>> Andy,
>>>>
>>>> I did that and builded well except for JDBC TDB Driver. For me is not a
>>>> problem, I can work.
>>>
>>> Good.
>>>
>>> The "mvn -Pdev" build does the part you care about - not SDB nor JDBC
>>> which are the slower ones - so it's faster.
>>>
>>>       Andy
>>>
>>>>
>>>> Miguel
>>>>
>>>>
>>>> On 17/06/14 20:08, "Andy Seaborne" <an...@apache.org> wrote:
>>>>
>>>>> Miguel,
>>>>>
>>>>> You'll need to set JAVA_HOME to a java7 installation.
>>>>>
>>>>> Not only is it doclint problems but ARQ does not build due to a plugin
>>>>> problem with maven.
>>>>>
>>>>>      Andy
>>>>>
>>>>> On 17/06/14 09:38, Andy Seaborne wrote:
>>>>>> 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-ja
>>>>>> va-
>>>>>>
>>>>>> 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
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
> 


Re: Using Jena with Apache Maven

Posted by Miguel Bento Alves <mb...@gmail.com>.
Andy, 

I was confused if your answer was about using jena with apache maven (that
you already answered, changing java from 1.8 to 1.7) or about the circular
dependencies that I have. Related with circular dependencies, I can build
but the tests fails. I can go ahead because I built skipping the tests.
Attached, I send the file with the errors.

Miguel


On 19/06/14 10:44, "Andy Seaborne" <an...@apache.org> wrote:

>https://github.com/mbentoalves/jena
>
>[minor]
>You'll need to add
>
>nb-configuration.xml
>
>to .gitignore.
>
>+ <dependency>
>+      <groupId>com.hp.hpl.jena</groupId>
>+      <artifactId>arq</artifactId>
>+      <version>2.8.8</version>
>+      <type>zip</type>
>
>Couple of things:
>
>1/ It's type "jar"  isn't it?
>2/ Version - should be the same as the rest of Jena: 2.12.0-SNAPSHOT if
>you are working from the current source tree.  2.8.8is likely to give
>you some kind of incompatibility error at some point.
>
>It would be good to put in some tests of the work so far so that you
>know when future changes affect code already written.
>
>	Andy
>
>On 18/06/14 10:02, Andy Seaborne wrote:
>> On 18/06/14 09:01, Miguel Bento Alves wrote:
>>> Andy,
>>>
>>> I did that and builded well except for JDBC TDB Driver. For me is not a
>>> problem, I can work.
>>
>> Good.
>>
>> The "mvn -Pdev" build does the part you care about - not SDB nor JDBC
>> which are the slower ones - so it's faster.
>>
>>      Andy
>>
>>>
>>> Miguel
>>>
>>>
>>> On 17/06/14 20:08, "Andy Seaborne" <an...@apache.org> wrote:
>>>
>>>> Miguel,
>>>>
>>>> You'll need to set JAVA_HOME to a java7 installation.
>>>>
>>>> Not only is it doclint problems but ARQ does not build due to a plugin
>>>> problem with maven.
>>>>
>>>>     Andy
>>>>
>>>> On 17/06/14 09:38, Andy Seaborne wrote:
>>>>> 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-ja
>>>>>va-
>>>>>
>>>>> 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
>>>>>
>>>>
>>>
>>>
>>
>


Re: Using Jena with Apache Maven

Posted by Andy Seaborne <an...@apache.org>.
https://github.com/mbentoalves/jena

[minor]
You'll need to add

nb-configuration.xml

to .gitignore.

+ <dependency>
+      <groupId>com.hp.hpl.jena</groupId>
+      <artifactId>arq</artifactId>
+      <version>2.8.8</version>
+      <type>zip</type>

Couple of things:

1/ It's type "jar"  isn't it?
2/ Version - should be the same as the rest of Jena: 2.12.0-SNAPSHOT if 
you are working from the current source tree.  2.8.8is likely to give 
you some kind of incompatibility error at some point.

It would be good to put in some tests of the work so far so that you 
know when future changes affect code already written.

	Andy

On 18/06/14 10:02, Andy Seaborne wrote:
> On 18/06/14 09:01, Miguel Bento Alves wrote:
>> Andy,
>>
>> I did that and builded well except for JDBC TDB Driver. For me is not a
>> problem, I can work.
>
> Good.
>
> The "mvn -Pdev" build does the part you care about - not SDB nor JDBC
> which are the slower ones - so it's faster.
>
>      Andy
>
>>
>> Miguel
>>
>>
>> On 17/06/14 20:08, "Andy Seaborne" <an...@apache.org> wrote:
>>
>>> Miguel,
>>>
>>> You'll need to set JAVA_HOME to a java7 installation.
>>>
>>> Not only is it doclint problems but ARQ does not build due to a plugin
>>> problem with maven.
>>>
>>>     Andy
>>>
>>> On 17/06/14 09:38, Andy Seaborne wrote:
>>>> 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
>>>>
>>>
>>
>>
>


Re: Using Jena with Apache Maven

Posted by Andy Seaborne <an...@apache.org>.
On 18/06/14 09:01, Miguel Bento Alves wrote:
> Andy,
>
> I did that and builded well except for JDBC TDB Driver. For me is not a
> problem, I can work.

Good.

The "mvn -Pdev" build does the part you care about - not SDB nor JDBC 
which are the slower ones - so it's faster.

	Andy

>
> Miguel
>
>
> On 17/06/14 20:08, "Andy Seaborne" <an...@apache.org> wrote:
>
>> Miguel,
>>
>> You'll need to set JAVA_HOME to a java7 installation.
>>
>> Not only is it doclint problems but ARQ does not build due to a plugin
>> problem with maven.
>>
>> 	Andy
>>
>> On 17/06/14 09:38, Andy Seaborne wrote:
>>> 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
>>>
>>
>
>


Re: Using Jena with Apache Maven

Posted by Miguel Bento Alves <mb...@gmail.com>.
Andy, 

I did that and builded well except for JDBC TDB Driver. For me is not a
problem, I can work.

Miguel


On 17/06/14 20:08, "Andy Seaborne" <an...@apache.org> wrote:

>Miguel,
>
>You'll need to set JAVA_HOME to a java7 installation.
>
>Not only is it doclint problems but ARQ does not build due to a plugin
>problem with maven.
>
>	Andy
>
>On 17/06/14 09:38, Andy Seaborne wrote:
>> 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
>>
>



Re: Using Jena with Apache Maven

Posted by Andy Seaborne <an...@apache.org>.
Miguel,

You'll need to set JAVA_HOME to a java7 installation.

Not only is it doclint problems but ARQ does not build due to a plugin 
problem with maven.

	Andy

On 17/06/14 09:38, Andy Seaborne wrote:
> 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
>


Re: Using Jena with Apache Maven

Posted by Andy Seaborne <an...@apache.org>.
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