-
Notifications
You must be signed in to change notification settings - Fork 327
/
pom.xml
148 lines (135 loc) · 6.23 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<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">
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>business-adaptors</artifactId>
<version>4.6.133-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.transports.sap</artifactId>
<version>4.6.133-SNAPSHOT</version>
<packaging>${packaging.type}</packaging>
<name>WSO2 Carbon - SAP transport</name>
<description>WSO2 Carbon - SAP Adapter</description>
<profiles>
<profile>
<id>jenkins</id>
<properties>
<packaging.type>bundle</packaging.type>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>run</goal>
</goals>
<phase>compile</phase>
<configuration>
<tasks>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
<echo message="SAPJCo available" />
<echo message="Building SAP Adapter" />
<mkdir dir="${basedir}/target" />
<mkdir dir="${basedir}/target/classes" />
<property name="runtime-classpath" refid="maven.runtime.classpath" />
<path id="lib.path.ref">
<fileset dir="${basedir}/lib" includes="*.jar" />
</path>
<echo message="Maven CLASS PATH : ${runtime-classpath}" />
<javac fork="true" executable="${env.JAVA_HOME}/bin/javac" srcdir="${basedir}/src/main/java" destdir="${basedir}/target/classes" classpathref="lib.path.ref" classpath="${runtime-classpath}" debug="true" debuglevel="lines,vars,source">
<include name="org/wso2/carbon/transports/sap/**" />
</javac>
</tasks>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>20020829</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>1.4.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Name>${project.artifactId}</Bundle-Name>
<DynamicImport-Package>*</DynamicImport-Package>
<Export-Package>
org.wso2.carbon.transports.sap.*,
</Export-Package>
<Import-Package>
org.apache.axis2.*; version="${axis2.osgi.version.range}",
org.apache.axiom.*; version="${axiom.osgi.version.range}",
*;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*.*</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>comp</id>
<phase>compile</phase>
</execution>
<execution>
<id>test-comp</id>
<phase>test-compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.axis2.wso2</groupId>
<artifactId>axis2</artifactId>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-transport-base</artifactId>
</dependency>
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-api</artifactId>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<packaging.type>jar</packaging.type>
</properties>
</project>