Skip to content

Getting Started with Maven

JJaraM edited this page Mar 31, 2016 · 1 revision

Adding repository

The first step is add the repository in your pom.xml file.

<repositories>
     <repository>
          <id>SoftStew</id>
          <url>http://jtracking-sonatype.rhcloud.com/content/repositories/snapshots</url>
     </repository>
</repositories>

Adding dependency

After add the repository is necessary to add the jar dependecy.

<dependency>
     <groupId>com.jjm</groupId>
     <artifactId>chameleon</artifactId>
     <version>1.0-SNAPSHOT</version>
</dependency>
Clone this wiki locally