Skip to Content.
Sympa Menu

shibboleth-dev - [Shib-Dev] Just little Info to use Eclispe And Maven for shibboleth

Subject: Shibboleth Developers

List archive

[Shib-Dev] Just little Info to use Eclispe And Maven for shibboleth


Chronological Thread 
  • From: <>
  • To:
  • Subject: [Shib-Dev] Just little Info to use Eclispe And Maven for shibboleth
  • Date: Fri, 29 Oct 2010 11:20:04 -0400 (EDT)

For all people which need to compile and deploy Shibboleth java source.

usefull tips.

Use Eclispe IDE 3.5 (Helios)

go to menu help/Install new Software
1 : Install subversion at (for SVN) at
http://subclipse.tigris.org/update_1.6.x

restart eclipse...

go to menu help/Install new Software
2 : Install maven 2 plug in at
http://m2eclipse.sonatype.org/sites/m2e

restart eclipse...

go to menu help/Install new Software,
3: install extra maven software for subversion at
http://m2eclipse.sonatype.org/sites/m2e-extras/site-extras-0.10.0

restart eclipse...

For download shibboleth source
goto https://spaces.internet2.edu/display/SHIB2/SourceAccess to choose
use svn URL https://svn.middleware.georgetown.edu/[REPO_NAME]
Some Repository name are not listed in html table, you need to read carefully
this page or other in shibboleth's site.

Add project in your workspace :
In eclispe goto menu File/ New...
Choose Maven/Checkout maven projects from SCM
indicate URL and svn for SCM...

Finally the source is in your eclispe IDE!!!!


usually choose the pom.xml , click right with your mouse, and choose
"install".

Bug :
The install command launch always the Tests, and sometimes (always...) fail
the built.
I didn't found a easy way to add parameter in maven command like
-"DskipTests=true install" to skip test.
My solution (bad may be...) is to add in pom.xml the tag <skip>true</skip> for
plugin test like this exemple :
--------------------------
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>

<argLine>-Xmx256m</argLine>
</configuration>
</plugin>
-------------------------------------

Hope, it could be help you!

best regards

David


  • [Shib-Dev] Just little Info to use Eclispe And Maven for shibboleth, davidfdm2002, 10/29/2010

Archive powered by MHonArc 2.6.16.

Top of Page