260 lines
13 KiB
XML
260 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>de.muehlencord.shared</groupId>
|
|
<artifactId>shared-sharepoint</artifactId>
|
|
<version>1.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>de.muehlencord.shared.sharepoint</groupId>
|
|
<artifactId>sharepoint-api</artifactId>
|
|
|
|
|
|
<name>shared-sharepoint-api</name>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- convert wsdl to object -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jaxws-maven-plugin</artifactId>
|
|
<configuration>
|
|
<sourceDestDir>${project.build.directory}/generated-sources/jaxws-wsimport</sourceDestDir>
|
|
</configuration>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>authentication2010</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>wsimport</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packageName>com.microsoft.schemas.sharepoint.soap.authentication</packageName>
|
|
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
|
<wsdlFiles>
|
|
<wsdlFile>authentication.wsdl</wsdlFile>
|
|
</wsdlFiles>
|
|
<vmArgs>
|
|
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
|
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
|
</vmArgs>
|
|
<extension>true</extension>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>alerts2010</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>wsimport</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packageName>com.microsoft.schemas.sharepoint.soap.alerts</packageName>
|
|
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
|
<wsdlFiles>
|
|
<wsdlFile>alerts.wsdl</wsdlFile>
|
|
</wsdlFiles>
|
|
<vmArgs>
|
|
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
|
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
|
</vmArgs>
|
|
<extension>true</extension>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>sites2010</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>wsimport</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packageName>com.microsoft.schemas.sharepoint.soap.sites</packageName>
|
|
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
|
<wsdlFiles>
|
|
<wsdlFile>sites.wsdl</wsdlFile>
|
|
</wsdlFiles>
|
|
<vmArgs>
|
|
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
|
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
|
</vmArgs>
|
|
<extension>true</extension>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>webs2010</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>wsimport</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packageName>com.microsoft.schemas.sharepoint.soap.webs</packageName>
|
|
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
|
<wsdlFiles>
|
|
<wsdlFile>webs.wsdl</wsdlFile>
|
|
</wsdlFiles>
|
|
<vmArgs>
|
|
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
|
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
|
</vmArgs>
|
|
<extension>true</extension>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>lists2010</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>wsimport</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packageName>com.microsoft.schemas.sharepoint.soap.lists</packageName>
|
|
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
|
<wsdlFiles>
|
|
<wsdlFile>lists.wsdl</wsdlFile>
|
|
</wsdlFiles>
|
|
<vmArgs>
|
|
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
|
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
|
</vmArgs>
|
|
<extension>true</extension>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>search2010</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>wsimport</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packageName>com.microsoft.schemas.sharepoint.soap.search</packageName>
|
|
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
|
<wsdlFiles>
|
|
<wsdlFile>search.wsdl</wsdlFile>
|
|
</wsdlFiles>
|
|
<vmArgs>
|
|
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
|
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
|
</vmArgs>
|
|
<extension>true</extension>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>usergroup2010</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>wsimport</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packageName>com.microsoft.schemas.sharepoint.soap.usergroup</packageName>
|
|
<wsdlDirectory>${basedir}/src/main/resources/2010/wsdl</wsdlDirectory>
|
|
<wsdlFiles>
|
|
<wsdlFile>usergroup.wsdl</wsdlFile>
|
|
</wsdlFiles>
|
|
<vmArgs>
|
|
<vmArg>-Djavax.xml.accessExternalDTD=all</vmArg>
|
|
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
|
</vmArgs>
|
|
<extension>true</extension>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- Maven jaxb2 plugin - invoke the xjc compiler to compile XML schema into Java classes. -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jaxb2-maven-plugin</artifactId>
|
|
<configuration>
|
|
<quiet>false</quiet>
|
|
<verbose>false</verbose>
|
|
<clearOutputDir>false</clearOutputDir> <!-- do not set to true, multiple executions into same dir -->
|
|
</configuration>
|
|
|
|
<executions>
|
|
<!-- sharepoint batch definition for updating lists etc. -->
|
|
<execution>
|
|
<id>batch</id>
|
|
<goals>
|
|
<goal>xjc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!-- The package in which the source files will be generated. -->
|
|
<packageName>de.muehlencord.shared.sharepoint.api.batch</packageName>
|
|
<!-- The working directory to create the generated java source files. -->
|
|
<outputDirectory>${project.build.directory}/generated-sources/jaxb/</outputDirectory>
|
|
<removeOldOutput>true</removeOldOutput>
|
|
<sources>
|
|
<source>${basedir}/src/main/resources/xsd/batch.xsd</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<!-- lists definition, returned by sharepoint when execute a query on a lists -->
|
|
<execution>
|
|
<id>lists</id>
|
|
<goals>
|
|
<goal>xjc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!-- The package in which the source files will be generated. -->
|
|
<packageName>de.muehlencord.shared.sharepoint.api.lists</packageName>
|
|
<!-- The working directory to create the generated java source files. -->
|
|
<outputDirectory>${project.build.directory}/generated-sources/jaxb/</outputDirectory>
|
|
<removeOldOutput>true</removeOldOutput>
|
|
<sources>
|
|
<source>${basedir}/src/main/resources/xsd/lists.xsd</source>
|
|
</sources>
|
|
<clearOutputDir>false</clearOutputDir>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<!-- user/group definition, returned by sharepoint when calling usergroup service -->
|
|
<execution>
|
|
<id>usergroup2010</id>
|
|
<goals>
|
|
<goal>xjc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!-- The package in which the source files will be generated. -->
|
|
<packageName>de.muehlencord.shared.sharepoint.api.usergroup</packageName>
|
|
<!-- The working directory to create the generated java source files. -->
|
|
<outputDirectory>${project.build.directory}/generated-sources/jaxb/</outputDirectory>
|
|
<removeOldOutput>true</removeOldOutput>
|
|
<extension>true</extension>
|
|
<sources>
|
|
<source>${basedir}/src/main/resources/xsd/usergroup.xsd</source>
|
|
</sources>
|
|
<clearOutputDir>false</clearOutputDir>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.muehlencord.shared</groupId>
|
|
<artifactId>shared-util</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |