Revision 23397 branches/v2_0_0_prep/build/extension-pom/pom.xml
pom.xml | ||
---|---|---|
2 | 2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 |
<modelVersion>4.0.0</modelVersion> |
4 | 4 |
<groupId>org.gvsig</groupId> |
5 |
<artifactId>gvsig-extension-base-pom |
|
6 |
</artifactId> |
|
5 |
<artifactId>gvsig-extension-base-pom</artifactId> |
|
7 | 6 |
<packaging>pom</packaging> |
8 | 7 |
<version>1.0-SNAPSHOT</version> |
9 | 8 |
<name>extension-base-pom</name> |
... | ... | |
38 | 37 |
<build-dir>${basedir}/..</build-dir> |
39 | 38 |
<extension-ant-base-dir> ${build-dir}/extension-pom |
40 | 39 |
</extension-ant-base-dir> |
41 |
<extension-distribution>dist.xml</extension-distribution>
|
|
40 |
<extension-distribution-file>dist.xml</extension-distribution-file>
|
|
42 | 41 |
<library-dir>lib</library-dir> |
43 | 42 |
</properties> |
44 | 43 |
<profiles> |
45 | 44 |
<profile> |
46 |
<id>generate-installers</id>
|
|
45 |
<id>install-extension</id>
|
|
47 | 46 |
<activation> |
48 | 47 |
<property> |
49 | 48 |
<name>install-extension</name> |
... | ... | |
56 | 55 |
</artifactId> |
57 | 56 |
<configuration> |
58 | 57 |
<descriptors> |
59 |
<descriptor> ${extension-distribution}</descriptor> |
|
58 |
<descriptor> ${extension-distribution-file}</descriptor>
|
|
60 | 59 |
</descriptors> |
61 |
<outputDirectory> ${distribution-output-directory} |
|
60 |
<outputDirectory> ${extension-distribution-output-directory}
|
|
62 | 61 |
</outputDirectory> |
63 | 62 |
<finalName> ${distribution-final-name}</finalName> |
64 | 63 |
<appendAssemblyId>true</appendAssemblyId> |
... | ... | |
111 | 110 |
</plugins> |
112 | 111 |
</build> |
113 | 112 |
</profile> |
113 |
<profile> |
|
114 |
<id>generate-installers</id> |
|
115 |
<activation> |
|
116 |
<property> |
|
117 |
<name>generate-install</name> |
|
118 |
</property> |
|
119 |
</activation> |
|
120 |
<build> |
|
121 |
<plugins> |
|
122 |
<plugin> |
|
123 |
<artifactId>maven-assembly-plugin</artifactId> |
|
124 |
<configuration> |
|
125 |
<descriptors> |
|
126 |
<descriptor> |
|
127 |
${distribution-win32-descriptor} |
|
128 |
</descriptor> |
|
129 |
<descriptor> |
|
130 |
${distribution-linux32-descriptor} |
|
131 |
</descriptor> |
|
132 |
<!-- descriptor> |
|
133 |
${distribution-mac-descriptor |
|
134 |
</descriptor--> |
|
135 |
<!--descriptor> |
|
136 |
/distribution/source-distribution.xml |
|
137 |
</descriptor--> |
|
138 |
</descriptors> |
|
139 |
<outputDirectory> |
|
140 |
${distribution-output-directory} |
|
141 |
</outputDirectory> |
|
142 |
<finalName> |
|
143 |
${distribution-final-name} |
|
144 |
</finalName> |
|
145 |
<appendAssemblyId>true</appendAssemblyId> |
|
146 |
<ignoreDirFormatExtensions> |
|
147 |
true |
|
148 |
</ignoreDirFormatExtensions> |
|
149 |
</configuration> |
|
150 |
<executions> |
|
151 |
<execution> |
|
152 |
<id>make-assembly</id><!-- this is used for inheritance merges --> |
|
153 |
<phase>package</phase><!-- append to the packaging phase. --> |
|
154 |
<goals> |
|
155 |
<goal>attached</goal><!-- goals == mojos --> |
|
156 |
</goals> |
|
157 |
</execution> |
|
158 |
</executions> |
|
159 |
</plugin> |
|
160 |
</plugins> |
|
161 |
</build> |
|
162 |
</profile> |
|
114 | 163 |
</profiles> |
115 | 164 |
</project> |
Also available in: Unified diff