Giter Club home page Giter Club logo

fishtouch's Introduction

fishtouch

目前仅提供format功能

format:

maven插件,一键生成多环境配置(包括环境目录创建),生成assembly文件(用于打包),生成pom文件示例文件,生成run.bat\run.sh文件

使用方式:

pom文件配置:

     <build>
        <plugins>
            <plugin>
                <groupId>top.ivan.fishtouch</groupId>
                <artifactId>format</artifactId>
                <version>0.2.0</version>
                <configuration>
                    <environment>
                        <envs>dev,test,xa</envs>
                        <relative>../profiles</relative>
                    </environment>
                </configuration>
            </plugin>
         ...
         </plugins>
      </build>

maven配置见pom.xml.example

插件生成的目录结构:

image

多环境配置:

例: application.yml

xxx.value: @testValue@

可在对应的 profile/${dev}/profile.properties或${rootPath}/profile/${dev}/profile.properties文件中填入配置:

testValue="foo"

image

打包

打包命令(根据需要自行添加参数,需配合"make-assembly:package"插件使用,详细参数可见动态生成的pom示例文件):

mvn install -P${dev}

fishtouch's People

Contributors

q1006608006 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.