hello-world
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.ershakiransari</groupId>
<artifactId>hello-world</artifactId>
<version>1.1.3</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2022 ajaxer.org
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<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">
<parent>
<groupId>org.ajaxer</groupId>
<artifactId>parent</artifactId>
<version>0.1.0</version>
</parent>
<groupId>com.github.ershakiransari</groupId>
<artifactId>hello-world</artifactId>
<version>1.1.3</version>
<name>Hello World</name>
<url>https://github.com/ErShakirAnsari/hello-world</url>
<description>Hello world</description>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<modules>
<module>hello-maven</module>
<module>hello-java</module>
</modules>
<properties>
<!-- Set this in github workflow -->
<id-ossrh>ossrh-ershakiransari</id-ossrh>
</properties>
<scm>
<connection>scm:git:https://github.com/ErShakirAnsari/hello-world.git</connection>
<developerConnection>scm:git:https://github.com/ErShakirAnsari/hello-world.git</developerConnection>
<url>https://github.com/ErShakirAnsari/hello-world/</url>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<repository>
<id>${id-ossrh}</id>
<name>Central Repository OSSRH</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>${id-ossrh}</id>
<name>Central Snapshots Repository OSSRH</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<relocation>
<groupId>com.github.ershakiransari.hello</groupId>
<artifactId>hello-world</artifactId>
<message>This artifact has been moved to a new groupId. Please update your dependencies.</message>
</relocation>
</distributionManagement>
<developers>
<developer>
<name>Shakir Ansari</name>
<roles>
<role>developer</role>
</roles>
<url>https://github.com/ErShakirAnsari</url>
</developer>
</developers>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!--maven-gpg-plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<!--maven-source-plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!--maven-javadoc-plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<!-- nexus-staging-maven-plugin -->
<plugin>
<!-- https://mvnrepository.com/artifact/org.sonatype.plugins/nexus-staging-maven-plugin -->
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>${id-ossrh}</serverId>
<!-- below url will be provided by sonatype in you JIRA issue -->
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<!--maven-resources-plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-dry-run</id>
<build>
<plugins>
<!--maven-gpg-plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<!--maven-source-plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!--maven-javadoc-plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<!-- nexus-staging-maven-plugin -->
<!--
<plugin>
<!– https://mvnrepository.com/artifact/org.sonatype.plugins/nexus-staging-maven-plugin –>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>${id-ossrh}</serverId>
<!– below url will be provided by sonatype in you JIRA issue –>
<!– <nexusUrl>file:/tmp/local_repo/release</nexusUrl> –>
<!– <nexusUrl>https://oss.sonatype.org/</nexusUrl> –>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
-->
<!--maven-resources-plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<!--maven-release-plugin-->
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
</plugin>
<!-- maven-surefire-plugin -->
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<skip>false</skip>
</configuration>
</plugin>
<!--org.apache.maven.plugins-->
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<!-- exclude log4j.properties -->
<excludes>
<exclude>**/log4j2.properties</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>