File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 <junit .platform.version>1.7.2</junit .platform.version>
2020 </properties >
2121
22+
23+
2224 <dependencies >
2325
2426 <dependency >
6163 </dependency >
6264 </dependencies >
6365
66+
67+ <profiles >
68+ <profile >
69+ <!--
70+ This profile is needed when making a deployment to Maven Central.
71+
72+ mvn -P release -DskipTests deploy
73+ -->
74+ <id >release</id >
75+ <build >
76+ <plugins >
77+ <plugin >
78+ <groupId >org.apache.maven.plugins</groupId >
79+ <artifactId >maven-gpg-plugin</artifactId >
80+ </plugin >
81+ <plugin >
82+ <groupId >org.sonatype.central</groupId >
83+ <artifactId >central-publishing-maven-plugin</artifactId >
84+ </plugin >
85+ </plugins >
86+ </build >
87+ </profile >
88+ </profiles >
89+
90+
6491 <build >
92+
93+ <pluginManagement >
94+ <plugins >
95+ <!-- To deploy to Maven Central
96+ https://central.sonatype.com/account
97+ https://central.sonatype.org/publish/publish-portal-maven/
98+ -->
99+ <plugin >
100+ <groupId >org.sonatype.central</groupId >
101+ <artifactId >central-publishing-maven-plugin</artifactId >
102+ <version >0.7.0</version >
103+ <extensions >true</extensions >
104+ <configuration >
105+ <publishingServerId >central</publishingServerId >
106+ <autoPublish >true</autoPublish >
107+ </configuration >
108+ </plugin >
109+ <!-- To sign Jar files before uploading them to Maven Central -->
110+ <plugin >
111+ <groupId >org.apache.maven.plugins</groupId >
112+ <artifactId >maven-gpg-plugin</artifactId >
113+ <version >1.6</version >
114+ <executions >
115+ <execution >
116+ <id >sign-artifacts</id >
117+ <phase >deploy</phase >
118+ <goals >
119+ <goal >sign</goal >
120+ </goals >
121+ </execution >
122+ </executions >
123+ </plugin >
124+ </plugins >
125+ </pluginManagement >
126+
65127 <plugins >
66128 <plugin >
67129 <groupId >org.jsonschema2pojo</groupId >
You can’t perform that action at this time.
0 commit comments