mvn to create local settings folder in your local home directory. You will see some errors, but don`t mind.
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 profiles tag insert:
//define a profile that specifies the 52n release repository
<profile>
<id>52n-start</id>
<repositories>
<repository>
<id>n52-releases</id>
<name>52n Releases</name>
<url>http://52north.org/maven/repo/releases/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>n52-snapshots</id>
<name>52n Snapshots</name>
<url>http://52north.org/maven/repo/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>n52-releases</id>
<name>52n Releases</name>
<url>http://52north.org/maven/repo/releases/</url>
</pluginRepository>
</pluginRepositories>
</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