Skip to content

Instantly share code, notes, and snippets.

@oravecz
Created November 22, 2010 20:09
Show Gist options
  • Save oravecz/710579 to your computer and use it in GitHub Desktop.
Save oravecz/710579 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ringojs</groupId>
<artifactId>ringojs</artifactId>
<version>0.6.1</version>
<packaging>jar</packaging>
<name>RingoJS</name>
<description>
A JavaScript runtime and shell based on Rhino providing a CommonJS conformant module library
and web application framework.
</description>
<url>http://ringojs.org/</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:[email protected]:ringo/ringojs.git</connection>
<url>http://github.com/ringo/ringojs</url>
<developerConnection>scm:git:[email protected]:ringo/ringojs.git</developerConnection>
</scm>
<developers>
<developer>
<id>hns</id>
<name>Hannes Wallnöfer</name>
<email>http://github.com/ringo/ringojs/commits/master?author=hns</email>
<roles>
<role>Project Manager</role>
</roles>
</developer>
<developer>
<id>earl</id>
<name>Andreas Bolka</name>
<email>http://github.com/ringo/ringojs/commits/master?author=earl</email>
</developer>
<developer>
<id>robi42</id>
<name>Robert Thurnher</name>
<email>http://github.com/ringo/ringojs/commits/master?author=robi42</email>
</developer>
<developer>
<id>oberhamsi</id>
<name>Simon Oberhammer</name>
<email>http://github.com/ringo/ringojs/commits/master?author=oberhamsi</email>
</developer>
<developer>
<id>grob</id>
<name>Robert Gaggl</name>
<email>http://github.com/ringo/ringojs/commits/master?author=grob</email>
</developer>
<developer>
<id>chi</id>
<name>Christian Langreiter</name>
<email>http://github.com/ringo/ringojs/commits/master?author=chl</email>
</developer>
<developer>
<id>matthias</id>
<name>Matthias Platzer</name>
<email>http://github.com/ringo/ringojs/commits/master?author=matthias</email>
</developer>
<developer>
<id>gmosx</id>
<name>George Moschovitis</name>
<email>http://github.com/ringo/ringojs/commits/master?author=gmosx</email>
</developer>
<developer>
<id>garryyao</id>
<name>Garry Yao</name>
<email>http://github.com/ringo/ringojs/commits/master?author=garryyao</email>
</developer>
<developer>
<id>tschaub</id>
<name>Tim Schaub</name>
<email>http://github.com/ringo/ringojs/commits/master?author=tschaub</email>
</developer>
<developer>
<id>stt</id>
<name>stt</name>
<email>http://github.com/ringo/ringojs/commits/master?author=stt</email>
</developer>
<developer>
<id>pnewhook</id>
<name>Peter Newhook</name>
<email>http://github.com/ringo/ringojs/commits/master?author=pnewhook</email>
</developer>
</developers>
<issueManagement>
<system>github</system>
<url>http://github.com/ringo/ringojs/issues</url>
</issueManagement>
<properties>
<jetty-version>7.1.6.v20100715</jetty-version>
<slf4j-version>1.6.1</slf4j-version>
<log4j-version>1.2.16</log4j-version>
<rhino-version>1.7R3-SNAPSHOT</rhino-version>
<junit-version>3.8.2</junit-version>
<jnr-posix-version>1.1.6</jnr-posix-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-client</artifactId>
<version>${jetty-version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-version}</version>
</dependency>
<dependency>
<groupId>org.ringojs</groupId>
<artifactId>rhino-js</artifactId>
<version>${rhino-version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit-version}</version>
</dependency>
<dependency>
<groupId>org.jruby.ext.posix</groupId>
<artifactId>jnr-posix</artifactId>
<version>${jnr-posix-version}</version>
</dependency>
<dependency>
<groupId>org.jruby.extras</groupId>
<artifactId>constantine</artifactId>
<version>0.7</version>
</dependency>
<dependency>
<groupId>org.jruby.extras</groupId>
<artifactId>jaffl</artifactId>
<version>0.5.5</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j-version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j-version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-continuation</artifactId>
<version>${jetty-version}</version>
<scope>provided</scope>
</dependency>
<!-- These Jetty libraries are only used during the test cases -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${jetty-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-xml</artifactId>
<version>${jetty-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<version>${jetty-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>0.9.94</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<!-- Commented out because they interfere with the code coverage reporting when they are in
the same directory as the source files.
<testSourceDirectory>src</testSourceDirectory>
-->
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes/modules</outputDirectory>
<resources>
<resource>
<directory>modules</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifest>
<addClasspath>false</addClasspath>
<mainClass>org.ringojs.tools.launcher.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<phase>test</phase>
<configuration>
<tasks>
<java classname="org.ringojs.tools.launcher.Main" fork="true"
failonerror="yes">
<arg value="test/all.js"/>
<classpath refid="maven.test.classpath"/>
</java>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<targetJdk>1.5</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<source>1.5</source>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</reporting>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment