From: Chad B. <cwb...@us...> - 2006-09-25 15:00:55
|
User: cwbrandon Date: 06/09/25 08:00:54 Modified: 2/andromdapp Tag: V3_x_HEAD pom.xml Log: fix creation of andromdapp plugin zip bundle Revision Changes Path No revision No revision 1.11.2.15 +5 -5 maven/2/andromdapp/pom.xml Index: pom.xml =================================================================== RCS file: /cvsroot/andromda/maven/2/andromdapp/pom.xml,v retrieving revision 1.11.2.14 retrieving revision 1.11.2.15 diff -u -w -r1.11.2.14 -r1.11.2.15 --- pom.xml 19 Sep 2006 17:37:23 -0000 1.11.2.14 +++ pom.xml 25 Sep 2006 15:00:54 -0000 1.11.2.15 @@ -82,10 +82,10 @@ <filtering>true</filtering> </resource> </resources> - <!-- plugins> - This snippet here creates a zip which can be unzipped into your local repository in order + <plugins> + <!-- This snippet here creates a zip which can be unzipped into your local repository in order to install the andromdapp plugin (this is necessary because currently maven2 will not search - any other repo other than central when trying to install a plugin without a pom.xml, i.e. command line) + any other repo other than central when trying to install a plugin without a pom.xml, i.e. command line) --> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> @@ -103,7 +103,7 @@ <property name="groupId.directory" value="org/andromda/maven/plugins"/> <copy file="${build.directory}/${project.artifactId}-${project.version}.jar" tofile="${plugin.install.directory}/${groupId.directory}/${project.artifactId}/${project.version}/${project.artifactId}-${project.version}.jar"/> - <copy file="${build.directory}/exported-pom.xml" + <copy file="${settings.localRepository}/${groupId.directory}/${project.artifactId}/${project.version}/${project.artifactId}-${project.version}.pom" tofile="${plugin.install.directory}/${groupId.directory}/${project.artifactId}/${project.version}/${project.artifactId}-${project.version}.pom"/> <zip basedir="${plugin.install.directory}" destfile="${build.directory}/${project.artifactId}-install-${project.version}.zip"/> <copy file="${build.directory}/${project.artifactId}-install-${project.version}.zip" @@ -111,6 +111,6 @@ </tasks> </configuration> </plugin> - </plugins --> + </plugins> </build> </project> \ No newline at end of file |