Class ClojureReplMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.theoryinpractise.clojure.AbstractClojureCompilerMojo
com.theoryinpractise.clojure.ClojureReplMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="repl", defaultPhase=TEST_COMPILE, requiresDependencyResolution=TEST) public class ClojureReplMojo extends AbstractClojureCompilerMojo
Mojo to start a clojure repl
  • Field Details

    • REPLY_REPLY_MAIN

      private static final String REPLY_REPLY_MAIN
      See Also:
    • replScript

      @Parameter private String replScript
      The clojure script to preceding the switch to the repl
    • JLINE

      private static final Pattern JLINE
    • ICLOJURE

      private static final Pattern ICLOJURE
    • REPLY

      private static final Pattern REPLY
  • Constructor Details

    • ClojureReplMojo

      public ClojureReplMojo()
  • Method Details

    • isJLineAvailable

      boolean isJLineAvailable(List<String> elements)
    • isIClojureAvailable

      boolean isIClojureAvailable(List<String> elements)
    • isReplyAvailable

      boolean isReplyAvailable(List<String> elements)
    • isPatternFoundInClasspath

      private boolean isPatternFoundInClasspath(List<String> elements, Pattern pattern)
    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException