Commit 0dd64aa4 authored by Danijel Dragicevic's avatar Danijel Dragicevic

Pom file updated with stuff need to publish this app on Maven Central...

Pom file updated with stuff need to publish this app on Maven Central Repositroy. Also, Operation class changed to adopt proper JavaDoc requirements.
parent 331a4ed9
Pipeline #122077 passed with stages
in 5 minutes and 34 seconds
......@@ -32,6 +32,73 @@
</license>
</licenses>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
......@@ -55,11 +122,21 @@
</dependency>
</dependencies>
<distributionManagement>
<repositories>
<!-- Mule stuff is not in central, so we need this... -->
<repository>
<id>central</id>
<name>artifactory.codecentric.de-releases</name>
<url>${env.MAVEN_REPO_URL}/public</url>
<id>mulesoft-releases</id>
<name>MuleSoft Releases Repository</name>
<url>http://repository.mulesoft.org/releases/</url>
<layout>default</layout>
</repository>
</distributionManagement>
</repositories>
<!-- <distributionManagement>-->
<!-- <repository>-->
<!-- <id>central</id>-->
<!-- <name>artifactory.codecentric.de-releases</name>-->
<!-- <url>${env.MAVEN_REPO_URL}/public</url>-->
<!-- </repository>-->
<!-- </distributionManagement>-->
</project>
......@@ -41,6 +41,13 @@ public class Operations {
* </ul>
* Remember: Encoding for Json is always UTF8
*
* @param containsOnlyOnMaps
* The actual value entry set of maps can contain more values than the expected set. So you tests do not fail
* when there are more elements than expected in the result.
*
* @param checkMapOrder
* The order of map entries is checked. The default is to ignore order of map entries.
*
* @param pathOptions
* Options for path patterns to control the comparison. Syntax of one List entry: Zero to <code>n</code> path
* parts. The parts can have the following syntax:
......@@ -62,8 +69,6 @@ public class Operations {
*
* IGNORE: The actual node and its subtree is ignored completely.
*
* @return The original payload.
*
* @throws Exception
* When comparison fails or on technical problems (e.g. parsing)
*/
......@@ -111,8 +116,6 @@ public class Operations {
* NORMALIZE_WHITESPACE: Normalize Text-Elements by removing all empty text nodes and normalizing the
* non-empty ones.
*
* @return The original payload.
*
* @throws Exception
* When comparison fails or on technical problems (e.g. parsing)
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment