svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.framework / org.gvsig.andami.updater / pom.xml @ 47797
History | View | Annotate | Download (3.15 KB)
1 | 40510 | jjdelcerro | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | |||
3 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||
4 | <modelVersion>4.0.0</modelVersion> |
||
5 | <artifactId>org.gvsig.andami.updater</artifactId> |
||
6 | <packaging>jar</packaging> |
||
7 | <name>${project.artifactId}</name> |
||
8 | <parent>
|
||
9 | <groupId>org.gvsig</groupId> |
||
10 | <artifactId>org.gvsig.desktop.framework</artifactId> |
||
11 | 47797 | jjdelcerro | <version>2.0.448-SNAPSHOT</version> |
12 | 40510 | jjdelcerro | </parent>
|
13 | |||
14 | <dependencies>
|
||
15 | <dependency>
|
||
16 | <groupId>org.slf4j</groupId> |
||
17 | <artifactId>slf4j-api</artifactId> |
||
18 | <scope>compile</scope> |
||
19 | </dependency>
|
||
20 | <dependency>
|
||
21 | <groupId>org.gvsig</groupId> |
||
22 | <artifactId>org.gvsig.tools.lib</artifactId> |
||
23 | <scope>compile</scope> |
||
24 | </dependency>
|
||
25 | <dependency>
|
||
26 | <groupId>org.gvsig</groupId> |
||
27 | <artifactId>org.gvsig.installer.lib.api</artifactId> |
||
28 | <scope>compile</scope> |
||
29 | </dependency>
|
||
30 | <dependency>
|
||
31 | <groupId>org.apache.ant</groupId> |
||
32 | <artifactId>ant</artifactId> |
||
33 | <scope>compile</scope> |
||
34 | </dependency>
|
||
35 | <dependency>
|
||
36 | <groupId>com.sardak</groupId> |
||
37 | <artifactId>antform</artifactId> |
||
38 | <scope>compile</scope> |
||
39 | </dependency>
|
||
40 | 40836 | jjdelcerro | |
41 | <!-- Need to include dependencies with andami in the MANIFEST classpath entry -->
|
||
42 | <dependency>
|
||
43 | <groupId>org.gvsig</groupId> |
||
44 | <artifactId>org.gvsig.andami</artifactId> |
||
45 | <scope>runtime</scope> |
||
46 | </dependency>
|
||
47 | 40510 | jjdelcerro | </dependencies>
|
48 | |||
49 | <build>
|
||
50 | <plugins>
|
||
51 | |||
52 | <plugin>
|
||
53 | <groupId>org.apache.maven.plugins</groupId> |
||
54 | <artifactId>maven-jar-plugin</artifactId> |
||
55 | <configuration>
|
||
56 | <archive>
|
||
57 | <manifest>
|
||
58 | <addClasspath>true</addClasspath> |
||
59 | <mainClass>org.gvsig.andamiupdater.Updater</mainClass> |
||
60 | </manifest>
|
||
61 | </archive>
|
||
62 | </configuration>
|
||
63 | </plugin>
|
||
64 | |||
65 | <plugin>
|
||
66 | <groupId>org.codehaus.gmaven</groupId> |
||
67 | <artifactId>gmaven-plugin</artifactId> |
||
68 | <executions>
|
||
69 | <execution>
|
||
70 | <id>install-plugin</id> |
||
71 | <phase>install</phase> |
||
72 | <goals>
|
||
73 | <goal>execute</goal> |
||
74 | </goals>
|
||
75 | <configuration>
|
||
76 | <source><![CDATA[ |
||
77 | ant = new AntBuilder() |
||
78 | source = project.basedir.getAbsolutePath() + |
||
79 | "/target/" + |
||
80 | project.artifactId + "-" + |
||
81 | project.version + |
||
82 | ".jar" |
||
83 | target = project.properties["gvsig.product.folder.path"] + |
||
84 | "/lib/" + |
||
85 | project.artifactId + "-" + |
||
86 | project.version + |
||
87 | ".jar" |
||
88 | ant.copy(file: source, tofile: target) |
||
89 | ]]></source> |
||
90 | </configuration>
|
||
91 | </execution>
|
||
92 | </executions>
|
||
93 | </plugin>
|
||
94 | |||
95 | </plugins>
|
||
96 | </build>
|
||
97 | |||
98 | |||
99 | </project> |