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
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
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
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
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:
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
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
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
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
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
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
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
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
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
,
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
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
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
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
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
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
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
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
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
23 matches
Mail list logo