<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Francisco,<div><br></div><div>I have just built the IPT using a fresh local maven repository and can confirm it works, so this seems likely to be some kind of repository mirroring issue that you see which we don’t.</div><div><br></div><div>itext was not moved to the new artifact / group until version 5.0.6 [1] so that is not the issue and indeed you can see central still has it on the download link on the page [2]  </div><div><br></div><div>Can you please try and change the repositories in the pom.xml to this:</div><div><br></div><div><div>  <repositories></div><div>    <repository></div><div>      <id>gbif-all</id></div><div>      <url><a href="http://repository.gbif.org/content/groups/gbif</url>">http://repository.gbif.org/content/groups/gbif</url></a></div><div>    </repository></div><div>    <repository></div><div>      <id>gbif-thirdparty</id></div><div>      <url><a href="http://repository.gbif.org/content/repositories/thirdparty</url>">http://repository.gbif.org/content/repositories/thirdparty</url></a></div><div>    </repository></div><div>   <!— Added by Francisco —></div><div>    <repository></div><div>      <id>gbif-central-mirror</id></div><div>      <url><a href="http://repository.gbif.org/content/repositories/central/</url>">http://repository.gbif.org/content/repositories/central/</url></a></div><div>    </repository>  </div><div>  </repositories></div></div><div><br></div><div>and then try a rebuild?</div><div><br></div><div>You might even try and force a new local maven repository (which is what I did to confirm the artifacts still come across the web using -Dmaven.repo.local=<some new directory>.  </div><div><br></div><div>This is what I did:</div><div>  $ mvn package -Dmaven.repo.local=/tmp/m2</div><div><br></div><div>Can you please let us know how that works?</div><div><br></div><div>Thanks,</div><div>Tim</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span></div><div><br></div><div>[1] <a href="http://mvnrepository.com/artifact/com.itextpdf/itextpdf">http://mvnrepository.com/artifact/com.itextpdf/itextpdf</a></div><div>[2] <a href="http://search.maven.org/#artifactdetails|com.lowagie|itext|4.2.1|pom">http://search.maven.org/#artifactdetails%7Ccom.lowagie%7Citext%7C4.2.1%7Cpom</a></div><div><br><div><div>On 27 Aug 2015, at 02:06, Francisco Moura <<a href="mailto:franciscomoura@gmail.com">franciscomoura@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">Hi Kyle,</div><div class="gmail_default"><br></div><div class="gmail_default">thanks for your replay.</div><div class="gmail_default"><br></div><div class="gmail_default">The compilation error was not fixed, even entering the command mvn clean -U -Prelease package.</div><div class="gmail_default">I noticed that inside my ~/.m2/repository/com/lowagie/itext/4.2.1 there isn't the itext-4.2.1.jar file, even using the commands mvn clean -U -Prelease package, mvn -U -Prelease package, etc;</div><div class="gmail_default"><br></div><div class="gmail_default">Visiting the page <a href="http://mvnrepository.com/artifact/com.lowagie/itext/4.2.1">http://mvnrepository.com/artifact/com.lowagie/itext/4.2.1</a> we can notice that the artifact was moved to a new group.</div><div class="gmail_default">So, I will download a package from gbif build repository for our purpose.</div><div class="gmail_default"><br></div><div class="gmail_default">If possible, I would ask you to let me know when the source from github are ready to build.</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Br,</div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><br></div><div>Francisco Moura</div><div>+55 (31) 8277-8448 (Claro)</div></div></div></div>
<br><div class="gmail_quote">2015-08-26 5:45 GMT-03:00 Kyle Braak <span dir="ltr"><<a href="mailto:kbraak@gbif.org" target="_blank">kbraak@gbif.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Francisco,<br>
<br>
I noticed this error myself when testing an upgrade to a newer version of the com.lowagie:itext dependency.<br>
<br>
Why don’t you try the command below including -U to tell Maven to use the latest dependency versions.<br>
<br>
#mvn clean -U -Prelease package<br>
<br>
Below are my Maven, Java, and OS versions I am using in case that helps you:<br>
<br>
dhcp-12:ipt kbraak$ mvn --version<br>
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00)<br>
Java version: 1.8.0_45, vendor: Oracle Corporation<br>
OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: “mac"<br>
<br>
Let me know if you have success or not,<br>
<br>
Kyle<br>
<br>
PS1: You can monitor whether the IPT will build successfully from source here: <a href="http://builds.gbif.org/job/ipt/" rel="noreferrer" target="_blank">http://builds.gbif.org/job/ipt/</a> If the last build was ‘blue’ it will build successfully :)<br>
<br>
PS2: The IPT mailing list (<a href="http://lists.gbif.org/mailman/listinfo/ipt" rel="noreferrer" target="_blank">http://lists.gbif.org/mailman/listinfo/ipt</a>) is ideal for these types of questions. That way your question reaches a broader audience around the world, and you have a better chance of getting a response when the GBIF Secretariat is out of office<br>
<div><div class="h5"><br>
On 26 Aug 2015, at 05:56, Francisco Moura <<a href="mailto:franciscomoura@gmail.com">franciscomoura@gmail.com</a>> wrote:<br>
<br>
> Hi Kyle, I hope you are doing well!<br>
><br>
> I need to build IPT from source. So, my environment setup is:<br>
> - Oracle JDK 7 and 8<br>
> - Maven 3.3.3<br>
><br>
> When I try to build the application, a lot of errors are showed.<br>
> The output process is inside the attached file.<br>
><br>
> I had cloned the source from <a href="http://github.com/gbif/ipt" rel="noreferrer" target="_blank">github.com/gbif/ipt</a>, and I issued the mvn install command and the build failed.<br>
><br>
> My questions are:<br>
> 1) The source from github are ready to do the IPT build?<br>
> 2) Which is the correct environment setup to build the IPT with success from source?<br>
><br>
> Thanks for your attention.<br>
><br>
> Best regards,<br>
><br>
> Francisco Moura<br>
> <a href="tel:%2B55%20%2831%29%208277-8448" value="+553182778448">+55 (31) 8277-8448</a> (Claro)<br>
</div></div>> <build-error.txt><br>
<br>
</blockquote></div><br></div></div>
_______________________________________________<br>IPT mailing list<br><a href="mailto:IPT@lists.gbif.org">IPT@lists.gbif.org</a><br>http://lists.gbif.org/mailman/listinfo/ipt<br></blockquote></div><br></div></body></html>