Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running <script> tag on every goal task. #62

Open
proofit404 opened this issue Jan 6, 2013 · 0 comments
Open

Running <script> tag on every goal task. #62

proofit404 opened this issue Jan 6, 2013 · 0 comments

Comments

@proofit404
Copy link

Hello. I have following maven configuration (full version of pom.xml is here):

<!-- <packaging>clojure</packaging> -->
<packaging>jar</packaging>
...
<plugin>
  <groupId>com.theoryinpractise</groupId>
  <artifactId>clojure-maven-plugin</artifactId>
  <version>1.3.10</version>
  <!-- <extensions>true</extensions> -->
  <configuration>
    <script>src/main/clojure/proxy/main.clj</script>
  </configuration>
  <executions>
    <execution>
      <id>compile</id>
      <phase>compile</phase>
      <goals>
        <goal>compile</goal>
      </goals>
    </execution>
    <execution>
      <id>test</id>
      <phase>test</phase>
      <goals>
        <goal>test</goal>
      </goals>
    </execution>
  </executions>
</plugin>
...

I try to remove block and use clojure packaging together with block. The problem is the same. When I call commands below main.clj always run and wait for user stop him.

Commands I try:

  • mvn package
  • mvn clojure:repl
  • mvn test

And on mvn clojure:run its run as necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant