Hi Kyle,
thanks for your replay.
The compilation error was not fixed, even entering the command mvn clean -U -Prelease package. 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;
Visiting the page http://mvnrepository.com/artifact/com.lowagie/itext/4.2.1 we can notice that the artifact was moved to a new group. So, I will download a package from gbif build repository for our purpose.
If possible, I would ask you to let me know when the source from github are ready to build.
Br,
Francisco Moura +55 (31) 8277-8448 (Claro)
2015-08-26 5:45 GMT-03:00 Kyle Braak kbraak@gbif.org:
Hi Francisco,
I noticed this error myself when testing an upgrade to a newer version of the com.lowagie:itext dependency.
Why don’t you try the command below including -U to tell Maven to use the latest dependency versions.
#mvn clean -U -Prelease package
Below are my Maven, Java, and OS versions I am using in case that helps you:
dhcp-12:ipt kbraak$ mvn --version Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00) Java version: 1.8.0_45, vendor: Oracle Corporation OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: “mac"
Let me know if you have success or not,
Kyle
PS1: You can monitor whether the IPT will build successfully from source here: http://builds.gbif.org/job/ipt/ If the last build was ‘blue’ it will build successfully :)
PS2: The IPT mailing list (http://lists.gbif.org/mailman/listinfo/ipt) 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
On 26 Aug 2015, at 05:56, Francisco Moura franciscomoura@gmail.com wrote:
Hi Kyle, I hope you are doing well!
I need to build IPT from source. So, my environment setup is:
- Oracle JDK 7 and 8
- Maven 3.3.3
When I try to build the application, a lot of errors are showed. The output process is inside the attached file.
I had cloned the source from github.com/gbif/ipt, and I issued the mvn
install command and the build failed.
My questions are:
- The source from github are ready to do the IPT build?
- Which is the correct environment setup to build the IPT with success
from source?
Thanks for your attention.
Best regards,
Francisco Moura +55 (31) 8277-8448 (Claro) <build-error.txt>
Hi Francisco,
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.
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]
Can you please try and change the repositories in the pom.xml to this:
<repositories> <repository> <id>gbif-all</id> <url>http://repository.gbif.org/content/groups/gbif</url> </repository> <repository> <id>gbif-thirdparty</id> <url>http://repository.gbif.org/content/repositories/thirdparty</url> </repository> <!— Added by Francisco —> <repository> <id>gbif-central-mirror</id> <url>http://repository.gbif.org/content/repositories/central/</url> </repository> </repositories>
and then try a rebuild?
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>.
This is what I did: $ mvn package -Dmaven.repo.local=/tmp/m2
Can you please let us know how that works?
Thanks, Tim
[1] http://mvnrepository.com/artifact/com.itextpdf/itextpdf [2] http://search.maven.org/#artifactdetails%7Ccom.lowagie%7Citext%7C4.2.1%7Cpom
On 27 Aug 2015, at 02:06, Francisco Moura franciscomoura@gmail.com wrote:
Hi Kyle,
thanks for your replay.
The compilation error was not fixed, even entering the command mvn clean -U -Prelease package. 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;
Visiting the page http://mvnrepository.com/artifact/com.lowagie/itext/4.2.1 we can notice that the artifact was moved to a new group. So, I will download a package from gbif build repository for our purpose.
If possible, I would ask you to let me know when the source from github are ready to build.
Br,
Francisco Moura +55 (31) 8277-8448 (Claro)
2015-08-26 5:45 GMT-03:00 Kyle Braak kbraak@gbif.org: Hi Francisco,
I noticed this error myself when testing an upgrade to a newer version of the com.lowagie:itext dependency.
Why don’t you try the command below including -U to tell Maven to use the latest dependency versions.
#mvn clean -U -Prelease package
Below are my Maven, Java, and OS versions I am using in case that helps you:
dhcp-12:ipt kbraak$ mvn --version Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00) Java version: 1.8.0_45, vendor: Oracle Corporation OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: “mac"
Let me know if you have success or not,
Kyle
PS1: You can monitor whether the IPT will build successfully from source here: http://builds.gbif.org/job/ipt/ If the last build was ‘blue’ it will build successfully :)
PS2: The IPT mailing list (http://lists.gbif.org/mailman/listinfo/ipt) 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
On 26 Aug 2015, at 05:56, Francisco Moura franciscomoura@gmail.com wrote:
Hi Kyle, I hope you are doing well!
I need to build IPT from source. So, my environment setup is:
- Oracle JDK 7 and 8
- Maven 3.3.3
When I try to build the application, a lot of errors are showed. The output process is inside the attached file.
I had cloned the source from github.com/gbif/ipt, and I issued the mvn install command and the build failed.
My questions are:
- The source from github are ready to do the IPT build?
- Which is the correct environment setup to build the IPT with success from source?
Thanks for your attention.
Best regards,
Francisco Moura +55 (31) 8277-8448 (Claro) <build-error.txt>
IPT mailing list IPT@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ipt
participants (2)
-
Francisco Moura
-
Tim Robertson