svn-gvsig-desktop / tags / v1_10_0_Build_1258 / build / extension-pom / pom.xml @ 34029
History | View | Annotate | Download (5.22 KB)
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|---|
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 |
<modelVersion>4.0.0</modelVersion> |
4 |
<groupId>org.gvsig</groupId> |
5 |
<artifactId>gvsig-extension-base-pom
|
6 |
</artifactId>
|
7 |
<packaging>pom</packaging> |
8 |
<version>1.9-SNAPSHOT</version> |
9 |
<name>extension-base-pom</name> |
10 |
<parent>
|
11 |
<groupId>org.gvsig</groupId> |
12 |
<artifactId>gvsig-basepoms</artifactId> |
13 |
<version>1.9-SNAPSHOT</version> |
14 |
</parent>
|
15 |
<description> Base POM for all GvSIG extension projects. This pom knows
|
16 |
how to build and made an extension for GvSIG. The property |
17 |
"gvsig-path" must be set up correctly.</description>
|
18 |
<dependencies>
|
19 |
<dependency>
|
20 |
<groupId>junit</groupId> |
21 |
<artifactId>junit</artifactId> |
22 |
<version>3.8.1</version> |
23 |
<scope>test</scope> |
24 |
</dependency>
|
25 |
<dependency>
|
26 |
<groupId>log4j</groupId> |
27 |
<artifactId>log4j</artifactId> |
28 |
<version>1.2.8</version> |
29 |
</dependency>
|
30 |
</dependencies>
|
31 |
<properties>
|
32 |
<config>config</config> |
33 |
<plugin-name> ${project.groupId}.${project.artifactId}</plugin-name> |
34 |
<temporaly-build> ${project.build.directory}/${plugin-name}
|
35 |
</temporaly-build>
|
36 |
<extension-lib-dir> ${extension-dir}/${plugin-name}/lib
|
37 |
</extension-lib-dir>
|
38 |
<build-dir>${basedir}/..</build-dir> |
39 |
<extension-ant-base-dir> ${build-dir}/extension-pom
|
40 |
</extension-ant-base-dir>
|
41 |
<!--<extension-distribution-file>dist.xml</extension-distribution-file>-->
|
42 |
<library-dir>lib</library-dir> |
43 |
</properties>
|
44 |
<profiles>
|
45 |
<profile>
|
46 |
<id>install-extension</id> |
47 |
<activation>
|
48 |
<property>
|
49 |
<name>install-extension</name> |
50 |
</property>
|
51 |
</activation>
|
52 |
<build>
|
53 |
<plugins>
|
54 |
<plugin>
|
55 |
<artifactId>maven-assembly-plugin
|
56 |
</artifactId>
|
57 |
<configuration>
|
58 |
<descriptors>
|
59 |
<descriptor> ${extension-distribution-file}</descriptor> |
60 |
</descriptors>
|
61 |
<outputDirectory> ${extension-distribution-output-directory}
|
62 |
</outputDirectory>
|
63 |
<finalName> ${distribution-final-name}</finalName> |
64 |
<appendAssemblyId>true</appendAssemblyId> |
65 |
<ignoreDirFormatExtensions> true</ignoreDirFormatExtensions> |
66 |
</configuration>
|
67 |
<executions>
|
68 |
<execution>
|
69 |
<id>make-assembly</id> |
70 |
<!--
|
71 |
this is used for inheritance merges
|
72 |
-->
|
73 |
<phase>install</phase> |
74 |
<!--
|
75 |
append to the packaging phase.
|
76 |
-->
|
77 |
<goals>
|
78 |
<goal>attached</goal><!-- goals == mojos --> |
79 |
</goals>
|
80 |
</execution>
|
81 |
</executions>
|
82 |
</plugin>
|
83 |
<plugin>
|
84 |
<artifactId>maven-antrun-plugin</artifactId> |
85 |
<executions>
|
86 |
<execution>
|
87 |
<id>copy-to-andami</id> |
88 |
<phase>install</phase> |
89 |
<configuration>
|
90 |
<tasks>
|
91 |
<property name="project.build.directory" value="${project.build.directory}" /> |
92 |
<property name="project.artifactId" value="${project.artifactId}" /> |
93 |
<property name="project.version" value="${project.version}" /> |
94 |
<property name="project.packaging" value="${project.packaging}" /> |
95 |
<property name="temporaly-build" value="${temporaly-build}" /> |
96 |
<property name="plugin-name" value="${plugin-name}" /> |
97 |
<property name="config" value="${config}" /> |
98 |
<property name="extension-dir" value="${extension-dir}" /> |
99 |
<property name="library-dir" value="${library-dir}" /> |
100 |
<property name="distribution-final-name" value="${distribution-final-name}" /> |
101 |
<ant antfile="${extension-ant-base-dir}/build.xml" |
102 |
inheritRefs="true" /> |
103 |
</tasks>
|
104 |
</configuration>
|
105 |
<goals>
|
106 |
<goal>run</goal> |
107 |
</goals>
|
108 |
</execution>
|
109 |
</executions>
|
110 |
</plugin>
|
111 |
</plugins>
|
112 |
</build>
|
113 |
</profile>
|
114 |
<profile>
|
115 |
<id>generate-installers</id> |
116 |
<activation>
|
117 |
<property>
|
118 |
<name>generate-install</name> |
119 |
</property>
|
120 |
</activation><!-- |
121 |
<build>
|
122 |
<plugins>
|
123 |
<plugin>
|
124 |
<artifactId>maven-assembly-plugin</artifactId>
|
125 |
<configuration>
|
126 |
<descriptors>
|
127 |
<descriptor>
|
128 |
${distribution-win32-descriptor}
|
129 |
</descriptor>
|
130 |
<descriptor>
|
131 |
${distribution-linux32-descriptor}
|
132 |
</descriptor>
|
133 |
descriptor>
|
134 |
${distribution-mac-descriptor
|
135 |
</descriptor
|
136 |
descriptor>
|
137 |
/distribution/source-distribution.xml
|
138 |
</descriptor
|
139 |
</descriptors>
|
140 |
<outputDirectory>
|
141 |
${distribution-output-directory}
|
142 |
</outputDirectory>
|
143 |
<finalName>
|
144 |
${distribution-final-name}
|
145 |
</finalName>
|
146 |
<appendAssemblyId>true</appendAssemblyId>
|
147 |
<ignoreDirFormatExtensions>
|
148 |
true
|
149 |
</ignoreDirFormatExtensions>
|
150 |
</configuration>
|
151 |
<executions>
|
152 |
<execution>
|
153 |
<id>make-assembly</id> this is used for inheritance merges
|
154 |
<phase>package</phase> append to the packaging phase.
|
155 |
<goals>
|
156 |
<goal>attached</goal> goals == mojos
|
157 |
</goals>
|
158 |
</execution>
|
159 |
</executions>
|
160 |
</plugin>
|
161 |
</plugins>
|
162 |
</build>
|
163 |
--></profile> |
164 |
</profiles>
|
165 |
</project>
|