| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <artifactId>staticws</artifactId> |
| <groupId>org.syncope.identityconnectors.bundles.staticws</groupId> |
| <version>0.4.4-SNAPSHOT</version> |
| </parent> |
| |
| <groupId>org.syncope.identityconnectors.bundles.staticws</groupId> |
| <artifactId>ws-target-resource</artifactId> |
| |
| <name>identityconnectors: bundles: static WS: sample impl</name> |
| <url>http://maven.apache.org</url> |
| |
| <packaging>war</packaging> |
| |
| <dependencies> |
| <!-- Logger --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| |
| <!-- CXF Dependencies --> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| </dependency> |
| |
| <!-- Spring Dependencies --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| </dependency> |
| |
| <!-- to be excluded to deploy on jetty and test the connector --> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-activation_1.1_spec</artifactId> |
| <version>1.0.2</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- utilities --> |
| <dependency> |
| <groupId>org.syncope.identityconnectors.bundles.staticws</groupId> |
| <artifactId>utilities</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- persistence dependencies --> |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.dbunit</groupId> |
| <artifactId>dbunit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jdbc</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet.jsp</groupId> |
| <artifactId>jsp-api</artifactId> |
| <version>${jsp-api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <scope>test</scope> |
| <type>jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| |
| <repositories> |
| |
| <repository> |
| <id>ibiblio</id> |
| <name>ibiblio mirror for maven 2</name> |
| <url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url> |
| </repository> |
| |
| <repository> |
| <id>jboss</id> |
| <url>http://repository.jboss.com/maven2/</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| |
| </repositories> |
| |
| <build> |
| <plugins> |
| |
| <!-- Test Plugins --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>failsafe-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <encoding>utf-8</encoding> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <configuration> |
| <scanIntervalSeconds>10</scanIntervalSeconds> |
| <stopKey>foo</stopKey> |
| <stopPort>9999</stopPort> |
| |
| <connectors> |
| <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
| <port>8888</port> |
| <maxIdleTime>60000</maxIdleTime> |
| </connector> |
| </connectors> |
| |
| <contextPath>/wstarget</contextPath> |
| </configuration> |
| |
| <executions> |
| <execution> |
| <id>start-jetty</id> |
| <phase>pre-integration-test</phase> |
| |
| <goals> |
| <goal>run-war</goal> |
| </goals> |
| |
| <configuration> |
| <scanIntervalSeconds>0</scanIntervalSeconds> |
| <daemon>true</daemon> |
| <systemProperties> |
| <systemProperty> |
| <name>logback.configurationFile</name> |
| <value>file:${project.build.directory}/classes/logback.xml</value> |
| </systemProperty> |
| </systemProperties> |
| </configuration> |
| </execution> |
| <execution> |
| <id>stop-jetty</id> |
| <phase>post-integration-test</phase> |
| <goals> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.0.2</version> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |
| |
| |