Newer
Older
<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>
<groupId>cz.it4i.fiji</groupId>
<artifactId>haas-java-client</artifactId>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>compile</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- usage of jax-ws maven plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>1.12</version>
<executions>
<execution>
<id>wsimport-from-jdk</id>
<goals>
<goal>wsimport</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- using wsdl from an url -->
<!-- <wsdlUrls> <wsdlUrl> http://haas.vsb.cz/HaasWsFiji/UserAndLimitationManagementWs.asmx?WSDL
</wsdlUrl> <wsdlUrl> http://haas.vsb.cz/HaasWsFiji/JobManagementWs.asmx?WSDL
</wsdlUrl> <wsdlUrl> http://haas.vsb.cz/HaasWsFiji/DataTransferWs.asmx?WSDL
</wsdlUrl> <wsdlUrl> http://haas.vsb.cz/HaasWsFiji/FileTransferWs.asmx?WSDL
</wsdlUrl> </wsdlUrls> -->
<!-- or using wsdls file directory -->
<wsdlDirectory>src/wsdl</wsdlDirectory>
<!-- which wsdl file -->
<wsdlFiles>
<wsdlFile>UserAndLimitationManagementWs.wsdl</wsdlFile>
<wsdlFile>JobManagementWs.wsdl</wsdlFile>
<wsdlFile>DataTransferWs.wsdl</wsdlFile>
<wsdlFile>FileTransferWs.wsdl</wsdlFile>
</wsdlFiles>
<!-- Keep generated files -->
<!-- Package name -->
<!-- generated source files destination -->
<extension>true</extension>
<keep>true</keep>
<packageName>cz.it4i.fiji.haas_java_client.proxy</packageName>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}}/haxws/wsimport/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.jcraft/jsch -->
<dependency>
<groupId>cz.it4i.fiji</groupId>
<artifactId>java-scpclient</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.xml/jaxrpc-api -->
<groupId>javax.xml</groupId>
<artifactId>jaxrpc-api</artifactId>
<version>1.1</version>
<distributionManagement>
<repository>
<id>it4i</id>
<name>IT4I repository</name>
<url>https://artifactory.cs.vsb.cz/it4i/</url>
</repository>
<snapshotRepository>
<id>it4i</id>
<name>II4I repository</name>
<url>https://artifactory.cs.vsb.cz/it4i/</url>
</snapshotRepository>
</distributionManagement>