The dependency of my grails project (the module I'm creating) displays the zip file as part of the build process (for use by the flex application) using the maven-assembly-plugin module. This zip is output to my local mvn repo in the same directory as the jar, which crashes the ie module
.m2/repository/com/mypackage/domain/1.0.0-SNAPSHOT/domain-1.0.0-SNAPSHOT.jar .m2/repository/com/mypackage/domain/1.0.0-SNAPSHOT/domain-1.0.0-SNAPSHOT-generated-tos.zip
Since the module is a (transitive) dependency in my grails project, jar and zip are both cached in ivy cache
Now when I try to run the grails application, Grails seems to detect this ZIP file from the ivy cache and tries to install it as a plugin that does not work for obvious reasons ...
| Loading Grails 2.0.0 | Configuring classpath. | Environment set to development..... | Error Zip ~/.grails/ivy-cache/com.mypackage/domain/zips/domain-1.0.0-SNAPSHOT-generated-tos.zip is not a valid plugin
The zip must be created for the repo, since another module uses the mvn-dependency plugin to unpack it as part of the build process. Thus, I need to find a way to tell Grails to ignore it, since it is not a zip plugin. Is it possible?
source share