simter-build

Simter Build

License

License

MIT
GroupId

GroupId

tech.simter
ArtifactId

ArtifactId

simter-build
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

pom
Description

Description

simter-build
Simter Build
Project URL

Project URL

https://github.com/simter/simter-build
Project Organization

Project Organization

simter
Source Code Management

Source Code Management

https://github.com/simter/simter-build.git

Download simter-build

Filename Size
simter-build-1.2.0.pom 10 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/tech.simter/simter-build/ -->
<dependency>
    <groupId>tech.simter</groupId>
    <artifactId>simter-build</artifactId>
    <version>1.2.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/tech.simter/simter-build/
implementation 'tech.simter:simter-build:1.2.0'
// https://jarcasting.com/artifacts/tech.simter/simter-build/
implementation ("tech.simter:simter-build:1.2.0")
'tech.simter:simter-build:pom:1.2.0'
<dependency org="tech.simter" name="simter-build" rev="1.2.0">
  <artifact name="simter-build" type="pom" />
</dependency>
@Grapes(
@Grab(group='tech.simter', module='simter-build', version='1.2.0')
)
libraryDependencies += "tech.simter" % "simter-build" % "1.2.0"
[tech.simter/simter-build "1.2.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

1. Overview

The Simter Project Builder to build all simter projects.

Modules :

Sn Name Remark
1 simter-build Build modules and define global properties and pluginManagement
2 simter-dependencies Define global dependencyManagement
3 simter-parent All sub modules parent module, Define global dependencies and plugins
4 simter-[sub-module]

Remark : 1, 2, 3 all has maven-enforcer-plugin and flatten-maven-plugin config. [sub-module] means simter-core and all other sub modules. They simter-[sub-module] must not configure them.

Pom Inherited Structure : (A : B means B is the parent of A)

simter-parent : simter-dependencies : simter-build
gftaxi-\[sub-module\] : simter-parent

2. Requirement

Maven3.6+, Java8+.

3. Development build

$ mvn clean install

The default version is pom.xml/properties/revision value, can be change through command argument temporary. Below change to version x.y.z-SHAPSHOT.

$ mvn clean install -D revision=x.y.z-SHAPSHOT

4. Release build

  1. Change pom.xml/properties/revision value to the release version number.
    <properties>
      <revision>x.y.z</revision>
    </properties>
    
  2. Commit a log with format 'Release version x.y.z.
    $ git add pom.xml
    $ git commit -m "Release version x.y.z"
  3. Release to intranet nexus server.
    $ mvn clean deploy -P lan
  4. Release to bintray.
    $ mvn clean deploy -P bintray
  5. Release to sonatype.
    $ mvn clean deploy -P sonatype
tech.simter

Versions

Version
1.2.0
1.1.0
1.0.1
1.0.0
0.5.0
0.4.0