Source Build Error:(com.lowagie:itext:jar:null)

Hi,

I am trying to build the source for jasperserver according to source build guide
with maven2 and got the following error when try :

cd jasperserver/trunk
mvn clean install

in windows command prompt.

Although i downloaded itext-1.02b.jar and install
in my local repository directory still getting the same error.



[ERROR] BUILD ERROR [INFO] ---------------------------
[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a range [1.02b,)
com.lowagie:itext:jar:null

from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
ApacheSVN-central
(http://svn.apache.org/maven-snapshot-repository),
jasperServer
(file:/F:/rubel-resources/jasperserver/jasperserver-repo/trunk)


Alauddin
alauddinctgbd's picture
Joined: Aug 4 2006 - 8:37pm
Last seen: 17 years 2 months ago

2 Answers:

The Maven build relies on the availability of public artifacts, like iText, on ibiblio.org and elsewhere. If the public artifacts are not available, the build will fail if you have not already run a build.

We have been noticing that our Maven local repositories in ~/.m2 get corrupted sometimes. The fix for this is to delete the area with the problem, like ~/.m2/repository/com/lowagie, and rerun the build.



Sherman
JasperSoft
swood's picture
24557
Joined: Jun 21 2006 - 12:48pm
Last seen: 10 years 11 months ago
That was very useful information :]

tnx,
Hopbit.
hpbt's picture
39
Joined: Oct 28 2007 - 8:05pm
Last seen: 15 years 11 months ago
Feedback