mvn to create local settings folder in your local home directory. You will see some errors, but don`t mind.
repository directory inside your local .m2 directory.
Eclipse->File->Import->Other->Checkout projects from SVN, click Next=->Create a new Repository Location->Next. Use the following URL: https://core-52n.svn.sourceforge.net/svnroot/core-52n and accept all certificates. Select Security->52n-security->trunk and click Next. Select Check out as project using the New Project Wizard and confirm with Finish. Select the General->Project wizard and click Next. Choose a name and click Finish.
M2_REPO, value: ~/.m2/repository).
settings.xml from the conf subfolder to your local .m2/ folder. Open your favorite editor and insert the following inside the settings tag:
<localRepository>
~/.m2/repository
</localRepository>
Inside the profiles tag insert:
<profile>
<id>52n-start</id>
<repositories>
<repository>
<id>n52-releases</id>
<name>52n Releases</name>
<url>http://incubator.52north.org/maven/maven-repo/releases/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
And again under the settings tag:
<activeProfiles>
<activeProfile>52n-start</activeProfile>
</activeProfiles>
pom.xml. Run mvn eclipse:eclipse.
File/Import...->Existing Projects into Workspace->Next->Select root directory->Click on "Browse->Switch into the first subfolder inside your Security API folder->OK->Uncheck "Copy projects into workspace" (this is crucial)->Finish. Repeat this step for every sub-module of the Security API. Everything went fine, if each submodule is now available as a single project in your workspace. There should not be any compile errors (unless they already existed in SVN).
Run->External Tools->External Tools....Select Program and create a new launch configuration. As Location, select the maven batch file (maven.bat) in you maven directory. Use the "Browse File System" Dialog. As Working Directory use ${project_loc}. As Argument insert "install" and name the configuration e.g. maven install.
joejoe and domain is uni-muenster.de or contribute directly.
-- JohannesBrauner - 23 Feb 2007