44 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
55 <modelVersion >4.0.0</modelVersion >
66
7- <!-- Información básica del proyecto -->
7+ <!-- Coordenadas del proyecto -->
88 <groupId >com.fiscalapi</groupId >
99 <artifactId >fiscalapi</artifactId >
1010 <version >4.0.124</version >
11- <packaging >jar</packaging >
12-
13- <!-- Metadatos del proyecto -->
14- <name >Fiscalapi</name >
11+ <name >${project.groupId} :${project.artifactId} </name >
1512 <description >Genera facturas CFDI válidas ante el SAT consumiendo el API de https://www.fiscalapi.com</description >
1613 <url >https://www.fiscalapi.com</url >
17- <inceptionYear >2019</inceptionYear >
18-
19- <!-- Información de la organización -->
20- <organization >
21- <name >FISCAL API S DE R.L DE C.V</name >
22- <url >https://www.fiscalapi.com</url >
23- </organization >
2414
2515 <!-- Licencia -->
2616 <licenses >
2717 <license >
2818 <name >Mozilla Public License 2.0</name >
2919 <url >https://www.mozilla.org/en-US/MPL/2.0/</url >
30- <distribution >repo</distribution >
3120 </license >
3221 </licenses >
3322
3827 <name >Fiscalapi Team</name >
39284029 <organization >FISCAL API S DE R.L DE C.V</organization >
41- <organizationUrl >https://www.fiscalapi.com</organizationUrl >
4230 </developer >
4331 </developers >
4432
45- <!-- Sistema de control de versiones -->
33+ <!-- Información SCM -->
4634 <scm >
4735 <connection >scm:git:https://github.com/FiscalAPI/fiscalapi-java.git</connection >
48- <
developerConnection >scm:git:ssh://
[email protected] :FiscalAPI/fiscalapi-java.git</
developerConnection >
49- <url >https://github.com/FiscalAPI/fiscalapi-java</url >
50- <tag >HEAD</tag >
36+ <developerConnection >scm:git:ssh://github.com:FiscalAPI/fiscalapi-java.git</developerConnection >
37+ <url >https://github.com/FiscalAPI/fiscalapi-java/tree/main</url >
5138 </scm >
5239
53- <!-- Propiedades del proyecto -->
54- <properties >
55- <maven .compiler.source>8</maven .compiler.source>
56- <maven .compiler.target>8</maven .compiler.target>
57- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
58- <gpg .executable>gpg</gpg .executable>
59- <gpg .passphrase>${env.GPG_PASSPHRASE} </gpg .passphrase>
60- </properties >
61-
6240 <dependencies >
6341 <!-- OkHttp -->
6442 <dependency >
8159 </dependency >
8260 </dependencies >
8361
84- <!-- Configuración de construcción -->
62+ <!-- Maven Plugin for Publishing -->
8563 <build >
8664 <plugins >
87- <!-- Plugin para generar el JAR del código fuente -->
65+ <plugin >
66+ <groupId >org.apache.maven.plugins</groupId >
67+ <artifactId >maven-compiler-plugin</artifactId >
68+ <version >3.11.0</version >
69+ <configuration >
70+ <source >8</source >
71+ <target >8</target >
72+ <encoding >UTF-8</encoding >
73+ </configuration >
74+ </plugin >
75+ <plugin >
76+ <groupId >org.sonatype.central</groupId >
77+ <artifactId >central-publishing-maven-plugin</artifactId >
78+ <version >0.7.0</version >
79+ <extensions >true</extensions >
80+ <configuration >
81+ <publishingServerId >central</publishingServerId >
82+ <autoPublish >true</autoPublish >
83+ <waitUntil >published</waitUntil >
84+ </configuration >
85+ </plugin >
86+ <!-- GPG Signed Components -->
87+ <plugin >
88+ <groupId >org.apache.maven.plugins</groupId >
89+ <artifactId >maven-gpg-plugin</artifactId >
90+ <version >3.1.0</version >
91+ <executions >
92+ <execution >
93+ <id >sign-artifacts</id >
94+ <phase >verify</phase >
95+ <goals >
96+ <goal >sign</goal >
97+ </goals >
98+ </execution >
99+ </executions >
100+ <configuration >
101+ <gpgArguments >
102+ <arg >--pinentry-mode</arg >
103+ <arg >loopback</arg >
104+ <arg >--batch</arg >
105+ <arg >--no-tty</arg >
106+ </gpgArguments >
107+ <passphrase >${env.GPG_PASSPHRASE} </passphrase >
108+ </configuration >
109+ </plugin >
110+ <!-- Source Plugin -->
88111 <plugin >
89112 <groupId >org.apache.maven.plugins</groupId >
90113 <artifactId >maven-source-plugin</artifactId >
93116 <execution >
94117 <id >attach-sources</id >
95118 <goals >
96- <goal >jar</goal >
119+ <goal >jar-no-fork </goal >
97120 </goals >
98121 </execution >
99122 </executions >
100123 </plugin >
101-
102- <!-- Plugin para generar la documentación Javadoc -->
124+ <!-- JavaDoc Plugin -->
103125 <plugin >
104126 <groupId >org.apache.maven.plugins</groupId >
105127 <artifactId >maven-javadoc-plugin</artifactId >
106- <version >3.3.1 </version >
128+ <version >3.3.2 </version >
107129 <executions >
108130 <execution >
109131 <id >attach-javadocs</id >
113135 </execution >
114136 </executions >
115137 </plugin >
116-
117- <!-- Plugin para publicar en Central Publisher Portal -->
118- <plugin >
119- <groupId >org.sonatype.plugins</groupId >
120- <artifactId >nexus-staging-maven-plugin</artifactId >
121- <version >1.6.13</version >
122- <extensions >true</extensions >
123- <configuration >
124- <serverId >ossrh</serverId >
125- <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
126- <autoReleaseAfterClose >true</autoReleaseAfterClose >
127- </configuration >
128- </plugin >
129-
130138 </plugins >
131139 </build >
132140
133141 <profiles >
134142 <profile >
135143 <id >release</id >
136- <activation >
137- <activeByDefault >false</activeByDefault >
138- </activation >
139144 <build >
140145 <plugins >
141- <!-- Plugin para firmar los artefactos con GPG -->
146+ <plugin >
147+ <groupId >org.apache.maven.plugins</groupId >
148+ <artifactId >maven-source-plugin</artifactId >
149+ <version >3.2.1</version >
150+ <executions >
151+ <execution >
152+ <id >attach-sources</id >
153+ <goals >
154+ <goal >jar-no-fork</goal >
155+ </goals >
156+ </execution >
157+ </executions >
158+ </plugin >
159+ <plugin >
160+ <groupId >org.apache.maven.plugins</groupId >
161+ <artifactId >maven-javadoc-plugin</artifactId >
162+ <version >3.3.2</version >
163+ <executions >
164+ <execution >
165+ <id >attach-javadocs</id >
166+ <goals >
167+ <goal >jar</goal >
168+ </goals >
169+ </execution >
170+ </executions >
171+ </plugin >
142172 <plugin >
143173 <groupId >org.apache.maven.plugins</groupId >
144174 <artifactId >maven-gpg-plugin</artifactId >
145- <version >3.0.1 </version >
175+ <version >3.1.0 </version >
146176 <executions >
147177 <execution >
148178 <id >sign-artifacts</id >
158188 <arg >loopback</arg >
159189 <arg >--batch</arg >
160190 <arg >--no-tty</arg >
161- <arg >--passphrase-fd</arg >
162- <arg >0</arg >
163191 </gpgArguments >
164- <passphraseServerId >gpg.passphrase</passphraseServerId >
165- <passphrase >${gpg.passphrase} </passphrase >
166- <interactive >false</interactive >
192+ <passphrase >${env.GPG_PASSPHRASE} </passphrase >
167193 </configuration >
168194 </plugin >
169195 </plugins >
170196 </build >
171197 </profile >
172198 </profiles >
173199
174-
175- <distributionManagement >
176- <snapshotRepository >
177- <id >ossrh</id >
178- <url >https://s01.oss.sonatype.org/content/repositories/snapshots</url >
179- </snapshotRepository >
180- <repository >
181- <id >ossrh</id >
182- <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
183- </repository >
184- </distributionManagement >
185-
186200</project >
0 commit comments