[jboss-user] [Snowdrop] - Instructions on how to build snowdrop project

Zemian Deng do-not-reply at jboss.com
Sun Aug 19 15:10:28 EDT 2012


Zemian Deng [https://community.jboss.org/people/saltnlight5] created the discussion

"Instructions on how to build snowdrop project"

To view the discussion, visit: https://community.jboss.org/message/754405#754405

--------------------------------------------------------------
I 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
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/754405#754405]

Start a new discussion in Snowdrop at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120819/fecff955/attachment.html 


More information about the jboss-user mailing list