|
2 | 2 | <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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
3 | 3 | <modelVersion>4.0.0</modelVersion>
|
4 | 4 |
|
5 |
| - <parent> |
6 |
| - <groupId>org.sonatype.oss</groupId> |
7 |
| - <artifactId>oss-parent</artifactId> |
8 |
| - <version>7</version> |
9 |
| - </parent> |
10 |
| - |
11 | 5 | <groupId>org.skyscreamer</groupId>
|
12 | 6 | <artifactId>jsonassert</artifactId>
|
13 |
| - <version>1.5.2-SNAPSHOT</version> |
| 7 | + <version>1.5.2</version> |
14 | 8 | <packaging>jar</packaging>
|
15 | 9 |
|
16 | 10 | <name>JSONassert</name>
|
17 | 11 | <description>A library to develop RESTful but flexible APIs</description>
|
18 | 12 | <url>https://github.com/skyscreamer/JSONassert</url>
|
19 | 13 |
|
| 14 | + <properties> |
| 15 | + <maven.compiler.release>21</maven.compiler.release> |
| 16 | + </properties> |
| 17 | + |
20 | 18 | <licenses>
|
21 | 19 | <license>
|
22 | 20 | <name>The Apache Software License, Version 2.0</name>
|
|
60 | 58 | <version>4.13.2</version>
|
61 | 59 | <scope>test</scope>
|
62 | 60 | </dependency>
|
| 61 | + <dependency> |
| 62 | + <groupId>org.hamcrest</groupId> |
| 63 | + <artifactId>hamcrest</artifactId> |
| 64 | + <version>2.2</version> |
| 65 | + <scope>test</scope> |
| 66 | + </dependency> |
63 | 67 | </dependencies>
|
64 | 68 |
|
65 | 69 | <build>
|
66 | 70 | <plugins>
|
67 | 71 | <plugin>
|
68 | 72 | <groupId>org.apache.maven.plugins</groupId>
|
69 | 73 | <artifactId>maven-compiler-plugin</artifactId>
|
70 |
| - <version>2.3.1</version> |
71 |
| - <configuration> |
72 |
| - <source>1.8</source> |
73 |
| - <target>1.8</target> |
74 |
| - </configuration> |
| 74 | + <version>3.11.0</version> |
75 | 75 | </plugin>
|
76 | 76 | <plugin>
|
77 | 77 | <groupId>org.apache.maven.plugins</groupId>
|
78 | 78 | <artifactId>maven-site-plugin</artifactId>
|
79 |
| - <version>3.10.0</version> |
| 79 | + </plugin> |
| 80 | + <plugin> |
| 81 | + <groupId>org.apache.maven.plugins</groupId> |
| 82 | + <artifactId>maven-source-plugin</artifactId> |
| 83 | + <version>2.2.1</version> |
| 84 | + <executions> |
| 85 | + <execution> |
| 86 | + <id>attach-sources</id> |
| 87 | + <goals> |
| 88 | + <goal>jar-no-fork</goal> |
| 89 | + </goals> |
| 90 | + </execution> |
| 91 | + </executions> |
| 92 | + </plugin> |
| 93 | + <plugin> |
| 94 | + <groupId>org.apache.maven.plugins</groupId> |
| 95 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 96 | + <version>2.9.1</version> |
| 97 | + <executions> |
| 98 | + <execution> |
| 99 | + <id>attach-javadocs</id> |
| 100 | + <goals> |
| 101 | + <goal>jar</goal> |
| 102 | + </goals> |
| 103 | + </execution> |
| 104 | + </executions> |
| 105 | + <configuration> |
| 106 | + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
| 107 | + <source>8</source> |
| 108 | + </configuration> |
| 109 | + </plugin> |
| 110 | + <plugin> |
| 111 | + <groupId>org.sonatype.plugins</groupId> |
| 112 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 113 | + <version>1.6.7</version> |
| 114 | + <extensions>true</extensions> |
80 | 115 | <configuration>
|
81 |
| - <reportPlugins> |
82 |
| - <plugin> |
83 |
| - <groupId>org.codehaus.mojo</groupId> |
84 |
| - <artifactId>cobertura-maven-plugin</artifactId> |
85 |
| - <version>2.7</version> |
86 |
| - </plugin> |
87 |
| - </reportPlugins> |
| 116 | + <serverId>ossrh</serverId> |
| 117 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 118 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
88 | 119 | </configuration>
|
| 120 | + <dependencies> |
| 121 | + <dependency> |
| 122 | + <groupId>com.thoughtworks.xstream</groupId> |
| 123 | + <artifactId>xstream</artifactId> |
| 124 | + <version>1.4.15</version> <!-- apparently this needs to be exactly this version --> |
| 125 | + </dependency> |
| 126 | + </dependencies> |
89 | 127 | </plugin>
|
90 | 128 | </plugins>
|
91 | 129 | <extensions>
|
|
112 | 150 | <id>github-project-site</id>
|
113 | 151 | < url>gitsite: [email protected]/skyscreamer/JSONassert.git</ url>
|
114 | 152 | </site>
|
| 153 | + <snapshotRepository> |
| 154 | + <id>ossrh</id> |
| 155 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 156 | + </snapshotRepository> |
115 | 157 | </distributionManagement>
|
116 | 158 |
|
117 | 159 | <profiles>
|
|
128 | 170 | <plugin>
|
129 | 171 | <groupId>org.apache.maven.plugins</groupId>
|
130 | 172 | <artifactId>maven-gpg-plugin</artifactId>
|
131 |
| - <version>3.0.1</version> |
| 173 | + <version>1.5</version> |
132 | 174 | <executions>
|
133 | 175 | <execution>
|
134 | 176 | <id>sign-artifacts</id>
|
|
0 commit comments