Skip to content

Commit

Permalink
Merge pull request #25 from ByungJun25/issue_24
Browse files Browse the repository at this point in the history
#24 Fixed Pom
  • Loading branch information
ByungJun25 authored Feb 18, 2021
2 parents 110a1ec + 52880aa commit dd32917
Show file tree
Hide file tree
Showing 8 changed files with 398 additions and 13 deletions.
209 changes: 209 additions & 0 deletions .flattened-pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.2</version>
<relativePath></relativePath>
</parent>
<groupId>com.github.ByungJun25</groupId>
<artifactId>spring-instant</artifactId>
<version>0.5.8</version>
<packaging>pom</packaging>
<name>spring-instant</name>
<description>Spring Instant Library.</description>
<url>https://github.com/ByungJun25/spring-instant</url>
<inceptionYear>2021</inceptionYear>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<developers>
<developer>
<id>ByungJun25</id>
<name>Byungjun Woo</name>
<url>https://github.com/ByungJun25</url>
<roles>
<role>developer</role>
</roles>
<timezone>Europe/Berlin</timezone>
</developer>
</developers>
<modules>
<module>spring-security-instant</module>
<module>spring-security-user-instant</module>
</modules>
<scm>
<url>https://github.com/ByungJun25/spring-instant</url>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/ByungJun25/spring-instant/issues</url>
</issueManagement>
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/ByungJun25/spring-instant/actions</url>
</ciManagement>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<revision>0.0.1</revision>
<maven.compiler.target>1.8</maven.compiler.target>
<changelist>-SNAPSHOT</changelist>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.github.ByungJun25</groupId>
<artifactId>spring-security-instant</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.github.ByungJun25</groupId>
<artifactId>spring-security-user-instant</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>Dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<changelist>-SNAPSHOT</changelist>
</properties>
</profile>
<profile>
<id>RC</id>
<properties>
<changelist>-RC</changelist>
</properties>
</profile>
<profile>
<id>Release</id>
<properties>
<changelist></changelist>
</properties>
</profile>
<profile>
<id>ossrh</id>
<build>
<plugins>
<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>false</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>github</id>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub ByungJun25 Apache Maven Packages</name>
<url>https://maven.pkg.github.com/byungjun25/spring-instant</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>
66 changes: 57 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>com.github.ByungJun25</groupId>
<artifactId>spring-instant</artifactId>
<version>${revision}</version>
<version>${revision}${changelist}</version>
<packaging>pom</packaging>

<name>spring-instant</name>
Expand Down Expand Up @@ -45,6 +45,16 @@
<url>https://github.com/ByungJun25/spring-instant</url>
</scm>

<issueManagement>
<system>GitHub</system>
<url>https://github.com/ByungJun25/spring-instant/issues</url>
</issueManagement>

<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/ByungJun25/spring-instant/actions</url>
</ciManagement>

<modules>
<module>spring-security-instant</module>
<module>spring-security-user-instant</module>
Expand All @@ -57,28 +67,37 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<revision>${instant.version}${changelist}</revision>
<changelist>-SNAPSHOT</changelist>
</properties>
</profile>
<profile>
<!-- Release Candidate -->
<id>RC</id>
<properties>
<revision>${instant.version}${changelist}</revision>
<changelist>-RC</changelist>
</properties>
</profile>
<profile>
<id>Release</id>
<properties>
<revision>${instant.version}</revision>
<changelist></changelist>
</properties>
</profile>
<profile>
<id>ossrh</id>
<build>
<plugins>
<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>false</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down Expand Up @@ -140,7 +159,7 @@
</repository>
</distributionManagement>
<properties>
<revision>${instant.version}</revision>
<changelist></changelist>
</properties>
</profile>
<profile>
Expand All @@ -153,15 +172,44 @@
</repository>
</distributionManagement>
<properties>
<revision>${instant.version}</revision>
<changelist></changelist>
</properties>
</profile>
</profiles>

<properties>
<!-- Project version -->
<instant.version>0.1.0</instant.version>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<properties>
<revision>0.1.1</revision>
<changelist>-SNAPSHOT</changelist>
<!-- java -->
<java.version>1.8</java.version>

Expand Down
2 changes: 1 addition & 1 deletion spring-security-instant-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.ByungJun25</groupId>
<artifactId>spring-instant</artifactId>
<version>${revision}</version>
<version>${revision}${changelist}</version>
</parent>

<groupId>com.bj25</groupId>
Expand Down
Loading

0 comments on commit dd32917

Please sign in to comment.