Hi Andy.
My bad! The Eclipse GUI defaults to jar and I didn't see it for looking! Must
be Friday afternoon... :-)
Dick
-------- Original message --------
From: Andy Seaborne <[email protected]>
Date: 05/02/2016 11:34 am (GMT+00:00)
To: [email protected]
Subject: Re: POM issue with 3.0.1
Hi Dick!
On 05/02/16 10:56, Dick Murray wrote:
> Hi I'm trying to get the 3.0.1 to build using eclipse/maven but it refuses
> to "find" it in the central repository.
>
> I ran mvn dependency:get
> -Dartifact=org.apache.jena:apache-jena-libs:jar:3.0.1 and got the
> following...
>
> Am I missing something..?
org.apache.jena:apache-jena-libs is not jar.
it's a <packaging>pom</packaging>
and acts as the point of indirection to get the right set of jars for
general use.
Andy
https://github.com/apache/jena/blob/master/apache-jena-libs/pom.xml
>
> [INFO] Resolving org.apache.jena:apache-jena-libs:3.0.1:jar with transitive
> dependencies
> Downloading:
> https://repo.maven.apache.org/maven2/org/apache/jena/apache-jena-libs/jar/apache-jena-libs-jar.pom
> [WARNING] Missing POM for org.apache.jena:apache-jena-libs:3.0.1:jar
> Downloading:
> https://repo.maven.apache.org/maven2/org/apache/jena/apache-jena-libs/jar/apache-jena-libs-jar.3.0.1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 20.303 s
> [INFO] Finished at: 2016-02-05T10:51:35+00:00
> [INFO] Final Memory: 13M/239M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on
> project iungo-core: Couldn't download artifact: Missing:
> [ERROR] ----------
> [ERROR] 1) org.apache.jena:apache-jena-libs:3.0.1:jar
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=org.apache.jena
> -DartifactId=apache-jena-libs -Dversion=jar -Dpackaging=3.0.1
> -Dfile=/path/to/file
> [ERROR]
> [ERROR] Alternatively, if you host your own repository you can deploy the
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.jena
> -DartifactId=apache-jena-libs -Dversion=jar -Dpackaging=3.0.1
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
> [ERROR] 2) org.apache.jena:apache-jena-libs:3.0.1:jar
> [ERROR]
> [ERROR] ----------
> [ERROR] 1 required artifact is missing.
> [ERROR]
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true,
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> dick@Dick-M3800:~/mvntest$
>