|
10 | 10 | <properties> |
11 | 11 | <jruby.plugins.version>3.0.6</jruby.plugins.version> |
12 | 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | | - <jruby.version>${jruby.version}</jruby.version> |
14 | | - <warbler.version>2.0.4</warbler.version> |
15 | | - <bundler.version>${bundler.version}</bundler.version> |
16 | 13 | <gem.home>${basedir}/../../pkg/rubygems</gem.home> |
17 | 14 | <gem.path>${basedir}/../../pkg/rubygems</gem.path> |
| 15 | + |
| 16 | + <!-- Default versions, overridden from parent when running tests acros env --> |
| 17 | + <warbler.version>2.0.5</warbler.version> |
| 18 | + <jruby.version>9.4.14.0</jruby.version> |
| 19 | + <bundler.version>2.6.3</bundler.version> |
| 20 | + <jetty.version>9.4.58.v20250814</jetty.version> |
18 | 21 | </properties> |
19 | 22 |
|
20 | 23 | <repositories> |
|
44 | 47 | <type>gem</type> |
45 | 48 | </dependency> |
46 | 49 | <dependency> |
47 | | - <groupId>junit</groupId> |
48 | | - <artifactId>junit</artifactId> |
49 | | - <version>4.13.1</version> |
| 50 | + <groupId>org.junit.jupiter</groupId> |
| 51 | + <artifactId>junit-jupiter</artifactId> |
| 52 | + <version>5.14.0</version> |
50 | 53 | <scope>test</scope> |
51 | 54 | </dependency> |
52 | 55 | <dependency> |
53 | 56 | <groupId>org.hamcrest</groupId> |
54 | | - <artifactId>hamcrest-all</artifactId> |
55 | | - <version>1.3</version> |
| 57 | + <artifactId>hamcrest</artifactId> |
| 58 | + <version>3.0</version> |
56 | 59 | <scope>test</scope> |
57 | 60 | </dependency> |
58 | 61 | </dependencies> |
|
72 | 75 | </resource> |
73 | 76 | </resources> |
74 | 77 | <plugins> |
| 78 | + <plugin> |
| 79 | + <groupId>org.apache.maven.plugins</groupId> |
| 80 | + <artifactId>maven-clean-plugin</artifactId> |
| 81 | + <version>3.5.0</version> |
| 82 | + </plugin> |
| 83 | + <plugin> |
| 84 | + <groupId>org.apache.maven.plugins</groupId> |
| 85 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 86 | + <version>3.6.2</version> |
| 87 | + <executions> |
| 88 | + <execution> |
| 89 | + <id>enforce-maven</id> |
| 90 | + <goals> |
| 91 | + <goal>enforce</goal> |
| 92 | + </goals> |
| 93 | + <configuration> |
| 94 | + <rules> |
| 95 | + <requireMavenVersion> |
| 96 | + <version>3.6.3</version> |
| 97 | + </requireMavenVersion> |
| 98 | + </rules> |
| 99 | + </configuration> |
| 100 | + </execution> |
| 101 | + </executions> |
| 102 | + </plugin> |
| 103 | + <plugin> |
| 104 | + <groupId>org.apache.maven.plugins</groupId> |
| 105 | + <artifactId>maven-compiler-plugin</artifactId> |
| 106 | + <version>3.14.1</version> |
| 107 | + <configuration> |
| 108 | + <release>8</release> |
| 109 | + </configuration> |
| 110 | + </plugin> |
| 111 | + <plugin> |
| 112 | + <groupId>org.apache.maven.plugins</groupId> |
| 113 | + <artifactId>maven-jar-plugin</artifactId> |
| 114 | + <version>3.4.2</version> |
| 115 | + <executions> |
| 116 | + <execution> |
| 117 | + <id>default-jar</id> |
| 118 | + <phase>none</phase> |
| 119 | + </execution> |
| 120 | + </executions> |
| 121 | + </plugin> |
75 | 122 | <plugin> |
76 | 123 | <groupId>org.apache.maven.plugins</groupId> |
77 | 124 | <artifactId>maven-failsafe-plugin</artifactId> |
78 | | - <version>2.9</version> |
| 125 | + <version>3.5.4</version> |
| 126 | + <configuration> |
| 127 | + <failIfNoTests>true</failIfNoTests> |
| 128 | + </configuration> |
79 | 129 | <executions> |
80 | 130 | <execution> |
81 | 131 | <goals> |
|
99 | 149 | <pluginManagement> |
100 | 150 | <plugins> |
101 | 151 | <plugin> |
102 | | - <groupId>org.apache.maven.plugins</groupId> |
103 | | - <artifactId>maven-compiler-plugin</artifactId> |
104 | | - <configuration> |
105 | | - <source>8</source> |
106 | | - <target>8</target> |
107 | | - </configuration> |
108 | | - </plugin> |
109 | | - <plugin> |
110 | | - <groupId>org.mortbay.jetty</groupId> |
| 152 | + <groupId>org.eclipse.jetty</groupId> |
111 | 153 | <artifactId>jetty-maven-plugin</artifactId> |
112 | 154 | <version>${jetty.version}</version> |
113 | 155 | <configuration> |
114 | 156 | <webAppConfig> |
115 | 157 | <contextPath>/</contextPath> |
116 | | - <configurationClasses> |
117 | | - <configurationClass>org.eclipse.jetty.webapp.WebXmlConfiguration</configurationClass> |
118 | | - <configurationClass>org.eclipse.jetty.webapp.WebInfConfiguration</configurationClass> |
119 | | - <configurationClass>org.eclipse.jetty.webapp.TagLibConfiguration</configurationClass> |
120 | | - <configurationClass>org.eclipse.jetty.webapp.MetaInfConfiguration</configurationClass> |
121 | | - <configurationClass>org.eclipse.jetty.webapp.FragmentConfiguration</configurationClass> |
122 | | - <configurationClass>org.eclipse.jetty.webapp.JettyWebXmlConfiguration</configurationClass> |
123 | | - <!-- intentionally no AnnotationConfiguration --> |
124 | | - </configurationClasses> |
125 | 158 | </webAppConfig> |
126 | 159 | <stopPort>9966</stopPort> |
127 | 160 | <stopKey>warbler_stop</stopKey> |
128 | 161 | <scanIntervalSeconds>0</scanIntervalSeconds> |
129 | 162 | <daemon>true</daemon> |
| 163 | + <supportedPackagings>jar</supportedPackagings> |
130 | 164 | </configuration> |
131 | 165 | <executions> |
132 | 166 | <execution> |
133 | 167 | <id>start-jetty</id> |
134 | 168 | <phase>pre-integration-test</phase> |
135 | 169 | <goals> |
136 | | - <goal>run-war</goal> |
| 170 | + <!-- Change to run-war to interactively play with the server without running tests --> |
| 171 | + <goal>deploy-war</goal> |
137 | 172 | </goals> |
138 | 173 | </execution> |
139 | 174 | <execution> |
|
148 | 183 | <plugin> |
149 | 184 | <groupId>org.codehaus.mojo</groupId> |
150 | 185 | <artifactId>exec-maven-plugin</artifactId> |
151 | | - <version>1.2.1</version> |
| 186 | + <version>3.6.1</version> |
152 | 187 | </plugin> |
153 | 188 | <plugin> |
154 | 189 | <groupId>org.jruby.maven</groupId> |
|
175 | 210 | </execution> |
176 | 211 | </executions> |
177 | 212 | </plugin> |
| 213 | + <plugin> |
| 214 | + <groupId>org.codehaus.mojo</groupId> |
| 215 | + <artifactId>versions-maven-plugin</artifactId> |
| 216 | + <version>2.19.1</version> |
| 217 | + <configuration> |
| 218 | + <ignoredVersions>.*-(alpha|beta|M)[-0-9]+</ignoredVersions> |
| 219 | + </configuration> |
| 220 | + </plugin> |
178 | 221 | </plugins> |
179 | 222 | </pluginManagement> |
180 | 223 | </build> |
|
0 commit comments