pom.xml 4.68 KB
Newer Older
pabloFuente's avatar
pabloFuente committed
1 2
<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 4 5 6 7
	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>io.openvidu</groupId>
8
		<artifactId>openvidu-parent</artifactId>
9
		<version>1.9.0-beta-1</version>
10 11 12
	</parent>

	<artifactId>openvidu-java-client</artifactId>
13
	<version>2.9.0</version>
14 15 16
	<packaging>jar</packaging>

	<name>OpenVidu Java Client</name>
17
	<description>OpenVidu client for your Java backend: get sessionId's and tokens easily from your OpenVidu server</description>
18
	<url>https://openvidu.io</url>
19 20 21 22 23 24 25 26 27 28 29

	<licenses>
		<license>
			<name>Apache 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<organization>
		<name>OpenVidu</name>
30
		<url>https://openvidu.io</url>
31 32 33 34
	</organization>

	<scm>
		<url>https://github.com/OpenVidu/openvidu.git</url>
pabloFuente's avatar
pabloFuente committed
35 36
		<connection>scm:git:git://github.com/OpenVidu/openvidu.git</connection>
		<developerConnection>scm:git:git@github.com:OpenVidu/openvidu.git</developerConnection>
37 38 39 40 41 42 43 44
		<tag>develop</tag>
	</scm>

	<developers>
		<developer>
			<id>openvidu.io</id>
			<name>-openvidu.io Community</name>
			<organization>openvidu.io</organization>
45
			<organizationUrl>https://openvidu.io</organizationUrl>
46 47 48 49 50 51 52 53 54 55
		</developer>
	</developers>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<java.version>1.8</java.version>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
	</properties>

56 57 58 59 60 61 62 63 64 65 66
	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

67 68 69 70 71
	<dependencies>

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
72
			<version>${version.junit}</version>
73 74 75 76 77 78
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
79
			<version>${version.httpclient}</version>
80 81 82 83 84
		</dependency>

		<dependency>
			<groupId>com.googlecode.json-simple</groupId>
			<artifactId>json-simple</artifactId>
85
			<version>${version.json-simple}</version>
86 87
		</dependency>

88 89 90
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
91
			<version>1.7.26</version>
92 93
		</dependency>

94 95 96
	</dependencies>

	<profiles>
pabloFuente's avatar
pabloFuente committed
97

98 99 100 101 102 103 104 105 106 107
		<profile>
			<id>default</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
108
						<version>3.1.0</version>
109
						<configuration>
110
							<show>public</show>
111 112 113 114 115
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
pabloFuente's avatar
pabloFuente committed
116

117 118 119 120 121 122 123 124 125 126
		<profile>
			<id>release-sign-artifacts</id>
			<activation>
				<property>
					<name>performRelease</name>
					<value>true</value>
				</property>
			</activation>
			<build>
				<plugins>
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-source-plugin</artifactId>
						<version>3.0.1</version>
						<executions>
							<execution>
								<id>attach-sources</id>
								<goals>
									<goal>jar-no-fork</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
pabloFuente's avatar
pabloFuente committed
143
						<version>3.0.1</version>
144 145 146
						<configuration>
							<show>public</show>
						</configuration>
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.6</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
170 171 172 173 174 175
					<plugin>
						<groupId>org.sonatype.plugins</groupId>
						<artifactId>nexus-staging-maven-plugin</artifactId>
						<version>1.6.8</version>
						<extensions>true</extensions>
						<configuration>
176 177 178 179
							<serverId>ossrh</serverId>
							<nexusUrl>https://oss.sonatype.org/</nexusUrl>
							<autoReleaseAfterClose>true</autoReleaseAfterClose>
						</configuration>
180 181 182 183
					</plugin>
				</plugins>
			</build>
		</profile>
pabloFuente's avatar
pabloFuente committed
184

185
	</profiles>
pabloFuente's avatar
pabloFuente committed
186

187
</project>