Revision 42685 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.installer.app/org.gvsig.installer.app.mainplugin/pom.xml

View differences:

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

  
51 51
  </dependencies>
52 52

  
......
62 62
            <skipTests>true</skipTests>
63 63
          </configuration>
64 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"
65 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
        
66 100
      </plugins>
67 101
  </build>
68 102

  

Also available in: Unified diff