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

Commit 125e39f

Browse files
committed
Updating pom.xml file
1 parent 19b4765 commit 125e39f

File tree

2 files changed

+129
-104
lines changed

2 files changed

+129
-104
lines changed

build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,20 @@ signing {
8383
sign configurations.archives
8484
}
8585

86+
task generatePomForDependencyGraph(dependsOn: "generatePomFileForMainJavaPublication") {
87+
description = "Prepare for a release by making a copy of the generated pom file in the root directory so that it " +
88+
"can enable Github's Dependency Graph feature, which does not yet support Gradle"
89+
doLast {
90+
def preamble = '<?xml version="1.0" encoding="UTF-8"?>'
91+
def comment = "<!--\n" +
92+
"This file was generated via Gradle and is being used primarily for github's Dependency Graph feature.\n" +
93+
"It is not intended to be used to build this project.\n" +
94+
"-->"
95+
def fileText = file("build/publications/mainJava/pom-default.xml").getText()
96+
file("pom.xml").setText(fileText.replace(preamble, preamble + comment))
97+
}
98+
}
99+
86100
publishing {
87101
publications {
88102
mainJava(MavenPublication) {

pom.xml

Lines changed: 115 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,119 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
1+
<?xml version="1.0" encoding="UTF-8"?><!--
32
This file was generated via Gradle and is being used primarily for github's Dependency Graph feature.
43
It is not intended to be used to build this project.
54
-->
6-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
7-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8-
<!-- This module was also published with a richer model, Gradle metadata, -->
9-
<!-- which should be used instead. Do not delete the following line which -->
10-
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
11-
<!-- that they should prefer consuming it instead. -->
12-
<!-- do_not_remove: published-with-gradle-metadata -->
13-
<modelVersion>4.0.0</modelVersion>
14-
<groupId>com.marklogic</groupId>
15-
<artifactId>ml-app-deployer</artifactId>
16-
<version>4.2.1</version>
17-
<name>com.marklogic:ml-app-deployer</name>
18-
<description>Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic</description>
19-
<url>https://github.com/marklogic-community/ml-app-deployer</url>
20-
<licenses>
21-
<license>
22-
<name>The Apache License, Version 2.0</name>
23-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
24-
</license>
25-
</licenses>
26-
<developers>
27-
<developer>
28-
<id>marklogic</id>
29-
<name>MarkLogic Github Contributors</name>
30-
<email>[email protected]</email>
31-
<organization>MarkLogic</organization>
32-
<organizationUrl>https://www.marklogic.com</organizationUrl>
33-
</developer>
34-
</developers>
35-
<scm>
36-
<connection>scm:[email protected]:marklogic-community/ml-app-deployer.git</connection>
37-
<developerConnection>scm:[email protected]:marklogic-community/ml-app-deployer.git</developerConnection>
38-
<url>[email protected]:marklogic-community/ml-app-deployer.git</url>
39-
</scm>
40-
<dependencies>
41-
<dependency>
42-
<groupId>com.marklogic</groupId>
43-
<artifactId>ml-javaclient-util</artifactId>
44-
<version>4.2.0</version>
45-
<scope>compile</scope>
46-
</dependency>
47-
<dependency>
48-
<groupId>org.springframework</groupId>
49-
<artifactId>spring-web</artifactId>
50-
<version>5.3.7</version>
51-
<scope>compile</scope>
52-
</dependency>
53-
<dependency>
54-
<groupId>jaxen</groupId>
55-
<artifactId>jaxen</artifactId>
56-
<version>1.2.0</version>
57-
<scope>runtime</scope>
58-
</dependency>
59-
<dependency>
60-
<groupId>org.apache.httpcomponents</groupId>
61-
<artifactId>httpclient</artifactId>
62-
<version>4.5.13</version>
63-
<scope>runtime</scope>
64-
</dependency>
65-
<dependency>
66-
<groupId>org.jdom</groupId>
67-
<artifactId>jdom2</artifactId>
68-
<version>2.0.6</version>
69-
<scope>runtime</scope>
70-
</dependency>
71-
<dependency>
72-
<groupId>commons-codec</groupId>
73-
<artifactId>commons-codec</artifactId>
74-
<version>1.13</version>
75-
<scope>runtime</scope>
76-
</dependency>
77-
<dependency>
78-
<groupId>org.apache.commons</groupId>
79-
<artifactId>commons-lang3</artifactId>
80-
<version>3.12.0</version>
81-
<scope>runtime</scope>
82-
</dependency>
83-
<dependency>
84-
<groupId>com.flipkart.zjsonpatch</groupId>
85-
<artifactId>zjsonpatch</artifactId>
86-
<version>0.4.11</version>
87-
<scope>runtime</scope>
88-
</dependency>
89-
<dependency>
90-
<groupId>javax.xml.bind</groupId>
91-
<artifactId>jaxb-api</artifactId>
92-
<version>2.3.1</version>
93-
<scope>runtime</scope>
94-
</dependency>
95-
<dependency>
96-
<groupId>com.sun.xml.bind</groupId>
97-
<artifactId>jaxb-core</artifactId>
98-
<version>2.3.0.1</version>
99-
<scope>runtime</scope>
100-
</dependency>
101-
<dependency>
102-
<groupId>com.sun.xml.bind</groupId>
103-
<artifactId>jaxb-impl</artifactId>
104-
<version>2.3.3</version>
105-
<scope>runtime</scope>
106-
</dependency>
107-
</dependencies>
5+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
6+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
7+
<!-- This module was also published with a richer model, Gradle metadata, -->
8+
<!-- which should be used instead. Do not delete the following line which -->
9+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
10+
<!-- that they should prefer consuming it instead. -->
11+
<!-- do_not_remove: published-with-gradle-metadata -->
12+
<modelVersion>4.0.0</modelVersion>
13+
<groupId>com.marklogic</groupId>
14+
<artifactId>ml-app-deployer</artifactId>
15+
<version>4.3.0</version>
16+
<name>com.marklogic:ml-app-deployer</name>
17+
<description>Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic</description>
18+
<url>https://github.com/marklogic-community/ml-app-deployer</url>
19+
<licenses>
20+
<license>
21+
<name>The Apache License, Version 2.0</name>
22+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
23+
</license>
24+
</licenses>
25+
<developers>
26+
<developer>
27+
<id>marklogic</id>
28+
<name>MarkLogic Github Contributors</name>
29+
<email>[email protected]</email>
30+
<organization>MarkLogic</organization>
31+
<organizationUrl>https://www.marklogic.com</organizationUrl>
32+
</developer>
33+
</developers>
34+
<scm>
35+
<connection>scm:[email protected]:marklogic-community/ml-app-deployer.git</connection>
36+
<developerConnection>scm:[email protected]:marklogic-community/ml-app-deployer.git</developerConnection>
37+
<url>[email protected]:marklogic-community/ml-app-deployer.git</url>
38+
</scm>
39+
<dependencies>
40+
<dependency>
41+
<groupId>com.marklogic</groupId>
42+
<artifactId>ml-javaclient-util</artifactId>
43+
<version>4.3.0</version>
44+
<scope>compile</scope>
45+
</dependency>
46+
<dependency>
47+
<groupId>org.springframework</groupId>
48+
<artifactId>spring-web</artifactId>
49+
<version>5.3.9</version>
50+
<scope>compile</scope>
51+
</dependency>
52+
<dependency>
53+
<groupId>com.fasterxml.jackson.core</groupId>
54+
<artifactId>jackson-databind</artifactId>
55+
<version>2.11.1</version>
56+
<scope>compile</scope>
57+
</dependency>
58+
<dependency>
59+
<groupId>jaxen</groupId>
60+
<artifactId>jaxen</artifactId>
61+
<version>1.2.0</version>
62+
<scope>runtime</scope>
63+
</dependency>
64+
<dependency>
65+
<groupId>org.apache.httpcomponents</groupId>
66+
<artifactId>httpclient</artifactId>
67+
<version>4.5.13</version>
68+
<scope>runtime</scope>
69+
</dependency>
70+
<dependency>
71+
<groupId>org.jdom</groupId>
72+
<artifactId>jdom2</artifactId>
73+
<version>2.0.6</version>
74+
<scope>runtime</scope>
75+
</dependency>
76+
<dependency>
77+
<groupId>commons-codec</groupId>
78+
<artifactId>commons-codec</artifactId>
79+
<version>1.15</version>
80+
<scope>runtime</scope>
81+
</dependency>
82+
<dependency>
83+
<groupId>org.apache.commons</groupId>
84+
<artifactId>commons-lang3</artifactId>
85+
<version>3.12.0</version>
86+
<scope>runtime</scope>
87+
</dependency>
88+
<dependency>
89+
<groupId>com.flipkart.zjsonpatch</groupId>
90+
<artifactId>zjsonpatch</artifactId>
91+
<version>0.4.11</version>
92+
<scope>runtime</scope>
93+
<exclusions>
94+
<exclusion>
95+
<artifactId>jackson-databind</artifactId>
96+
<groupId>*</groupId>
97+
</exclusion>
98+
</exclusions>
99+
</dependency>
100+
<dependency>
101+
<groupId>javax.xml.bind</groupId>
102+
<artifactId>jaxb-api</artifactId>
103+
<version>2.3.1</version>
104+
<scope>runtime</scope>
105+
</dependency>
106+
<dependency>
107+
<groupId>com.sun.xml.bind</groupId>
108+
<artifactId>jaxb-core</artifactId>
109+
<version>2.3.0.1</version>
110+
<scope>runtime</scope>
111+
</dependency>
112+
<dependency>
113+
<groupId>com.sun.xml.bind</groupId>
114+
<artifactId>jaxb-impl</artifactId>
115+
<version>2.3.3</version>
116+
<scope>runtime</scope>
117+
</dependency>
118+
</dependencies>
108119
</project>

0 commit comments

Comments
 (0)