Complete Pom Example

From NeoWiki

Jump to: navigation, search
<project>
       <modelVersion>4.0.0</modelVersion>
       <groupId>my-groupId</groupId>
       <artifactId>my-artifactId</artifactId>
       <name>My neo artifact</name>
       <version>0.1-SNAPSHOT</version>

       <build>
               <defaultGoal>compile</defaultGoal>
               <plugins>
                       <plugin>
                               <groupId>org.apache.maven.plugins</groupId>
                               <artifactId>maven-compiler-plugin</artifactId>
                               <configuration>
                                       <source>1.5</source>
                                       <target>1.5</target>
                               </configuration>
                       </plugin>
               </plugins>
       </build>

       <dependencies>
               <dependency>
                       <groupId>org.neo4j</groupId>
                       <artifactId>neo</artifactId>
                       <version>1.0-rc1-SNAPSHOT</version>
               </dependency>
       </dependencies>

       <repositories>
               <repository>
                       <id>neo4j-public-repository</id>
                       <name>Publically available Maven 2 repository for Neo4j</name>
                       <url>http://m2.neo4j.org</url>
                       <snapshots>
                               <enabled>true</enabled>
                       </snapshots>
               </repository>
       </repositories>
</project>
Personal tools