Skip to content

Commit

Permalink
version: 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Chan committed May 23, 2024
1 parent e2464b7 commit 7e92a99
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mvn archetype:generate \
-Dpackage=com.example \
-DarchetypeGroupId=com.power4j.archetype \
-DarchetypeArtifactId=oss-lib-multi \
-DarchetypeVersion=1.2.0
-DarchetypeVersion=1.2.1
```

you will get
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.power4j.archetype</groupId>
<artifactId>oss-lib-multi</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
<packaging>maven-archetype</packaging>

<name>${project.artifactId}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,40 @@
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<inherited>true</inherited>
<executions>
<execution>
<!-- Tidy up all POMs before they are published -->
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
<embedBuildProfileDependencies>true</embedBuildProfileDependencies>
<pomElements>
<parent>expand</parent>
<distributionManagement>remove</distributionManagement>
<repositories>remove</repositories>
</pomElements>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<configuration>
<offline>true</offline>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 7e92a99

Please sign in to comment.