Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.installer.app / org.gvsig.installer.app.mainplugin / pom.xml @ 44119

History | View | Annotate | Download (3.46 KB)

1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<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/maven-v4_0_0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <artifactId>org.gvsig.installer.app.mainplugin</artifactId>
5
  <packaging>jar</packaging>
6
  <name>${project.artifactId}</name>
7
  <parent>
8
    <groupId>org.gvsig</groupId>
9
    <artifactId>org.gvsig.installer.app</artifactId>
10
    <version>2.0.240-SNAPSHOT</version>
11
  </parent>
12

    
13
  <dependencies>
14
<!--     <dependency> -->
15
<!--       <groupId>org.gvsig</groupId> -->
16
<!--       <artifactId>org.gvsig.app.mainplugin</artifactId> -->
17
<!--       <scope>compile</scope> -->
18
<!--     </dependency> -->
19
    <dependency>
20
      <groupId>org.gvsig</groupId>
21
      <artifactId>org.gvsig.andami</artifactId>
22
      <scope>compile</scope>
23
    </dependency>
24
    <dependency>
25
      <groupId>org.gvsig</groupId>
26
      <artifactId>org.gvsig.tools.lib</artifactId>
27
      <scope>compile</scope>
28
    </dependency>
29
    <dependency>
30
      <groupId>org.gvsig</groupId>
31
      <artifactId>org.gvsig.i18n</artifactId>
32
      <scope>compile</scope>
33
    </dependency>
34
    <dependency>
35
      <groupId>org.gvsig</groupId>
36
      <artifactId>org.gvsig.installer.lib.api</artifactId>
37
      <scope>compile</scope>
38
    </dependency>
39
    <dependency>
40
      <groupId>org.gvsig</groupId>
41
      <artifactId>org.gvsig.installer.swing.api</artifactId>
42
      <scope>compile</scope>
43
    </dependency>
44

    
45
    <dependency>
46
        <groupId>org.slf4j</groupId>
47
        <artifactId>slf4j-api</artifactId>
48
        <scope>compile</scope>
49
    </dependency>
50

    
51
  </dependencies>
52

    
53

    
54
  <build>
55
      <plugins>
56

    
57
        <plugin>
58
          <!-- Skip test execution -->
59
          <groupId>org.apache.maven.plugins</groupId>
60
          <artifactId>maven-surefire-plugin</artifactId>
61
          <configuration>
62
            <skipTests>true</skipTests>
63
          </configuration>
64
        </plugin>
65
        
66
          <plugin>
67
            <groupId>org.codehaus.gmaven</groupId>
68
            <artifactId>gmaven-plugin</artifactId>
69
            <executions>        
70
             <execution>
71
                  <id>install-installer-urls</id>
72
                  <phase>install</phase>
73
                    <goals>
74
                      <goal>execute</goal>
75
                    </goals>
76
                <configuration>
77
                      <source><![CDATA[
78
  if( project.properties["buildNumber"] != null) {
79
    if( project.properties["gvsig.install.plugin"]=="true" ) {
80
      // Copy defaultDownloadsURLs to install root
81
      ant = new AntBuilder()
82
      source = project.properties["gvsig.product.folder.path"] +
83
        "/gvSIG/extensiones/" +
84
        project.properties["gvsig.package.info.code"] +
85
        "/defaultDownloadsURLs"
86

    
87
      target = project.properties["gvsig.product.folder.path"] +
88
        "/gvsig-installer-urls.config"
89
      log.info("Copy plugin 'gvsig-installer-urls.config' from " + source + " to " + target)
90
      ant.copy(file:source, tofile:target)
91
    }
92
  }
93
                    ]]></source>
94
                  </configuration>
95
              </execution>
96

    
97
            </executions>
98
          </plugin>        
99
        
100
      </plugins>
101
  </build>
102

    
103
  <properties>
104
    <gvsig.package.info.categories>Addon Management</gvsig.package.info.categories>
105
    <gvsig.package.info.codealias>org.gvsig.installer.app.extension</gvsig.package.info.codealias>
106
    <gvsig.package.info.official>true</gvsig.package.info.official>
107
    <gvsig.package.info.name>Add-ons manager</gvsig.package.info.name>
108
  </properties>
109

    
110
</project>