1 <?xml version="1.0"?> 2 <project 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" 4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 5 <modelVersion>4.0.0</modelVersion> 6 <parent> 7 <groupId>org.geotools</groupId> 8 <artifactId>unsupported</artifactId> 9 <version>24.1</version> 10 </parent> 11 <groupId>org.geotools</groupId> 12 <artifactId>gt-sdmx</artifactId> 13 <name>gt-sdmx</name> 14 <url>http://maven.apache.org</url> 15 <properties> 16 <powermock.version>1.6.6</powermock.version> 17 <mockito.version>1.10.19</mockito.version> 18 </properties> 19 <dependencies> 20 <dependency> 21 <groupId>org.geotools</groupId> 22 <artifactId>gt-cql</artifactId> 23 <version>${project.version}</version> 24 </dependency> 25 <dependency> 26 <groupId>it.bancaditalia.oss</groupId> 27 <artifactId>sdmx</artifactId> 28 <version>2.3.4</version> 29 </dependency> 30 <dependency> 31 <groupId>commons-httpclient</groupId> 32 <artifactId>commons-httpclient</artifactId> 33 </dependency> 34 <dependency> 35 <groupId>junit</groupId> 36 <artifactId>junit</artifactId> 37 <scope>test</scope> 38 </dependency> 39 <dependency> 40 <groupId>org.mockito</groupId> 41 <artifactId>mockito-all</artifactId> 42 <version>${mockito.version}</version> 43 <scope>test</scope> 44 </dependency> 45 <dependency> 46 <groupId>org.mockito</groupId> 47 <artifactId>mockito-core</artifactId> 48 <version>${mockito.version}</version> 49 <scope>test</scope> 50 </dependency> 51 <dependency> 52 <groupId>org.powermock</groupId> 53 <artifactId>powermock-module-junit4</artifactId> 54 <version>${powermock.version}</version> 55 <scope>test</scope> 56 </dependency> 57 <dependency> 58 <groupId>org.powermock</groupId> 59 <artifactId>powermock-api-mockito</artifactId> 60 <version>${powermock.version}</version> 61 <scope>test</scope> 62 </dependency> 63 </dependencies> 64 65 <profiles> 66 <profile> 67 <id>exclude-systemtest</id> 68 <activation> 69 <activeByDefault>true</activeByDefault> 70 </activation> 71 <build> 72 <plugins> 73 <plugin> 74 <groupId>org.apache.maven.plugins</groupId> 75 <artifactId>maven-compiler-plugin</artifactId> 76 <configuration> 77 <source>1.8</source> 78 <target>1.8</target> 79 </configuration> 80 </plugin> 81 82 <plugin> 83 <groupId>org.apache.maven.plugins</groupId> 84 <artifactId>maven-surefire-plugin</artifactId> 85 <configuration> 86 <excludes> 87 <exclude>**/SDMXFeatureReaderSystemTest.java</exclude> 88 </excludes> 89 </configuration> 90 </plugin> 91 </plugins> 92 </build> 93 </profile> 94 95 <!-- 96 System test takes around five minutes to run, use wisely 97 --> 98 <profile> 99 <id>systemtest</id> 100 <activation> 101 <activeByDefault>false</activeByDefault> 102 </activation> 103 <build> 104 <plugins> 105 <plugin> 106 <groupId>org.apache.maven.plugins</groupId> 107 <artifactId>maven-compiler-plugin</artifactId> 108 <configuration> 109 <source>1.8</source> 110 <target>1.8</target> 111 </configuration> 112 </plugin> 113 114 <plugin> 115 <groupId>org.apache.maven.plugins</groupId> 116 <artifactId>maven-surefire-plugin</artifactId> 117 <configuration> 118 <includes> 119 <include>**/SDMXFeatureReaderSystemTest.java</include> 120 </includes> 121 </configuration> 122 </plugin> 123 </plugins> 124 </build> 125 </profile> 126 </profiles> 127 128 </project>