-
Notifications
You must be signed in to change notification settings - Fork 38
/
pom.xml
140 lines (131 loc) · 4.57 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
<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>org.vngx</groupId>
<artifactId>vngx-jsch</artifactId>
<packaging>bundle</packaging>
<version>0.10</version>
<name>vngx-jsch</name>
<url>http://maven.apache.org</url>
<description>**vngx-jsch** (beta) is an updated version of the popular JSch SSH library
written in pure Java. It has been updated to Java 6 with all the latest
language features and improved code clarity.
</description>
<licenses>
<license>
<name>MIT</name>
<url>http://en.wikipedia.org/wiki/MIT_License</url>
<distribution>repo</distribution>
<comments></comments>
</license>
</licenses>
<scm>
<connection>scm:git:[email protected]:vngx/vngx-jsch.git</connection>
<url>scm:git:[email protected]:vngx/vngx-jsch.git</url>
<developerConnection>scm:git:[email protected]:vngx/vngx-jsch.git</developerConnection>
</scm>
<developers>
<developer>
<id>scott</id>
<name>Scott Rahner</name>
</developer>
</developers>
<build>
<plugins>
<!-- Ensures 1.6 compilation -->
<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>
<encoding>${project.build.sourceEncoding}</encoding>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<!-- Copies the raw resources to the target dir -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.2</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!-- Creates the MANIFEST.MF w/ appropriate items for OSGi compliance -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>1.4.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Name>${project.name}</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>${bundle.namespace}.*</Export-Package>
<Import-Package>!${bundle.namespace}.*,*</Import-Package>
</instructions>
</configuration>
</plugin>
<!-- Copies dependent jars to the target dir, especially important w/
OSGi as you will need compliant bundles for imported dependencies which are
not as easy to come by -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<excludeScope>test</excludeScope>
<excludeScope>provided</excludeScope>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<!-- OSGi complaint build of jzlib -->
<dependency>
<groupId>com.jcraft.jzlib</groupId>
<artifactId>com.springsource.com.jcraft.jzlib</artifactId>
<version>1.0.7</version>
</dependency>
</dependencies>
<repositories>
<!-- Spring Repos for OSGi complaint bundles, if anyone knows of better
sources let is know =) -->
<repository>
<id>com.springsource.repository.bundles.release</id>
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>
</repositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bundle.namespace>org.vngx.jsch</bundle.namespace>
</properties>
</project>