Giter Club home page Giter Club logo

maven-svn-plugin's Introduction

Usage

A Maven plugin to support:

  • Updating svn:externals to point to the SCM Url of a given dependency.
  • This can be used to update the svn:externals property while performing a release. This ensures that the project tag is reproducible.
  • Print line count statistics for source files.
  • This can be the full line count in HEAD or the lines added since a given revision.

Build or Download

Dependency Projects: hbc-maven-core
Available in Nexus: http://repo.hardisonbrewing.org
Continuous Integration: Bamboo Status

Updating svn:externals

During a release, add svn:prepare-externals to the <preparationGoals/>, and svn:update-externals to the <completionGoals/>.

The svn:externals are updated by taking the SCM url from the released POM of the dependency. The released POM will be pointing to the tag location, so this is what will be used.

<plugin>
  <artifactId>maven-release-plugin</artifactId>
  <extensions>true</extensions>
  <configuration>
    <preparationGoals>verify svn:prepare-externals</preparationGoals>
    <completionGoals>svn:update-externals</completionGoals>
  </configuration>
</plugin>

The dependency to update with should be listed under the plugin configuration.

<plugin>
  <groupId>org.hardisonbrewing</groupId>
  <artifactId>maven-svn-plugin</artifactId>
  <extensions>true</extensions>
  <configuration>
    <externals>
      <external>
        <path>core</path>
        <dependency>
          <groupId>net.hardisonbrewing</groupId>
          <artifactId>komodododo-core</artifactId>
          <version>1.0.45</version>
          <type>pom</type>
        </dependency>
      </external>
    </externals>
  </configuration>
</plugin>

License

GNU Lesser General Public License, Version 3.0.

maven-svn-plugin's People

Contributors

martinmreed 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.