Instructions on how to build snowdrop project
saltnlight5 Aug 19, 2012 3:10 PMI didn't see clear instruction on how to do this with latest code from GitHub, so I thought I will share with you how to get the latest project compile.
Install Maven 3 and edit your $HOME/.m2/settings.xml to have at least this:
<settings> <profiles> <profile> <id>global-repos</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>jboss-public-repo</id> <name>jboss-public-repo</name> <url>http://repository.jboss.org/nexus/content/groups/public</url> </repository> <repository> <id>jboss-deprecated-repo</id> <name>jboss-deprecated-repo</name> <url>https://repository.jboss.org/nexus/content/repositories/deprecated</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>jboss-public-repo</id> <name>jboss-public-repo</name> <url>http://repository.jboss.org/nexus/content/groups/public</url> </pluginRepository> </pluginRepositories> </profile> </profiles> </settings>
Now get the latest source code
1. cd $HOME/projects 2. git clone https://github.com/snowdrop/snowdrop.git 3. cd snowdrop 4. # Manually edit pom.xml and comment out "<showDeprecation>true</showDeprecation>" from the compiler plugin. This is giving me a compile error. 5. mvn install
That should get you a successful build and place the jars into your local Maven repository.
Enjoys!
Zemian Deng