Class 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 Detail

      • REPLY_REPLY_MAIN

        private static final java.lang.String REPLY_REPLY_MAIN
        See Also:
        Constant Field Values
      • replScript

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

        private static final java.util.regex.Pattern JLINE
      • ICLOJURE

        private static final java.util.regex.Pattern ICLOJURE
      • REPLY

        private static final java.util.regex.Pattern REPLY
    • Constructor Detail

      • ClojureReplMojo

        public ClojureReplMojo()
    • Method Detail

      • isJLineAvailable

        boolean isJLineAvailable​(java.util.List<java.lang.String> elements)
      • isIClojureAvailable

        boolean isIClojureAvailable​(java.util.List<java.lang.String> elements)
      • isReplyAvailable

        boolean isReplyAvailable​(java.util.List<java.lang.String> elements)
      • isPatternFoundInClasspath

        private boolean isPatternFoundInClasspath​(java.util.List<java.lang.String> elements,
                                                  java.util.regex.Pattern pattern)
      • execute

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