Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Maven version: 2.0.9
Java version: 1.6.0_0
OS name: "linux" version: "2.6.27.19-170.2.35.fc10.x86_64" arch: "amd64" Family: "unix"
Description
Executing the following produces jar files in the plugins folder. I think it is bad to have these in the project tree. Can they be stored outside project tree or included in Maven dependencies? Is there a workaround (such as exclude plugins from version control and re-run install-plugin on checkout)?
$ mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate -DarchetypeGroupId=org.grails -DarchetypeArtifactId=grails-maven-archetype -DarchetypeVersion=1.0-SNAPSHOT -DarchetypeRepository=http://snapshots.repository.codehaus.org -DgroupId=example -DartifactId=my-app
$ cd my-app
$ mvn initialize
$ mvn grails:install-plugin -DpluginName=gwt
$ find . -name "*.jar"
./plugins/gwt-0.3-SNAPSHOT/lib/gwt-servlet.jar
./plugins/gwt-0.3-SNAPSHOT/lib/grails-gwt-util.jar
./plugins/hibernate-1.1/lib/hibernate-annotations-3.3.0.jar
./plugins/hibernate-1.1/lib/dom4j-1.6.1.jar
./plugins/hibernate-1.1/lib/hibernate-commons-annotations-3.3.0.jar
./plugins/hibernate-1.1/lib/javassist-3.4.GA.jar
./plugins/hibernate-1.1/lib/hibernate3-3.3.1.jar
Issue Links
| This issue is related to: | ||||
| MAVEN-81 | Make project plugin dir configurable |
|
|
|
this is fixed in 1.1