Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.framework / org.gvsig.andami.updater / pom.xml @ 40656

History | View | Annotate | Download (2.89 KB)

1
<?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
        <version>2.0.16</version>
12
    </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
    </dependencies>
41

    
42
  <build>
43
    <plugins>
44

    
45
     <plugin>
46
          <groupId>org.apache.maven.plugins</groupId>
47
          <artifactId>maven-jar-plugin</artifactId>
48
          <configuration>
49
              <archive>
50
                  <manifest>
51
                      <addClasspath>true</addClasspath>
52
                      <mainClass>org.gvsig.andamiupdater.Updater</mainClass>
53
                  </manifest>
54
              </archive>
55
          </configuration>
56
      </plugin>
57

    
58
        <plugin>
59
          <groupId>org.codehaus.gmaven</groupId>
60
          <artifactId>gmaven-plugin</artifactId>
61
          <executions>
62
            <execution>
63
              <id>install-plugin</id>
64
              <phase>install</phase>
65
              <goals>
66
                <goal>execute</goal>
67
              </goals>
68
              <configuration>
69
                <source><![CDATA[
70
                  ant = new AntBuilder()
71
                  source = project.basedir.getAbsolutePath() + 
72
                    "/target/" + 
73
                    project.artifactId + "-" +
74
                    project.version +
75
                    ".jar"
76
                  target = project.properties["gvsig.product.folder.path"] + 
77
                    "/lib/" +
78
                    project.artifactId + "-" +
79
                    project.version +
80
                    ".jar"
81
                  ant.copy(file: source, tofile: target)
82
                ]]></source>
83
              </configuration>
84
            </execution>
85
          </executions>
86
        </plugin>
87

    
88
    </plugins>
89
  </build>
90

    
91
            
92
</project>