An open API service indexing awesome lists of open source software.

https://github.com/fizzed/maven-plugins

Collection of Maven plugins useful for gettin 'er done
https://github.com/fizzed/maven-plugins

Last synced: about 1 year ago
JSON representation

Collection of Maven plugins useful for gettin 'er done

Awesome Lists containing this project

README

          

# Maven Plugins by Fizzed

[![Build Status](https://travis-ci.org/fizzed/maven-plugins.svg)](https://travis-ci.org/fizzed/java-maven-plugins)

## Overview

Collection of Maven plugins for various tasks.

## Sponsorship & Support

![](https://cdn.fizzed.com/github/fizzed-logo-100.png)

Project by [Fizzed, Inc.](http://fizzed.com) (Follow on Twitter: [@fizzed_inc](http://twitter.com/fizzed_inc))

**Developing and maintaining opensource projects requires significant time.** If you find this project useful or need
commercial support, we'd love to chat. Drop us an email at [ping@fizzed.com](mailto:ping@fizzed.com)

Project sponsors may include the following benefits:

- Priority support (outside of Github)
- Feature development & roadmap
- Priority bug fixes
- Privately hosted continuous integration tests for their unique edge or use cases

## Watcher (fizzed-watcher-maven-plugin)

Ever wish Maven could run a specific command if any files in your project change? Some IDEs
have their own features to do X if a file changes, but they usually don't take your full Maven
project file into account. Problem finally solved with the Watcher Plugin for Maven. Add to your
Maven project file and fire it up in a new shell. Maven will continuously and recursively
watch any number of configured directories and then execute a series of goals if a file change
is detected. Just like if you typed it on the command-line! We use it at Fizzed across a bunch
of projects, but mainly our web projects -- where we want a full compile run any time our Java
code, resources, or templates change. Works especially well from a project parent to watch any
of your sub modules too.

To assist in using this plugin to trigger other workflow/plugins, v1.0.6 added
a feature to "touch" a file upon successful execution of the maven goal(s).

To use add the following to your POM:

```xml


...

com.fizzed
fizzed-watcher-maven-plugin
1.0.6

target/classes/watcher.txt


core/src/main/java


ninja/src/main/java



compile
process-classes


optional-profile-to-activate



...

```

Each watch entry may also contain include and exclude properties as well as
enabling/disabling of recursively watching a directory. Here is an example of
watching a directory, but excluding files with a suffix of *.html.

```xml

src/main/java
*.html

```

You may add any number of exclude and include entries. The recursive property
can be set to true/false to disable/enable recursively watching a directory.

By default this maven plugin does NOT attach to a lifecycle -- since it is
essentially a daemon that runs forever. Usually, you'll run this in a separate
shell and run via:

```bash
mvn fizzed-watcher:run
```

## Versionizer (fizzed-versionizer-maven-plugin)

Maven plugin that generates a Java source file containing artifact
version info. This is compiled and included with the final artifact.
An alternative to using Jar manifest files for extracting version info
from a library. The directory the file is output to is also added to your
project as a directory containing Java sources (and will be automatically
picked up during the compile phase).

To use add the following to your POM:

```xml


...

com.fizzed
fizzed-versionizer-maven-plugin
1.0.6


generate-version-class

generate


com.fizzed.examples.helloworld




...

```

By default this will generate a Version.java source file in:

${project.build.directory}/generated-sources/versionizer

## Play (fizzed-play-maven-plugin)

Maven plugin that does a best-effort compile of PlayFramework 2.x templates
(file.scala.html) into a Java source file. This plugin is primarily a hack
to make Netbeans function to code complete PlayFramework projects using a pom.xml
file.

Templates are generated to ${project.build.directory}/generated-sources/play-templates

To use add the following to your POM:

```xml


...

com.fizzed
fizzed-play-maven-plugin
1.0.6


best-effort-play-template-compiler
generate-sources

template-compile




...

```

## License

Copyright (C) 2015 Fizzed, Inc.

This work is licensed under the Apache License, Version 2.0. See LICENSE for details.