I've packaged up jempbox and fontbox, prereqs for pdfbox. Now trying to
build pdfbox I get:
Downloading:
file:///usr/share/maven2/repository/JPP/maven2/default_poms/org.apache.pdfbox-fontbox.pom
Downloading:
file:///usr/share/maven2/repository/JPP/maven2/default_poms/org.apache.pdfbox-jempbox.pom
...
Missing:
----------
1) org.apache.pdfbox:fontbox:jar:1.0.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.pdfbox
-DartifactId=fontbox -Dversion=1.0.0 -
Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.apache.pdfbox
-DartifactId=fontbox -Dversion=1.0.0 -Dp
ackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.pdfbox:pdfbox:bundle:1.0.0
2) org.apache.pdfbox:fontbox:jar:1.0.0
2) org.apache.pdfbox:jempbox:jar:1.0.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.pdfbox
-DartifactId=jempbox -Dversion=1.0.0 -
Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.apache.pdfbox
-DartifactId=jempbox -Dversion=1.0.0 -Dp
ackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.pdfbox:pdfbox:bundle:1.0.0
2) org.apache.pdfbox:jempbox:jar:1.0.0
I don't see
/usr/share/maven2/repository/JPP/maven2/default_poms/org.apache.pdfbox-fontbox.pom
or
/usr/share/maven2/repository/JPP/maven2/default_poms/org.apache.pdfbox-jempbox.pom
present, but there is /usr/share/maven2/poms/JPP-fontbox.pom:
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>6</version>
</parent>
<groupId>org.apache.pdfbox</groupId>
<artifactId>fontbox</artifactId>
<version>1.0.0</version>
<packaging>bundle</packaging>
I suspect I'm not packaging the pom correctly as part of the pdfbox
project, but not sure how to fix. Help please?
fontbox spec has:
cp -p pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
%add_to_maven_depmap org.apache.maven %{name} %{version} JPP %{name}
Thanks!
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301
http://www.cora.nwra.com