Skip to content

Commit

Permalink
Migrate AsciidoctorDoxiaParserTest from Groovy to Java
Browse files Browse the repository at this point in the history
* Remove Groovy infrastructure
  • Loading branch information
abelsromero committed Mar 23, 2021
1 parent 079850b commit 221c3e3
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 311 deletions.
58 changes: 6 additions & 52 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.java.version>1.8</project.java.version>
<project.execution.environment>JavaSE-1.8</project.execution.environment>
<spock.version>0.7-groovy-2.0</spock.version>
<groovy.version>2.1.3</groovy.version>
<asciidoctorj.version>2.4.1</asciidoctorj.version>
<jruby.version>9.2.13.0</jruby.version>
<maven.coveralls.plugin.version>4.3.0</maven.coveralls.plugin.version>
Expand All @@ -75,19 +73,8 @@
<netty.version>4.1.59.Final</netty.version>
<commons.io.version>2.5</commons.io.version>
<doxia.version>1.8</doxia.version>
<gmaven.version>1.5</gmaven.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovy.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.jruby</groupId>
Expand Down Expand Up @@ -135,12 +122,6 @@
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<version>${spock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http</artifactId>
Expand All @@ -161,6 +142,12 @@
<artifactId>doxia-module-xhtml</artifactId>
<version>${doxia.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
Expand Down Expand Up @@ -224,39 +211,6 @@
<target>${project.java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>${gmaven.version}</version>
<executions>
<execution>
<configuration>
<providerSelection>2.0</providerSelection>
</configuration>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.codehaus.gmaven.runtime</groupId>
<artifactId>gmaven-runtime-2.0</artifactId>
<version>${gmaven.version}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovy.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
Expand Down

This file was deleted.

Loading

0 comments on commit 221c3e3

Please sign in to comment.