Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/calavera/maven-mirah-plugin

Plugin to compile Mirah source with Maven
https://github.com/calavera/maven-mirah-plugin

Last synced: about 2 months ago
JSON representation

Plugin to compile Mirah source with Maven

Awesome Lists containing this project

README

        

h2. Maven Mirah Compiler

Plugin to allow to compile Mirah code with Maven.

h3. Usage

# Add the plugin to your pom.xml

...

org.mirah.maven
maven-mirah-plugin


compile
compile



...

# Execute @mvn compile@

h3. Configuration options

Those are the options that can be modified for this plugin, this example shows the
default ones so we just need to modify them into the plugin declaration:

...

src/main/mirah
target/classes
true
false
...

h3. Compile java and mirah source at once

This plugin extends maven-compiler-plugin so it compiles mirah and java code
at once. We don't need to add the compiler plugin to our build.

If the option @bytecode@ is set to @true@, by default, the plugin compiles
the java code before compiling the mirah code, but if we set that option to
@false@ the plugin generates the java source code from the mirah code first
and the compiles all the java source code.