|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + 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 | + |
| 5 | + <!-- =========== --> |
| 6 | + <!-- Module Info --> |
| 7 | + <!-- =========== --> |
| 8 | + <groupId>sif3.framework</groupId> |
| 9 | + <artifactId>sif3-demo-web</artifactId> |
| 10 | + <packaging>war</packaging> |
| 11 | + <version>0.10.0-Demo</version> |
| 12 | + <name>SIF3 Demo Provider</name> |
| 13 | + |
| 14 | + <!-- =============================== --> |
| 15 | + <!-- Properties local to this module --> |
| 16 | + <!-- =============================== --> |
| 17 | + <properties> |
| 18 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 19 | + |
| 20 | + <!-- Set the Java Version compliance --> |
| 21 | + <maven.compiler.source>1.7</maven.compiler.source> |
| 22 | + <maven.compiler.target>1.7</maven.compiler.target> |
| 23 | + |
| 24 | + <!-- Hardcoded Variable for the non-maven library location --> |
| 25 | + <!--project.lib.dir>C:/Development/GitHubRepositories/SIF3InfraRest/SIF3InfraREST/lib</project.lib.dir--> |
| 26 | + <project.lib.dir>${project.basedir}/../../lib</project.lib.dir> |
| 27 | + |
| 28 | + <!-- The location of the SIF AU Data Model library --> |
| 29 | + <auDMLibLocation>${project.lib.dir}/datamodel</auDMLibLocation> |
| 30 | + |
| 31 | + <!-- Because the tests are not JUnit tests and are run manually we disable them by default. This may change in future. --> |
| 32 | + <skipTests>true</skipTests> |
| 33 | + |
| 34 | + </properties> |
| 35 | + |
| 36 | + <dependencies> |
| 37 | + |
| 38 | + <!-- ================================= --> |
| 39 | + <!-- Other SIF3 Framework Dependencies --> |
| 40 | + <!-- ================================= --> |
| 41 | + <dependency> |
| 42 | + <groupId>sif3.framework</groupId> |
| 43 | + <artifactId>sif3-infra-rest</artifactId> |
| 44 | + <version>0.10.0-beta</version> |
| 45 | + </dependency> |
| 46 | + |
| 47 | + <!-- ====================== --> |
| 48 | + <!-- Local Dependencies --> |
| 49 | + <!-- Datamodel --> |
| 50 | + <!-- ====================== --> |
| 51 | + <dependency> |
| 52 | + <groupId>sifau</groupId> |
| 53 | + <artifactId>sif3-au-datamodel</artifactId> |
| 54 | + <version>3.4</version> |
| 55 | + </dependency> |
| 56 | + |
| 57 | + <!-- =============================== --> |
| 58 | + <!-- Compression Filter Dependencies --> |
| 59 | + <!-- =============================== --> |
| 60 | + <dependency> |
| 61 | + <groupId>com.github.ziplet</groupId> |
| 62 | + <artifactId>ziplet</artifactId> |
| 63 | + <version>2.1.2</version> |
| 64 | + </dependency> |
| 65 | + |
| 66 | + <!-- ================== --> |
| 67 | + <!-- Log4j Dependencies --> |
| 68 | + <!-- ================== --> |
| 69 | + <dependency> |
| 70 | + <groupId>org.slf4j</groupId> |
| 71 | + <artifactId>slf4j-log4j12</artifactId> |
| 72 | + <version>1.5.8</version> |
| 73 | + </dependency> |
| 74 | + |
| 75 | + <dependency> |
| 76 | + <groupId>log4j</groupId> |
| 77 | + <artifactId>log4j</artifactId> |
| 78 | + <version>1.2.14</version> |
| 79 | + </dependency> |
| 80 | + |
| 81 | + <!-- ======================================== --> |
| 82 | + <!-- JDBC Dependencies --> |
| 83 | + <!-- In Reality you would only have one here. --> |
| 84 | + <!-- ======================================== --> |
| 85 | + <dependency> |
| 86 | + <groupId>jdbc</groupId> |
| 87 | + <artifactId>mysql-jdbc</artifactId> |
| 88 | + <version>4.0</version> |
| 89 | + </dependency> |
| 90 | + <dependency> |
| 91 | + <groupId>jdbc</groupId> |
| 92 | + <artifactId>oracle-jdbc</artifactId> |
| 93 | + <version>6.0</version> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>jdbc</groupId> |
| 97 | + <artifactId>sqlite-jdbc</artifactId> |
| 98 | + <version>3.7.2</version> |
| 99 | + </dependency> |
| 100 | + |
| 101 | + <!-- ======================== --> |
| 102 | + <!-- Servlet API Dependencies --> |
| 103 | + <!-- ======================== --> |
| 104 | + <dependency> |
| 105 | + <groupId>javax.servlet</groupId> |
| 106 | + <artifactId>javax.servlet-api</artifactId> |
| 107 | + <version>3.0.1</version> |
| 108 | + <scope>provided</scope> |
| 109 | + </dependency> |
| 110 | + |
| 111 | + <!-- ============================================================ --> |
| 112 | + <!-- JAX-RS Implementation: Jersey Dependencies --> |
| 113 | + <!-- This is an example if Jersey is used as JAXRS implementation --> |
| 114 | + <!-- ============================================================ --> |
| 115 | + <dependency> |
| 116 | + <groupId>com.sun.jersey</groupId> |
| 117 | + <artifactId>jersey-server</artifactId> |
| 118 | + <version>1.19</version> |
| 119 | + </dependency> |
| 120 | + |
| 121 | + <dependency> |
| 122 | + <groupId>com.sun.jersey</groupId> |
| 123 | + <artifactId>jersey-servlet</artifactId> |
| 124 | + <version>1.19</version> |
| 125 | + </dependency> |
| 126 | + |
| 127 | + <!-- ================================================= --> |
| 128 | + <!-- JAX-RS Implementation: RESTEasy --> |
| 129 | + <!-- This is the dependency to use JBoss and RESTEasy --> |
| 130 | + <!-- ================================================= --> |
| 131 | + <!-- |
| 132 | + <dependency> |
| 133 | + <groupId>javax.ws.rs</groupId> |
| 134 | + <artifactId>jsr311-api</artifactId> |
| 135 | + <version>1.1.1</version> |
| 136 | + <scope>provided</scope> |
| 137 | + </dependency> |
| 138 | + --> |
| 139 | + |
| 140 | + </dependencies> |
| 141 | + |
| 142 | + <build> |
| 143 | + <plugins> |
| 144 | + <!-- =============================================================== --> |
| 145 | + <!-- Test Plugin configuration. Required to turn on/off test cases. --> |
| 146 | + <!-- =============================================================== --> |
| 147 | + <plugin> |
| 148 | + <groupId>org.apache.maven.plugins</groupId> |
| 149 | + <artifactId>maven-surefire-plugin</artifactId> |
| 150 | + <version>2.19.1</version> |
| 151 | + <configuration> |
| 152 | + <skipTests>${skipTests}</skipTests> |
| 153 | + </configuration> |
| 154 | + </plugin> |
| 155 | + |
| 156 | + <plugin> |
| 157 | + <groupId>org.apache.maven.plugins</groupId> |
| 158 | + <artifactId>maven-war-plugin</artifactId> |
| 159 | + <!--version>3.0.0</version--> |
| 160 | + <configuration> |
| 161 | + <attachClasses>true</attachClasses> |
| 162 | + <archiveClasses>true</archiveClasses> |
| 163 | + <classesClassifier>demo</classesClassifier> |
| 164 | + </configuration> |
| 165 | + </plugin> |
| 166 | + |
| 167 | + </plugins> |
| 168 | + <finalName>SIF3InfraREST</finalName> |
| 169 | + </build> |
| 170 | + |
| 171 | + <description>This is the Demo Provider project to show case how to use the framework. It also has test consumer code.</description> |
| 172 | +</project> |
0 commit comments