Skip to content

Instantly share code, notes, and snippets.

@lynnlangit
Created October 24, 2014 15:50
Show Gist options
  • Save lynnlangit/eaaf84b4d266ca88ee57 to your computer and use it in GitHub Desktop.
Save lynnlangit/eaaf84b4d266ca88ee57 to your computer and use it in GitHub Desktop.
Maven pom file for Codenvy with start point (method)
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.tkp</groupId>
<artifactId>teaching-kids-programming</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Teaching Kids Programming</name>
<build>
<sourceDirectory>TeachingKidsProgramming/src/</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>org.teachingkidsprogramming.section01forloops.SimpleSquare</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
<dependency>
<groupId>org.tkp</groupId>
<artifactId>tkp</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/TeachingKidsProgramming/src/jars/TeachingKidsProgramming.jar</systemPath>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment