Skip to content

Commit

Permalink
[ARCHETYPE-683] Add groovy-json to classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Oct 5, 2024
1 parent 15d29c5 commit d366be1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 6 additions & 1 deletion archetype-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
<version>4.0.23</version>
</dependency>
<!-- additional groovy modules -->
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-json</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.ivy</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*/
import java.nio.file.Files
import java.nio.file.Paths
import groovy.json.JsonException // Should error on this line if test fails.


def p = Paths.get(request.getOutputDirectory(), request.getArtifactId(), 'test.txt')
Files.createFile(p)
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-bom</artifactId>
<version>4.0.23</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-compat</artifactId>
Expand Down

0 comments on commit d366be1

Please sign in to comment.