-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
106 lines (101 loc) · 3.18 KB
/
Copy pathpom.xml
File metadata and controls
106 lines (101 loc) · 3.18 KB
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
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.torquebox.mojo.jruby9</groupId>
<artifactId>test</artifactId>
<version>testing</version>
<repositories>
<repository>
<id>mavengems</id>
<url>mavengem:https://rubygems.org</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>mavengems</id>
<url>mavengem:https://rubygems.org</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.6</version>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>leafy-rack</artifactId>
<version>0.4.0</version>
<type>gem</type>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>minitest</artifactId>
<version>5.7.0</version>
<type>gem</type>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<j.version>9.0.3.0</j.version>
</properties>
<build>
<extensions>
<extension>
<groupId>org.torquebox.mojo</groupId>
<artifactId>mavengem-wagon</artifactId>
<version>0.2.0</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.torquebox.mojo</groupId>
<artifactId>jruby9-exec-maven-plugin</artifactId>
<version>@project.version@</version>
<executions>
<execution>
<id>simple</id>
<phase>test</phase>
<goals><goal>exec</goal></goals>
<configuration>
<jrubyVersion>${j.version}</jrubyVersion>
<script>
raise "expected 9 classpath entries but got #{$CLASSPATH.size}: #{$CLASSPATH.inspect}" if $CLASSPATH.size != 10
raise "expected jruby version ${j.version} but was #{JRUBY_VERSION}" if JRUBY_VERSION != '${j.version}'
</script>
</configuration>
</execution>
<execution>
<id>rspec</id>
<phase>test</phase>
<goals><goal>exec</goal></goals>
<configuration>
<command>rspec</command>
</configuration>
</execution>
<execution>
<id>test file</id>
<phase>test</phase>
<goals><goal>exec</goal></goals>
<configuration>
<file>test.rb</file>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>rubygems</groupId>
<artifactId>rspec</artifactId>
<version>3.3.0</version>
<type>gem</type>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.6</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>