Revision 32607 branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject/pom.xml

View differences:

pom.xml
107 107
			<version>2.0-SNAPSHOT</version>
108 108
		</dependency>
109 109
	</dependencies>
110
<build>
111
<plugins>
112
      <plugin>
113
        <artifactId>maven-antrun-plugin</artifactId>
114
        <executions>
115
          <execution>
116
            <phase>package</phase>
117
            <configuration>
118
              <tasks>
119
				
120
				<delete file="src/main/resources/templates/API.zip"/>
121
				<delete file="src/main/resources/templates/SPI.zip"/>
122
				<delete file="src/main/resources/templates/SPI+UIAPI.zip"/>
123
				<delete file="src/main/resources/templates/UIAPI.zip"/>
124
				
125
				<zip destfile="src/main/resources/templates/API.zip" 
126
				 basedir="templates/API/" 
127
				 includes="**/*"/>
128
				<zip destfile="src/main/resources/templates/SPI.zip" 
129
				 basedir="templates/SPI/" 
130
				 includes="**/*"/>
131
				<zip destfile="src/main/resources/templates/SPI+UIAPI.zip" 
132
				 basedir="templates/SPI+UIAPI/" 
133
				 includes="**/*"/>
134
				<zip destfile="src/main/resources/templates/UIAPI.zip" 
135
				 basedir="templates/UIAPI/" 
136
				 includes="**/*"/>
137
				 
138
				 
139
              </tasks>
140
            </configuration>
141
            <goals>
142
              <goal>run</goal>
143
            </goals>
144
          </execution>
145
        </executions>
146
      </plugin>
147
    </plugins>
148
</build>
149
</project>
110
	<build>
111
		<plugins>
112
			<plugin>
113
				<artifactId>maven-antrun-plugin</artifactId>
114
				<executions>
115
					<execution>
116
						<phase>package</phase>
117
						<configuration>
118
							<tasks>
119
								<delete file="src/main/resources/templates/API.zip" />
120
								<delete file="src/main/resources/templates/SPI.zip" />
121
								<delete file="src/main/resources/templates/SPI+UIAPI.zip" />
122
								<delete file="src/main/resources/templates/UIAPI.zip" />
123

  
124
								<zip destfile="src/main/resources/templates/API.zip" basedir="templates/API/"
125
									includes="**/*" />
126
								<zip destfile="src/main/resources/templates/SPI.zip" basedir="templates/SPI/"
127
									includes="**/*" />
128
								<zip destfile="src/main/resources/templates/SPI+UIAPI.zip" basedir="templates/SPI+UIAPI/"
129
									includes="**/*" />
130
								<zip destfile="src/main/resources/templates/UIAPI.zip" basedir="templates/UIAPI/"
131
									includes="**/*" />
132
							</tasks>
133
						</configuration>
134
						<goals>
135
							<goal>run</goal>
136
						</goals>
137
					</execution>
138
				</executions>
139
			</plugin>
140
		</plugins>
141
	</build>
142
</project>

Also available in: Unified diff