Clojure and Maven

2014-06-13 Thread Mark Watson
Hey guys, New to Maven and need to convert my leiningen project to Maven to integrate with TeamCity. I can run: mvn clean install and it builds the .jar file. However, when I try to run the jar file: java -jar target/my-app-jar-with-dependencies.jar I get the error: Error: Could not

Re: Clojure and Maven

2014-06-13 Thread Atamert Ölçgen
Not sure if this would help; but there's a `lein pom` command. I've just run it on a project and it seems to produce a somewhat different pom. On Fri, Jun 13, 2014 at 3:34 PM, Mark Watson mkw5...@gmail.com wrote: Hey guys, New to Maven and need to convert my leiningen project to Maven to

Re: Clojure and Maven

2014-06-13 Thread Mark Watson
Oh, and I have a function: (defn -main []...) In my-namespace.core -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with

Re: Clojure and Maven

2014-06-13 Thread Alex Miller
Not sure if this is the only thing to change, but : mainClassmy-namespace.core/mainClass should be: mainClassmy_namespace.core/mainClass While Clojure uses -'s in namespace names, they are always _'s in the output package/class names. On Friday, June 13, 2014 10:34:54 AM UTC-5, Mark

Re: Clojure and Maven

2014-06-13 Thread Mark Watson
Ah, forgot about that. Still having the same issue with that resolved unfortunately. On Friday, June 13, 2014 12:08:00 PM UTC-4, Alex Miller wrote: Not sure if this is the only thing to change, but : mainClassmy-namespace.core/mainClass should be:

Re: Clojure and Maven

2014-06-13 Thread Mark Watson
Ah, forgot about that. Still having the same issue with that resolved unfortunately. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please

Re: Clojure and Maven

2014-06-13 Thread Mark Watson
There are no .class files in my jar I assume some file-path is messed up, I just can't figure out where. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are

Re: Clojure and Maven

2014-06-13 Thread henry w
Hi mark, I am curious about why you need to convert. I am thinking of using TC again myself soon. Currently in hudson I just do lein commands and use lein test-out plugin so the test reports can be shown as they would do from junit tests. you could do the same with TC or failing that have a

Re: Clojure quickstart maven archetype

2009-09-09 Thread Fredrik Appelberg
javadocs anywhere and had to go through a lot of trial and error before I got classloading working. And running clojure inside the maven process wasn't really a serious design decision; it just seemed a lot easier than spawning a child process ;) BTW, you mentioned the official maven clojure repo

Re: Clojure quickstart maven archetype

2009-09-09 Thread Scott Fleckenstein
than it ought to be. When I started on Clojureshell I couldn't really find any relevant javadocs anywhere and had to go through a lot of trial and error before I got classloading working. And running clojure inside the maven process wasn't really a serious design decision; it just seemed a lot

Re: Clojure quickstart maven archetype

2009-09-08 Thread Scott Fleckenstein
Thanks Stuart, Just an FYI, I added repl support to the clojure-maven-plugin here: http://github.com/nullstyle/clojure-maven-plugin/tree/master Rather than taking clojureshell's approach, I start a separate process similar to how the rest of the plugin works. In fact, I just needed

Re: Clojure quickstart maven archetype

2009-09-08 Thread Daniel Renfer
an FYI, I added repl support to the clojure-maven-plugin here: http://github.com/nullstyle/clojure-maven-plugin/tree/master Rather than taking clojureshell's approach, I start a separate process similar to how the rest of the plugin works.  In fact, I just needed to refactory the abstract mojo

[ANN] Clojure quickstart maven archetype

2009-09-07 Thread Scott Fleckenstein
out something real. Other notes: - Uses clojure 1.0 and clojure-contrib 1.0-SNAPSHOT from the central maven repo - Uses clojure-maven-plugin 1.0 from the central maven repo - Configured for testing support - Uses appassembler and assembly plugin to build a launcher script and package a distribution

Re: [ANN] Clojure quickstart maven archetype

2009-09-07 Thread Mark Derricutt
Excellent! This was one of the missing pieces I was hoping to pull together next. into your code, and no support fr clojure-maven-plugin clojure:run (it I could change this to check if you mention a .clj or just a class name, and run either-or. Theres also the http://mojo.codehaus.org/exec

Re: Clojure quickstart maven archetype

2009-09-07 Thread Scott Fleckenstein
, I'll figure it out eventually. If I'm able to get a repl goal working, are you open to patches? -Scott On Sep 7, 5:58 pm, Mark Derricutt m...@talios.com wrote: Excellent!  This was one of the missing pieces I was hoping to pull together next. into your code, and no support fr clojure-maven

Re: Clojure quickstart maven archetype

2009-09-07 Thread Mark Derricutt
Most definitely - I did have a repl goal for awhile but had issues with the input/output streams. Looking at my github forkqueue I see someones pulled it back out (or added a new one, I've not yet had a look at it) which might be a starting point for you... But by all means - patches galore are

Re: Clojure quickstart maven archetype

2009-09-07 Thread Stuart Sierra
Also look at the ClojureShell Maven plugin, http://github.com/fred-o/clojureshell-maven-plugin/tree/master which runs a REPL or Swank server. -SS On Sep 7, 10:41 pm, Mark Derricutt m...@talios.com wrote: Most definitely - I did have a repl goal for awhile but had issues with the input/output

Re: Clojure with maven - how to?

2009-08-16 Thread Mark Derricutt
I posted a simple example project to: http://github.com/talios/clojure-maven-example last night which demonstrates the plugin. As I mentioned in a post to this list yesterday theres 3 tags - step1, step2, step3. step1 just has a basic pom and a test, step2 pulls in compojure and a simple

Re: Clojure with maven - how to?

2009-08-16 Thread Christian Vest Hansen
Did you remember to push your tags? (git push --tags) On Sun, Aug 16, 2009 at 9:51 PM, Mark Derricuttm...@talios.com wrote: I posted a simple example project to:   http://github.com/talios/clojure-maven-example last night which demonstrates the plugin.  As I mentioned in a post to this list

Re: Clojure with maven - how to?

2009-08-16 Thread Mark Derricutt
Tags don't push automatically? Never knew that :( As soon as dropbox has synced this laptop I'll push out the tags as well (and I hope they push out old tags, and not just the new ones. Mark -- On Mon, Aug 17, 2009 at 8:46 AM, Christian Vest Hansen karmazi...@gmail.com wrote: Did you

Re: Clojure with maven - how to?

2009-08-16 Thread Mark Derricutt
The tags should be there now, pity github seems to be down now :( -- On Mon, Aug 17, 2009 at 9:22 AM, Mark Derricutt m...@talios.com wrote: Tags don't push automatically? Never knew that :( As soon as dropbox has synced this laptop I'll push out the tags as well (and I hope they push out

Clojure with maven - how to?

2009-08-15 Thread Dragan Djuric
Hi, I've just tried to use clojure-maven-plugin bit do not know how to start. It does not compile anything. I probably have to configure it but haven't found any examples yet. I've also tried maven-pom, which has an example, but am not sure how to make it discover clj files (in the examples

Clojure-Contrib: Maven/Continous Integration

2009-02-23 Thread Howard Lewis Ship
I've added a patch for clojure-contrib so that the clojure-contrib module can build post-checkin, and nightly. I'd really like to see it taken, so I can set up continuous integration on tapestry.formos.com. Basically, we'll be able to have clojure-contrib build after any change to