Skip to content

Commit 7b1446c

Browse files
add first migration
1 parent 421cabe commit 7b1446c

File tree

264 files changed

+30468
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

264 files changed

+30468
-0
lines changed

.gitignore

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
*.versionsBackup
2+
3+
# Intellij
4+
###################
5+
.idea
6+
*.iml
7+
8+
# Eclipse #
9+
###########
10+
.project
11+
.settings
12+
.classpath
13+
14+
# NetBeans #
15+
############
16+
nbactions.xml
17+
nb-configuration.xml
18+
catalog.xml
19+
nbproject
20+
21+
# Compiled source #
22+
###################
23+
*.com
24+
*.class
25+
*.dll
26+
*.exe
27+
*.o
28+
*.so
29+
30+
# Packages #
31+
############
32+
# it's better to unpack these files and commit the raw source
33+
# git has its own built in compression methods
34+
*.7z
35+
*.dmg
36+
*.gz
37+
*.iso
38+
*.jar
39+
*.rar
40+
*.tar
41+
*.zip
42+
43+
# Logs and databases #
44+
######################
45+
*.log
46+
47+
# Maven #
48+
#########
49+
target
50+
51+
# Maven shade
52+
#############
53+
*dependency-reduced-pom.xml

pom.xml

Lines changed: 339 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,339 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright 2019 Project OpenUBL, Inc. and/or its affiliates
5+
and other contributors as indicated by the @author tags.
6+
7+
Licensed under the Eclipse Public License - v 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
https://www.eclipse.org/legal/epl-2.0/
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
19+
-->
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
<modelVersion>4.0.0</modelVersion>
23+
24+
<groupId>io.github.project-openubl</groupId>
25+
<artifactId>xml-builder-lib</artifactId>
26+
<version>2.0.1-SNAPSHOT</version>
27+
28+
<name>XML Builder :: Lib</name>
29+
<description>XML Builder Library</description>
30+
<packaging>jar</packaging>
31+
32+
<properties>
33+
<maven.compiler.source>11</maven.compiler.source>
34+
<maven.compiler.target>11</maven.compiler.target>
35+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
37+
38+
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
39+
40+
<license.dir>${basedir}</license.dir>
41+
42+
<xmlunit.version>2.6.4</xmlunit.version>
43+
</properties>
44+
45+
<url>https://project-openubl.github.io/</url>
46+
47+
<licenses>
48+
<license>
49+
<name>Eclipse Public License - v 2.0</name>
50+
<url>https://www.eclipse.org/legal/epl-2.0</url>
51+
<distribution>repo</distribution>
52+
</license>
53+
</licenses>
54+
55+
<developers>
56+
<developer>
57+
<id>carlosthe19916</id>
58+
<name>Carlos Esteban Feria Vila</name>
59+
<email>carlosthe19916@gmail.com</email>
60+
<organization>carlosthe19916</organization>
61+
<roles>
62+
<role>project-owner</role>
63+
</roles>
64+
<timezone>-5</timezone>
65+
</developer>
66+
</developers>
67+
68+
<scm>
69+
<url>https://github.com/project-openubl/xml-builder-lib</url>
70+
<connection>scm:git:git://github.com/project-openubl/xml-builder-lib.git</connection>
71+
<developerConnection>scm:git:git@github.com:project-openubl/xml-builder-lib.git</developerConnection>
72+
</scm>
73+
74+
<distributionManagement>
75+
<snapshotRepository>
76+
<id>ossrh</id>
77+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
78+
</snapshotRepository>
79+
<repository>
80+
<id>ossrh</id>
81+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
82+
</repository>
83+
</distributionManagement>
84+
85+
<dependencies>
86+
<dependency>
87+
<groupId>org.freemarker</groupId>
88+
<artifactId>freemarker</artifactId>
89+
<version>2.3.30</version>
90+
</dependency>
91+
<dependency>
92+
<groupId>org.hibernate</groupId>
93+
<artifactId>hibernate-validator</artifactId>
94+
<version>6.1.4.Final</version>
95+
</dependency>
96+
<dependency>
97+
<groupId>org.glassfish</groupId>
98+
<artifactId>jakarta.el</artifactId>
99+
<version>3.0.3</version>
100+
</dependency>
101+
<dependency>
102+
<groupId>io.smallrye</groupId>
103+
<artifactId>smallrye-open-api</artifactId>
104+
<version>1.2.1</version>
105+
</dependency>
106+
107+
<dependency>
108+
<groupId>org.junit.jupiter</groupId>
109+
<artifactId>junit-jupiter-engine</artifactId>
110+
<version>5.6.2</version>
111+
<scope>test</scope>
112+
</dependency>
113+
<dependency>
114+
<groupId>org.mockito</groupId>
115+
<artifactId>mockito-core</artifactId>
116+
<version>3.3.3</version>
117+
<scope>test</scope>
118+
</dependency>
119+
<dependency>
120+
<groupId>org.xmlunit</groupId>
121+
<artifactId>xmlunit-core</artifactId>
122+
<version>${xmlunit.version}</version>
123+
<scope>test</scope>
124+
</dependency>
125+
<dependency>
126+
<groupId>org.xmlunit</groupId>
127+
<artifactId>xmlunit-matchers</artifactId>
128+
<version>${xmlunit.version}</version>
129+
<scope>test</scope>
130+
</dependency>
131+
<dependency>
132+
<groupId>io.github.project-openubl</groupId>
133+
<artifactId>xml-sender-ws</artifactId>
134+
<version>2.1.0-SNAPSHOT</version>
135+
<scope>test</scope>
136+
</dependency>
137+
</dependencies>
138+
139+
<build>
140+
<plugins>
141+
<plugin>
142+
<groupId>org.apache.maven.plugins</groupId>
143+
<artifactId>maven-surefire-plugin</artifactId>
144+
<version>${maven-surefire-plugin.version}</version>
145+
<inherited>true</inherited>
146+
<configuration>
147+
<excludes>
148+
<exclude>**/*KT.java</exclude>
149+
</excludes>
150+
</configuration>
151+
</plugin>
152+
153+
<!-- License information -->
154+
<!--mvn license:format-->
155+
<plugin>
156+
<groupId>com.mycila</groupId>
157+
<artifactId>license-maven-plugin</artifactId>
158+
<version>3.0</version>
159+
<configuration>
160+
<header>copyright.txt</header>
161+
<properties>
162+
<owner>Project OpenUBL</owner>
163+
<email>projectopenubl+subscribe@googlegroups.com</email>
164+
</properties>
165+
<excludes>
166+
<exclude>**/README</exclude>
167+
<exclude>src/test/resources/**</exclude>
168+
<exclude>src/main/resources/**</exclude>
169+
<exclude>.github/**</exclude>
170+
</excludes>
171+
</configuration>
172+
<executions>
173+
<execution>
174+
<goals>
175+
<goal>check</goal>
176+
</goals>
177+
</execution>
178+
</executions>
179+
</plugin>
180+
181+
<!-- Nexus Staging Plugin -->
182+
<plugin>
183+
<groupId>org.sonatype.plugins</groupId>
184+
<artifactId>nexus-staging-maven-plugin</artifactId>
185+
<version>1.6.8</version>
186+
<extensions>true</extensions>
187+
<configuration>
188+
<serverId>ossrh</serverId>
189+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
190+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
191+
</configuration>
192+
</plugin>
193+
</plugins>
194+
</build>
195+
196+
<profiles>
197+
<profile>
198+
<id>coverage</id>
199+
<build>
200+
<plugins>
201+
<plugin>
202+
<groupId>org.jacoco</groupId>
203+
<artifactId>jacoco-maven-plugin</artifactId>
204+
<version>0.8.5</version>
205+
<executions>
206+
<execution>
207+
<id>prepare-agent</id>
208+
<goals>
209+
<goal>prepare-agent</goal>
210+
</goals>
211+
</execution>
212+
<execution>
213+
<id>jacoco-post-unit-test-report</id>
214+
<phase>test</phase>
215+
<goals>
216+
<goal>report</goal>
217+
</goals>
218+
</execution>
219+
<execution>
220+
<id>jacoco-check</id>
221+
<phase>verify</phase>
222+
<goals>
223+
<goal>check</goal>
224+
</goals>
225+
<configuration>
226+
<rules>
227+
<rule>
228+
<element>BUNDLE</element>
229+
<limits>
230+
<limit>
231+
<counter>INSTRUCTION</counter>
232+
<value>COVEREDRATIO</value>
233+
<minimum>0.1</minimum>
234+
</limit>
235+
</limits>
236+
</rule>
237+
</rules>
238+
</configuration>
239+
</execution>
240+
</executions>
241+
<configuration>
242+
<excludes>
243+
<exclude>pe/gob/sunat/**/*</exclude>
244+
<exclude>service/sunat/gob/pe/**/*</exclude>
245+
</excludes>
246+
</configuration>
247+
</plugin>
248+
</plugins>
249+
</build>
250+
</profile>
251+
<profile>
252+
<id>sonar</id>
253+
<properties>
254+
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
255+
<sonar.organization>project-openubl</sonar.organization>
256+
<sonar.projectKey>project-openubl_xml-builder-lib</sonar.projectKey>
257+
<sonar.projectName>XML Sender WS</sonar.projectName>
258+
</properties>
259+
<build>
260+
<plugins>
261+
<plugin>
262+
<groupId>org.sonarsource.scanner.maven</groupId>
263+
<artifactId>sonar-maven-plugin</artifactId>
264+
<version>3.7.0.1746</version>
265+
<executions>
266+
<execution>
267+
<phase>verify</phase>
268+
<goals>
269+
<goal>sonar</goal>
270+
</goals>
271+
</execution>
272+
</executions>
273+
</plugin>
274+
</plugins>
275+
</build>
276+
</profile>
277+
<profile>
278+
<id>deploy</id>
279+
<build>
280+
<plugins>
281+
<!-- Source plugin -->
282+
<plugin>
283+
<groupId>org.apache.maven.plugins</groupId>
284+
<artifactId>maven-source-plugin</artifactId>
285+
<version>3.2.1</version>
286+
<executions>
287+
<execution>
288+
<id>attach-sources</id>
289+
<goals>
290+
<goal>jar-no-fork</goal>
291+
</goals>
292+
</execution>
293+
</executions>
294+
</plugin>
295+
296+
<!-- Javadoc plugin -->
297+
<plugin>
298+
<groupId>org.apache.maven.plugins</groupId>
299+
<artifactId>maven-javadoc-plugin</artifactId>
300+
<version>3.2.0</version>
301+
<executions>
302+
<execution>
303+
<id>attach-javadocs</id>
304+
<goals>
305+
<goal>jar</goal>
306+
</goals>
307+
</execution>
308+
</executions>
309+
</plugin>
310+
311+
<!-- GPG plugin -->
312+
<plugin>
313+
<groupId>org.apache.maven.plugins</groupId>
314+
<artifactId>maven-gpg-plugin</artifactId>
315+
<version>1.6</version>
316+
<executions>
317+
<execution>
318+
<id>sign-artifacts</id>
319+
<phase>verify</phase>
320+
<goals>
321+
<goal>sign</goal>
322+
</goals>
323+
<configuration>
324+
<!-- Prevent `gpg` from using pinentry programs -->
325+
<gpgArguments>
326+
<arg>--pinentry-mode</arg>
327+
<arg>loopback</arg>
328+
</gpgArguments>
329+
</configuration>
330+
</execution>
331+
</executions>
332+
</plugin>
333+
</plugins>
334+
</build>
335+
</profile>
336+
337+
</profiles>
338+
339+
</project>

0 commit comments

Comments
 (0)