-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
142 lines (132 loc) · 5.11 KB
/
Copy pathpom.xml
File metadata and controls
142 lines (132 loc) · 5.11 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.visionapi</groupId>
<artifactId>visionapi-java</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<name>Vision API Java client</name>
<description>
Official Java client for the Vision API — credit-based OCR and visual intelligence.
Send an image or a PDF, describe the fields you want in plain language, and get
structured JSON back with a confidence level on every value.
</description>
<url>https://visionapi.io</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Vision API</name>
<url>https://visionapi.io</url>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/devrobotlabs/visionapi-java.git</connection>
<developerConnection>scm:git:git@github.com:devrobotlabs/visionapi-java.git</developerConnection>
<url>https://github.com/devrobotlabs/visionapi-java</url>
</scm>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>5.10.2</junit.version>
</properties>
<dependencies>
<!-- The library itself has no dependencies: java.net.http and a small internal JSON
reader cover everything. These are test-only. -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- Activated by `mvn -P release deploy`. Adds the two things Maven Central needs that
the default build does not already do: detached GPG signatures, and the upload
itself. The jar, sources jar and javadoc jar all come from the <build> above. -->
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
<configuration>
<!-- gpg 2.1+ will not take a passphrase on stdin without loopback mode.
The passphrase itself arrives in MAVEN_GPG_PASSPHRASE, which
actions/setup-java wires into the generated settings.xml. -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.11.0</version>
<!-- extensions=true replaces maven-deploy-plugin for the deploy phase. That is
why this pom has no <distributionManagement>: the old oss.sonatype.org
URLs went away with OSSRH on 2025-06-30, and adding them back is the usual
way this breaks. -->
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<!-- The first release stages in the Portal for a human to review and press
Publish. Nothing on Maven Central can ever be deleted or amended, so the
review is worth more than the automation. Later releases can set this to
true and add <waitUntil>published</waitUntil>. -->
<autoPublish>false</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>