olamy commented on PR #154: URL: https://github.com/apache/maven-invoker-plugin/pull/154#issuecomment-1340822455
well testing this with jdk19 is chicken and egg issue :). I find a workaround but this bring another problem and I do not have solution for this. This snippet I would like to exclude some artifacts from the released version but doesn't work..... ``` <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <dependencies> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-script-interpreter</artifactId> <version>1.3</version> <exclusions> <exclusion> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy</artifactId> <scope>runtime</scope> <version>${groovy.version}</version> </dependency> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy-json</artifactId> <scope>runtime</scope> <version>${groovy.version}</version> </dependency> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy-xml</artifactId> <scope>runtime</scope> <version>${groovy.version}</version> </dependency> </dependencies> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org