/
pom.xml
131 lines (129 loc) · 5.24 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?xml version="1.0"?>
<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/maven-v4_0_0.xsd">
<parent>
<groupId>org.jruby</groupId>
<artifactId>shared</artifactId>
<version>1.0RC2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jruby</groupId>
<artifactId>jruby</artifactId>
<packaging>jar</packaging>
<version>1.0RC2</version>
<name>JRuby</name>
<dependencies>
<dependency>
<groupId>backport-util-concurrent</groupId>
<artifactId>backport-util-concurrent</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>0.9.91</version>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
<version>2.2.3</version>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm-commons</artifactId>
<version>2.2.3</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>${basedir}/../../src</sourceDirectory>
<testSourceDirectory>${basedir}/../../test</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<!-- <include>org/jruby/test/MainTestSuite.java</include> -->
<!-- <include>org/jruby/test/ScriptTestSuite.java</include> -->
<!-- <include>org/jruby/test/TestUnitTestSuite.java</include> -->
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>serialize</id>
<phase>process-classes</phase>
<configuration>
<tasks>
<taskdef name="jruby-serialize" classname="org.jruby.util.ant.JRubySerialize">
<classpath path="${project.build.outputDirectory}"/>
</taskdef>
<jruby-serialize destdir="${project.build.outputDirectory}">
<fileset dir="${project.build.sourceDirectory}">
<include name="builtin/**/*.rb"/>
</fileset>
</jruby-serialize>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>tests</id>
<phase>test</phase>
<configuration>
<tasks>
<mkdir dir="${project.build.directory}/surefire-reports"/>
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
classpathref="maven.plugin.classpath"/>
<junit fork="yes" forkMode="once" haltonfailure="true" dir="${project.build.testOutputDirectory}" maxmemory="384M">
<classpath>
<path refid="maven.test.classpath"/>
<path refid="maven.plugin.classpath"/>
<pathelement location="${project.basedir}/../../test/requireTest.jar"/>
</classpath>
<formatter type="plain"/>
<formatter type="xml"/>
<formatter type="brief" usefile="false"/>
<sysproperty key="java.awt.headless" value="true"/>
<sysproperty key="basedir" value="${basedir}"/>
<sysproperty key="jruby.home" value="${basedir}/../.."/>
<sysproperty key="jruby.base" value="${basedir}/../.."/>
<sysproperty key="jruby.lib" value="${basedir}/../../lib"/>
<test name="org.jruby.test.MainTestSuite" unless="maven.test.skip" todir="${project.build.directory}/surefire-reports"/>
<test name="org.jruby.test.ScriptTestSuite" unless="maven.test.skip" todir="${project.build.directory}/surefire-reports"/>
<test name="org.jruby.test.TestUnitTestSuite" unless="maven.test.skip" todir="${project.build.directory}/surefire-reports"/>
<test name="org.jvyamlb.YAMLLoadTest" unless="maven.test.skip" todir="${project.build.directory}/surefire-reports"/>
<test name="org.jvyamlb.YAMLDumpTest" unless="maven.test.skip" todir="${project.build.directory}/surefire-reports"/>
</junit>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-junit</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>