pom.xml 5.79 KB
Newer Older
1 2

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Nazzareno Sileno's avatar
Nazzareno Sileno committed
3
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 5 6 7
    <modelVersion>4.0.0</modelVersion>
    
    <groupId>org.geosdi</groupId>
    <artifactId>geoplatform-resources</artifactId>
Nazzareno Sileno's avatar
Nazzareno Sileno committed
8
    <version>1.2.12-gwt2.7.x</version>
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
    <packaging>jar</packaging>
    
    <name>Geo-Platform :: == OpenLayers 1.2.12 Resources Module</name>
    
    <organization>
        <name>geoSDI</name>
        <url>http://www.geosdi.org</url>
    </organization>
    <inceptionYear>2011</inceptionYear>
    
    <distributionManagement>
        <!--.................................. -->
        <!-- geoSDI Repository -->
        <!--.................................. -->
        <repository>
Giuseppe La Scaleia's avatar
Giuseppe La Scaleia committed
24
            <id>geosdi-realese</id>
25
            <name>repo.geosdi.org-releases</name>
26
            <url>http://repo.geosdi.org/artifactory/libs-release-local</url>
27 28 29 30 31
        </repository>
    </distributionManagement>
    
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Nazzareno Sileno's avatar
Nazzareno Sileno committed
32
        <gwtVersion>2.7.0</gwtVersion>
33 34 35 36 37 38 39 40 41 42 43 44 45
    </properties>
    
    <developers>
        <developer>
            <name>Giuseppe La Scaleia</name>
            <id>glascaleia</id>
            <email>giuseppe.lascaleia@geosdi.org</email>
            <organization>geoSDI</organization>
            <roles>
                <role>Java Developer</role>
                <role>Project Management Committee (PMC) Member</role>
            </roles>
        </developer>
Nazzareno Sileno's avatar
Nazzareno Sileno committed
46 47 48 49 50 51 52 53 54 55 56
        <developer>
            <name>Nazzareno Sileno</name>
            <id>nazzareno.sileno</id>
            <email>nazzareno.sileno@geosdi.org</email>
            <organization>geoSDI</organization>
            <roles>
                <role>Java Developer</role>
                <role>Project Management Committee (PMC) Member</role>
            </roles>
            <timezone>+1</timezone>
        </developer>
57 58 59 60 61
    </developers>
    
    <repositories>
        <!-- geoSDI -->
        <repository>
Giuseppe La Scaleia's avatar
Giuseppe La Scaleia committed
62 63
            <id>geosdi-snapshots</id>
            <name>repo.geosdi.org-snapshots</name>
64
            <url>http://repo.geosdi.org/artifactory/libs-snapshot-local</url>
65 66 67 68 69 70 71 72 73 74
        </repository>
        <repository>
            <id>gwt-maven</id>
            <url>
                http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/
            </url>
        </repository>
    </repositories>
    
    <build>
Nazzareno Sileno's avatar
Nazzareno Sileno committed
75 76 77 78 79 80 81 82 83 84
	
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.8.2</version>
                </plugin>
            </plugins>
        </pluginManagement>
85 86 87
        
        <plugins>
            <!-- ... or ask the plugin to detect them based on gwt modules files and
Nazzareno Sileno's avatar
Nazzareno Sileno committed
88
            copy the required java sources -->
89 90 91
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>gwt-maven-plugin</artifactId>
Nazzareno Sileno's avatar
Nazzareno Sileno committed
92
                <version>${gwtVersion}</version>
93 94 95 96 97 98 99 100 101 102
                <executions>
                    <!-- GWT version detected from dependencyManagement -->
                    <execution>
                        <goals>
                            <goal>resources</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            
Nazzareno Sileno's avatar
Nazzareno Sileno committed
103 104 105 106 107 108 109 110 111
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.7</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
            
112 113
        </plugins>
        
Nazzareno Sileno's avatar
Nazzareno Sileno committed
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
        <!-- TODO: the resources stuff hardcodes paths to source + test directories, 
        we should be able to use some properties here -->
        <resources>
            <resource>
                <directory>${basedir}/src/main/java</directory>
                <includes>
                    <include>**/*.txt</include>
                    <include>**/*.sql</include>
                    <include>**/*.html</include>
                    <include>**/*.xml</include>
                    <include>**/*.utf</include>
                    <include>**/*.properties</include>
                    <include>**/*.serialized</include>
                    <include>**/*.xsd</include>
                    <include>META-INF/*.jai</include>
                    <include>META-INF/mailcap</include>
                    <include>META-INF/services/**</include>
                    <include>applicationContext.xml</include>
                    <include>**/*.ftl</include>
                    <include>**/*.css</include>
                    <include>**/*.js</include>
                    <include>**/*.png</include>
                    <include>**/*.gif</include>
                    <include>**/*.sld</include>
                    <include>**/*.ico</include>
                </includes>
            </resource>
            <resource>
                <directory>${basedir}/src/main/resources</directory>
                <includes>
                    <include>**/*</include>
                </includes>
            </resource>
        </resources>
        
149 150 151 152
        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-ftp</artifactId>
Nazzareno Sileno's avatar
Nazzareno Sileno committed
153
                <version>2.9</version>
154 155 156 157
            </extension>
        </extensions>
        
    </build>
Nazzareno Sileno's avatar
Nazzareno Sileno committed
158 159 160 161 162 163 164
    <dependencies>
        <dependency>
            <groupId>com.google.gwt</groupId>
            <artifactId>gwt-user</artifactId>
            <version>${gwtVersion}</version>
        </dependency>
    </dependencies>
165
</project>