|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + 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 | + |
| 6 | + <groupId>basil</groupId> |
| 7 | + <artifactId>basil</artifactId> |
| 8 | + <version>0.2.0-SNAPSHOT</version> |
| 9 | + <packaging>jar</packaging> |
| 10 | + |
| 11 | + <name>BASIL</name> |
| 12 | + |
| 13 | + <description>Tool for Building web Apis SImpLy on top of sparql endpoints</description> |
| 14 | + |
| 15 | + <properties> |
| 16 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 17 | + <!-- Versions --> |
| 18 | + <slf4j.version>1.7.7</slf4j.version> |
| 19 | + <!-- current log4j 2 release --> |
| 20 | + <log4j.version>2.1</log4j.version> |
| 21 | + <!-- jetty --> |
| 22 | + <org.eclipse.jetty.version>9.2.3.v20140905</org.eclipse.jetty.version> |
| 23 | + </properties> |
| 24 | + |
| 25 | + <dependencies> |
| 26 | + <!-- Logging --> |
| 27 | + <dependency> |
| 28 | + <groupId>org.slf4j</groupId> |
| 29 | + <artifactId>slf4j-api</artifactId> |
| 30 | + <version>${slf4j.version}</version> |
| 31 | + </dependency> |
| 32 | + <!-- Binding for Log4J --> |
| 33 | + <dependency> |
| 34 | + <groupId>org.apache.logging.log4j</groupId> |
| 35 | + <artifactId>log4j-slf4j-impl</artifactId> |
| 36 | + <version>${log4j.version}</version> |
| 37 | + </dependency> |
| 38 | + <!-- Log4j API and Core implementation required for binding --> |
| 39 | + <dependency> |
| 40 | + <groupId>org.apache.logging.log4j</groupId> |
| 41 | + <artifactId>log4j-api</artifactId> |
| 42 | + <version>${log4j.version}</version> |
| 43 | + </dependency> |
| 44 | + <dependency> |
| 45 | + <groupId>org.apache.logging.log4j</groupId> |
| 46 | + <artifactId>log4j-core</artifactId> |
| 47 | + <version>${log4j.version}</version> |
| 48 | + </dependency> |
| 49 | + |
| 50 | + <!-- Test --> |
| 51 | + <dependency> |
| 52 | + <groupId>junit</groupId> |
| 53 | + <artifactId>junit</artifactId> |
| 54 | + <version>4.12</version> |
| 55 | + <scope>test</scope> |
| 56 | + </dependency> |
| 57 | + |
| 58 | + <!-- Dependencies --> |
| 59 | + <dependency> |
| 60 | + <groupId>javax.servlet</groupId> |
| 61 | + <artifactId>javax.servlet-api</artifactId> |
| 62 | + <version>3.1.0</version> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>com.github.spullara.mustache.java</groupId> |
| 66 | + <artifactId>compiler</artifactId> |
| 67 | + <version>0.9.0</version> |
| 68 | + </dependency> |
| 69 | + <dependency> |
| 70 | + <groupId>org.mozilla</groupId> |
| 71 | + <artifactId>rhino</artifactId> |
| 72 | + <version>1.7R5</version> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>commons-io</groupId> |
| 76 | + <artifactId>commons-io</artifactId> |
| 77 | + <version>2.4</version> |
| 78 | + <exclusions> |
| 79 | + <exclusion> |
| 80 | + <groupId>log4j</groupId> |
| 81 | + <artifactId>log4j</artifactId> |
| 82 | + </exclusion> |
| 83 | + <exclusion> |
| 84 | + <groupId>org.slf4j</groupId> |
| 85 | + <artifactId>slf4j-log4j12</artifactId> |
| 86 | + </exclusion> |
| 87 | + </exclusions> |
| 88 | + </dependency> |
| 89 | + <dependency> |
| 90 | + <groupId>org.apache.commons</groupId> |
| 91 | + <artifactId>commons-collections4</artifactId> |
| 92 | + <version>4.0</version> |
| 93 | + </dependency> |
| 94 | + <dependency> |
| 95 | + <groupId>com.googlecode.json-simple</groupId> |
| 96 | + <artifactId>json-simple</artifactId> |
| 97 | + <version>1.1.1</version> |
| 98 | + </dependency> |
| 99 | + <dependency> |
| 100 | + <groupId>org.apache.jena</groupId> |
| 101 | + <artifactId>jena-core</artifactId> |
| 102 | + <version>2.12.1</version> |
| 103 | + <exclusions> |
| 104 | + <exclusion> |
| 105 | + <groupId>log4j</groupId> |
| 106 | + <artifactId>log4j</artifactId> |
| 107 | + </exclusion> |
| 108 | + <exclusion> |
| 109 | + <groupId>org.slf4j</groupId> |
| 110 | + <artifactId>slf4j-log4j12</artifactId> |
| 111 | + </exclusion> |
| 112 | + </exclusions> |
| 113 | + </dependency> |
| 114 | + <dependency> |
| 115 | + <groupId>org.apache.jena</groupId> |
| 116 | + <artifactId>jena-arq</artifactId> |
| 117 | + <version>2.12.1</version> |
| 118 | + <exclusions> |
| 119 | + <exclusion> |
| 120 | + <groupId>log4j</groupId> |
| 121 | + <artifactId>log4j</artifactId> |
| 122 | + </exclusion> |
| 123 | + <exclusion> |
| 124 | + <groupId>org.slf4j</groupId> |
| 125 | + <artifactId>slf4j-log4j12</artifactId> |
| 126 | + </exclusion> |
| 127 | + </exclusions> |
| 128 | + </dependency> |
| 129 | + |
| 130 | + <!-- Server --> |
| 131 | + <dependency> |
| 132 | + <groupId>org.glassfish.jersey.containers</groupId> |
| 133 | + <artifactId>jersey-container-servlet</artifactId> |
| 134 | + <version>2.14</version> |
| 135 | + </dependency> |
| 136 | + <dependency> |
| 137 | + <groupId>org.eclipse.jetty</groupId> |
| 138 | + <artifactId>jetty-server</artifactId> |
| 139 | + <version>${org.eclipse.jetty.version}</version> |
| 140 | + </dependency> |
| 141 | + <dependency> |
| 142 | + <groupId>org.eclipse.jetty</groupId> |
| 143 | + <artifactId>jetty-webapp</artifactId> |
| 144 | + <version>${org.eclipse.jetty.version}</version> |
| 145 | + </dependency> |
| 146 | + |
| 147 | + <!-- Standalone --> |
| 148 | + <dependency> |
| 149 | + <groupId>commons-cli</groupId> |
| 150 | + <artifactId>commons-cli</artifactId> |
| 151 | + <version>1.2</version> |
| 152 | + </dependency> |
| 153 | + |
| 154 | + <!-- Swagger --> |
| 155 | + <dependency> |
| 156 | + <groupId>com.wordnik</groupId> |
| 157 | + <artifactId>swagger-jersey2-jaxrs_2.10</artifactId> |
| 158 | + <scope>compile</scope> |
| 159 | + <version>1.3.12</version> |
| 160 | + <exclusions> |
| 161 | + <exclusion> |
| 162 | + <groupId>javax.ws.rs</groupId> |
| 163 | + <artifactId>jsr311-api</artifactId> |
| 164 | + </exclusion> |
| 165 | + </exclusions> |
| 166 | + </dependency> |
| 167 | + <dependency> |
| 168 | + <groupId>com.thetransactioncompany</groupId> |
| 169 | + <artifactId>cors-filter</artifactId> |
| 170 | + <version>1.3.2</version> |
| 171 | + <exclusions> |
| 172 | + <exclusion> |
| 173 | + <artifactId>servlet-api</artifactId> |
| 174 | + <groupId>javax.servlet</groupId> |
| 175 | + </exclusion> |
| 176 | + </exclusions> |
| 177 | + </dependency> |
| 178 | + |
| 179 | + </dependencies> |
| 180 | + |
| 181 | + <build> |
| 182 | + <plugins> |
| 183 | + <plugin> |
| 184 | + <groupId>org.apache.maven.plugins</groupId> |
| 185 | + <artifactId>maven-compiler-plugin</artifactId> |
| 186 | + <version>3.2</version> |
| 187 | + <configuration> |
| 188 | + <source>1.7</source> |
| 189 | + <target>1.7</target> |
| 190 | + <encoding>UTF-8</encoding> |
| 191 | + </configuration> |
| 192 | + </plugin> |
| 193 | + <plugin> |
| 194 | + <groupId>org.eclipse.jetty</groupId> |
| 195 | + <artifactId>jetty-maven-plugin</artifactId> |
| 196 | + <version>9.3.0.M1</version> |
| 197 | + <configuration> |
| 198 | + <scanIntervalSeconds>5</scanIntervalSeconds> |
| 199 | + <systemProperties> |
| 200 | + <systemProperty> |
| 201 | + <name>log4j.configurationFile</name> |
| 202 | + <value>${project.basedir}/src/test/resources/log4j2-jetty.xml</value> |
| 203 | + </systemProperty> |
| 204 | + </systemProperties> |
| 205 | + </configuration> |
| 206 | + </plugin> |
| 207 | + <plugin> |
| 208 | + <groupId>org.apache.maven.plugins</groupId> |
| 209 | + <artifactId>maven-assembly-plugin</artifactId> |
| 210 | + <version>2.4</version> |
| 211 | + <configuration> |
| 212 | + <descriptorRefs> |
| 213 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 214 | + </descriptorRefs> |
| 215 | + <archive> |
| 216 | + <manifest> |
| 217 | + <mainClass>uk.ac.open.kmi.basil.server.Standalone</mainClass> |
| 218 | + </manifest> |
| 219 | + </archive> |
| 220 | + <finalName>basil-server-${project.version}</finalName> |
| 221 | + <appendAssemblyId>false</appendAssemblyId> |
| 222 | + </configuration> |
| 223 | + <executions> |
| 224 | + <execution> |
| 225 | + <id>make-assembly</id> |
| 226 | + <phase>package</phase> |
| 227 | + <goals> |
| 228 | + <goal>single</goal> |
| 229 | + </goals> |
| 230 | + </execution> |
| 231 | + </executions> |
| 232 | + </plugin> |
| 233 | + </plugins> |
| 234 | + <resources> |
| 235 | + <resource> |
| 236 | + <directory>src/main/resources</directory> |
| 237 | + <includes> |
| 238 | + <include>**/**</include> |
| 239 | + </includes> |
| 240 | + </resource> |
| 241 | + <resource> |
| 242 | + <directory>src/main/webapp</directory> |
| 243 | + <includes> |
| 244 | + <include>**/**</include> |
| 245 | + </includes> |
| 246 | + </resource> |
| 247 | + </resources> |
| 248 | + </build> |
| 249 | +</project> |
| 250 | + |
0 commit comments