plugin-release-parent

Plugin release snapshot

License

License

GroupId

GroupId

com.viiyue.plugins
ArtifactId

ArtifactId

plugin-release-parent
Last Version

Last Version

3
Release Date

Release Date

Type

Type

pom
Description

Description

plugin-release-parent
Plugin release snapshot
Project URL

Project URL

https://github.com/tangxbai/plugin-release-parent
Source Code Management

Source Code Management

https://github.com/tangxbai/plugin-release-parent.git

Download plugin-release-parent

How to add to project

<!-- https://jarcasting.com/artifacts/com.viiyue.plugins/plugin-release-parent/ -->
<dependency>
    <groupId>com.viiyue.plugins</groupId>
    <artifactId>plugin-release-parent</artifactId>
    <version>3</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.viiyue.plugins/plugin-release-parent/
implementation 'com.viiyue.plugins:plugin-release-parent:3'
// https://jarcasting.com/artifacts/com.viiyue.plugins/plugin-release-parent/
implementation ("com.viiyue.plugins:plugin-release-parent:3")
'com.viiyue.plugins:plugin-release-parent:pom:3'
<dependency org="com.viiyue.plugins" name="plugin-release-parent" rev="3">
  <artifact name="plugin-release-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.viiyue.plugins', module='plugin-release-parent', version='3')
)
libraryDependencies += "com.viiyue.plugins" % "plugin-release-parent" % "3"
[com.viiyue.plugins/plugin-release-parent "3"]

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.

项目发布快照

license Central

用于抽离项目发布到Maven中央库的一些基础配置,从而使子项目可以忽略这些繁琐的配置,仅关注于当前项目所需的配置。

凡是继承此pom配置的子项目将获得这些公用配置,并使用一些基础命令即可将项目发布到Maven中央库。

公共内容

配置setting.xml

更改Maven配置,这一步骤是必不可少的,如果已经配置了其他server,再添加一个 ossrh 的server节点即可。

<servers>
    <server>
        <id>ossrh</id>
        <username>...</username>
        <password>***</password>
    </server>
</servers>

基础命令

# 清空安装目录
$ mvn clean

# 清空并打包项目资源
$ mvn clean package

# 清空并安装项目资源(会判断是否有license.txt文件,有则自动添加文件头部许可证注释)
$ mvn clean install
$ mvn clean install -Plicense

# 清空并打包项目然后发布资源到Maven中央库
$ mvn clean deploy -Prelease

许可证忽略文件规则

[Mac]
**/.DS_Store

[RCS]
**/RCS
**/RCS/**

[SCCS]
**/SCCS
**/SCCS/**

[CVS]
**/CVS
**/CVS/**
**/.cvsignore

[Arch]
**/.arch-ids
**/.arch-ids/**

[Flash]
**/*.swf

[Fonts]
**/*.svg
**/*.eot
**/*.ttf
**/*.woff

[Bazaar]
**/.bzr
**/.bzr/**

[Git]
**/.git
**/.git/**
**/.gitignore
**/.gitmodules

[Darcs]
**/_darcs
**/_darcs/**
**/.darcsrepo
**/.darcsrepo/**
**/-darcs-backup*
**/.darcs-temp-mail

[Travis]
**/.travis.yml

[BitKeeper]
**/BitKeeper
**/BitKeeper/**
**/ChangeSet
**/ChangeSet/**

[Mercurial]
**/.hg
**/.hg/**
**/.hgignore

[Subversion]
**/.svn
**/.svn/**

[Json files]
**/*.json

[Netbeans]
**/nb-configuration.xml

[Descriptors]
**/MANIFEST.MF

[SurroundSCM]
**/.MySCMServerInfo

[Markdown files]
**/*.md

[Checksum files]
**/*.md5
**/*.sha1

[IDEA projet files]
**/*.iml
**/*.ipr
**/*.iws
.idea/**

[Visual SourceSafe]
**/vssver.scc

[ServiceLoader files]
**/META-INF/services/**

[Code coverage tools]
**/cobertura.ser
**/.clover/**

[Eclipse project files]
**/.classpath
**/.project
**/.settings/**

[Binary files - images]
**/*.jpg
**/*.png
**/*.gif
**/*.ico
**/*.bmp
**/*.tiff
**/*.tif
**/*.cr2
**/*.xcf

[Binary files - programs]
**/*.class
**/*.exe
**/*.dll
**/*.so

[Binary files - archives]
**/*.jar
**/*.zip
**/*.rar
**/*.tar
**/*.tar.gz
**/*.tar.bz2
**/*.gz

[Office documents]
**/*.xls
**/*.doc
**/*.odt
**/*.ods
**/*.pdf
**/*.xlsx
**/*.docx
**/*.ppt
**/*.pptx

[Serena Dimensions Version 10]
**/.metadata
**/.metadata/**

[Maven project's temporary files]
**/target/**
**/test-output/**
**/release.properties
**/dependency-reduced-pom.xml
**/release-pom.xml
**/pom.xml.releaseBackup

[Miscellaneous typical temporary files]
**/*~
**/#*#
**/.#*
**/%*%
**/._*
**/.repository/**

[Customize]
mvnw
mvnw.cmd
ICLA
KEYS
NOTICE
LICENSE
**/*.dat
**/*.lck
**/*.log
**/*.ctrl
**/*.providers
**/*.factories
**/*.properties
**/META-INF/**
**/.eclipse
**/.eclipse/**
**/.myeclipse
**/.myeclipse/**
**/.factorypath
**/.factorypath/**
**/.gitattributes
**/.gitattributes/**

关于作者

Versions

Version
3
2
1