Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit d2a1995

Browse files
committed
Added pom for Maven Central
1 parent fdd369c commit d2a1995

File tree

3 files changed

+106
-1
lines changed

3 files changed

+106
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ src/test/resources/scaffold-test/
1212
.DS_Store
1313
src/test/resources/entity-services-project/src
1414
*.iml
15+
target
16+

build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ task sourcesJar(type: Jar, dependsOn: classes) {
4141
from sourceSets.main.allJava
4242
}
4343

44+
task javadocJar(type: Jar, dependsOn: javadoc) {
45+
classifier "javadoc"
46+
from file(javadocsDir + "/" + project.name)
47+
}
48+
4449
javadoc.destinationDir = file(javadocsDir + "/" + project.name)
4550
javadoc.failOnError = false
4651

@@ -53,14 +58,17 @@ publishing {
5358
from components.java
5459
artifact sourcesJar
5560
}
61+
mavenJavadoc(MavenPublication) {
62+
artifact javadocJar
63+
}
5664
}
5765
}
5866

5967
if (project.hasProperty("myBintrayUser")) {
6068
bintray {
6169
user = myBintrayUser
6270
key = myBintrayKey
63-
publications = ['mainJava', 'sourcesJava']
71+
publications = ['mainJava', 'sourcesJava', 'mavenJavadoc']
6472
pkg {
6573
repo = 'maven'
6674
name = project.name

pom.xml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5+
6+
<modelVersion>4.0.0</modelVersion>
7+
<groupId>com.marklogic</groupId>
8+
<artifactId>ml-app-deployer</artifactId>
9+
<version>3.6.3</version>
10+
<packaging>jar</packaging>
11+
12+
<name>ml-app-deployer</name>
13+
<description>Java client for the MarkLogic REST Management API</description>
14+
<url>https://github.com/marklogic-community/ml-app-deployer</url>
15+
16+
<licenses>
17+
<license>
18+
<name>Apache License, Version 2.0</name>
19+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
24+
<scm>
25+
<url>https://github.com/marklogic-community/ml-app-deployer.git</url>
26+
</scm>
27+
28+
<developers>
29+
<developer>
30+
<name>MarkLogic</name>
31+
<email>[email protected]</email>
32+
<organization>MarkLogic</organization>
33+
<organizationUrl>https://www.marklogic.com</organizationUrl>
34+
</developer>
35+
<developer>
36+
<name>MarkLogic Github Contributors</name>
37+
<email>[email protected]</email>
38+
<organization>Github Contributors</organization>
39+
<organizationUrl>https://github.com/marklogic/marklogic-app-deployer/graphs/contributors</organizationUrl>
40+
</developer>
41+
</developers>
42+
43+
<properties>
44+
<maven.compiler.source>1.8</maven.compiler.source>
45+
<maven.compiler.target>1.8</maven.compiler.target>
46+
</properties>
47+
48+
<dependencies>
49+
<dependency>
50+
<groupId>com.marklogic</groupId>
51+
<artifactId>ml-javaclient-util</artifactId>
52+
<version>3.6.0</version>
53+
<scope>compile</scope>
54+
</dependency>
55+
<dependency>
56+
<groupId>jaxen</groupId>
57+
<artifactId>jaxen</artifactId>
58+
<version>1.1.6</version>
59+
<scope>compile</scope>
60+
</dependency>
61+
<dependency>
62+
<groupId>org.apache.httpcomponents</groupId>
63+
<artifactId>httpclient</artifactId>
64+
<version>4.3.5</version>
65+
<scope>compile</scope>
66+
</dependency>
67+
<dependency>
68+
<groupId>org.springframework</groupId>
69+
<artifactId>spring-web</artifactId>
70+
<version>4.3.5.RELEASE</version>
71+
<scope>compile</scope>
72+
</dependency>
73+
<dependency>
74+
<groupId>ch.qos.logback</groupId>
75+
<artifactId>logback-classic</artifactId>
76+
<version>1.1.8</version>
77+
<scope>compile</scope>
78+
</dependency>
79+
80+
<dependency>
81+
<groupId>com.marklogic</groupId>
82+
<artifactId>ml-junit</artifactId>
83+
<version>3.1.0</version>
84+
<scope>test</scope>
85+
</dependency>
86+
<dependency>
87+
<groupId>commons-io</groupId>
88+
<artifactId>commons-io</artifactId>
89+
<version>2.5</version>
90+
<scope>test</scope>
91+
</dependency>
92+
93+
</dependencies>
94+
95+
</project>

0 commit comments

Comments
 (0)