Dirk Rosemann created ARCHETYPE-683: ---------------------------------------
Summary: [REGRESSION] groovy.json.JsonOutput not found Key: ARCHETYPE-683 URL: https://issues.apache.org/jira/browse/ARCHETYPE-683 Project: Maven Archetype Issue Type: Bug Components: Archetypes, Generator Affects Versions: 3.3.0 Reporter: Dirk Rosemann I use groovy.json.JsonOutput in partial archetype's archetype-post-generate.groovy, first line of my code is "import groovy.json.JsonOutput". Since archetype v3.3.0 I receive the following error on archetype:generate goal execution: {noformat} Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.3.0:generate (default-cli) {...} Script1.groovy: 1: unable to resolve class groovy.json.JsonOutput @ line 1, column 1. import groovy.json.JsonOutput ^ 1 error{noformat} Workaround is to force usage of v3.2.1 version when using partial archetype, like so: {code:java} <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-archetype-plugin</artifactId> <version>3.2.1</version> </plugin> </plugins> </pluginManagement> {code} This issue seems to be related to https://issues.apache.org/jira/browse/ARCHETYPE-679. Please let me know if you need any additional information. -- This message was sent by Atlassian Jira (v8.20.10#820010)