Skip to content

Install from Source

jochenwierum edited this page Jul 9, 2012 · 1 revision

Installing Maven Atrifacts from Source

The preferred way

Copy this code into a file, save it as "pom.xml" and run mvn scm:bootstrap

<project>
  <modelVersion>4.0.0</modelVersion>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <groupId>de.cologneintelligence</groupId>
  <artifactId>fitgoodies-scm</artifactId>
  <name>FitGoodies</name>
  <url>http://sourceforge.net</url>
  <scm>
    <connection>scm:git:git://github.com/kia/FitGoodies.git</connection>
    <developerConnection>scm:git:[email protected]:kia/FitGoodies.git</developerConnection>
    <url>http://sourceforge.net/apps/trac/fitgoodies/browser</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-scm-plugin</artifactId>
        <version>1.0</version>
        <configuration>
          <goals>install</goals>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

Do it by hand

You can also download and build all files by hand. First, check out fitgoodies from svn:

git clone git://github.com/kia/FitGoodies.git

Then, install all maven projects:

cd fitgoodies/fitgoodies
mvn install
cd ../archetype-fitgoodies-quickstart
mvn install
Clone this wiki locally