(semi-OT) using maven for django,rails, ...?

2012-10-22 Thread Kristian Rink
Folks; we're internally using maven in order to build our Java EE backend apps. Have been doing so exclusively for quite a while now. Right now, we intend to play with JRuby On Rails as in one situation thish seems sane. So by now I wonder whether / how maven can be used to, say, manage, buil

(semi-OT) using maven for django,rails, ...?

2012-10-22 Thread Kristian Rink
Folks; we're internally using maven in order to build our Java EE backend apps. Have been doing so exclusively for quite a while now. Right now, we intend to play with JRuby On Rails as in one situation thish seems sane. So by now I wonder whether / how maven can be used to, say, manage, buil

Re: assembly / jar-with-dependencies:

2011-02-07 Thread Kristian Rink
Hi Wayne, all; ... and first off, thanks a bunch for getting me sorted out. Am Fri, 4 Feb 2011 16:37:32 -0500 schrieb Wayne Fay : > Are you sure the Apache Tika jar that you've got in your repo is a > valid jar file? Can you open it with jar -xf and make sure? I'd > suspect there is a problem w

assembly / jar-with-dependencies:

2011-02-04 Thread Kristian Rink
Folks; after using assembly / jar-with-dependencies in many internal cases so far in order to quickly build "fat", runnable jar files, at the moment I happen to be completely stuck with this. The project to be built is a .jar artifact, having jcouchdb, apache tika 0.8 and a few other dependencies

assembly / jar-with-dependencies:

2011-02-04 Thread Kristian Rink
Folks; after using assembly / jar-with-dependencies in many internal cases so far in order to quickly build "fat", runnable jar files, at the moment I happen to be completely stuck with this. The project to be built is a .jar artifact, having jcouchdb, apache tika 0.8 and a few other dependencies

assembly / jar-with-dependencies:

2011-02-04 Thread Kristian Rink
Folks; after using assembly / jar-with-dependencies in many internal cases so far in order to quickly build "fat", runnable jar files, at the moment I happen to be completely stuck with this. The project to be built is a .jar artifact, having jcouchdb, apache tika 0.8 and a few other dependencies

Re: war:exploded or alternatives?

2010-05-12 Thread Kristian Rink
Am 12.05.2010 09:53, schrieb Stephen Connolly: add an execution bound to the phase you want and put the configuration of that execution in the execution. Well, that's what I thought too, and I figured out that calling war:exploded actually does what I need, with one minor annoyance (which is

war:exploded or alternatives?

2010-05-12 Thread Kristian Rink
Folks; in some cases, we're deploying webapps built as .war files manually to some application server, but in some structure, I'd like to, after install:install has finished, automatically unpack them to some given webapps folder for a local jetty installation for the sake of zipping / deploy

Re: war artifacts: copying dependent .jars elsewhere instead of bundling them?

2009-09-21 Thread Kristian Rink
Anders Hammar schrieb: > You can have one project with a primary artifact (including all > dependencies) and an extra artifact (w/o deps) using a classifier. I don't > think you should worry about have many artifacts. If you do that, then you > will have problems with maven...:-) I see. :) So by t

Re: war artifacts: copying dependent .jars elsewhere instead of bundling them?

2009-09-21 Thread Kristian Rink
Hi Anders; and first, thanks a bunch for your comments, much appreciated. :) Anders Hammar schrieb: > I think you should have scope 'provided'. Your use case is what that's for. Yes, that's what I thought as well, but, well, it's not always the case - we're using the same app code base for vario

war artifacts: copying dependent .jars elsewhere instead of bundling them?

2009-09-21 Thread Kristian Rink
Folks; maybe a strange use case again, however: We're using maven2 along with Spring and some other libraries included to build web applications, deployed to .war files, usually deployed to contain all the dependent .jars in WEB-INF/lib. While this is good in most situations, we found that in one

multi-module pom: "do something after build"?

2009-03-26 Thread Kristian Rink
Folks; maybe a strange question: At the moment I am dealing with a project containing several 's to be built, including a couple of .jar and a couple of .war artifacts. In order to have the .war artifacts (.war) deployable to an application server, I want to configure my project to, after everythi

setting up maven2 projects with SVN?

2008-10-23 Thread Kristian Rink
Thanks in advance and best regards, Kristian -- Kristian Rink cell: +49 176 2447 2771 business: http://www.planconnect.de personal: http://pictorial.zimmer428.net "we command the system. calling all recievers. we are noisy people for a better living". (co

Re: Advice on dealing with hostility to Maven 2

2008-10-21 Thread Kristian Rink
27;t have to explain too much - no custom build scripts, no custom modified build.xml files including all sorts of "black magic", just a rather straightforward mechanism pretty easily usable by anyone who manages to build a maven2 project... Just my $0.02 of course... Kristian -- Kristian

local repositories on pom.xml and "relative folders"?

2008-10-20 Thread Kristian Rink
Folks; in a given environment I want to have a structure like this: - ./dev/projects/ -- maven2 artifacts - ./dev/repo/ -- maven2 project specific repository Given that in this case the maven2 repository should be specific to each , I would, in each 's parent pom.xml, refer to so

local repositories on pom.xml and "relative folders"?

2008-10-20 Thread Kristian Rink
Folks; in a given environment I want to have a structure like this: - ./dev/projects/ -- maven2 artifacts - ./dev/repo/ -- maven2 project specific repository Given that in this case the maven2 repository should be specific to each , I would, in each 's parent pom.xml, refer to so

war artifacts: different dependency types per different profiles?

2008-09-08 Thread Kristian Rink
Folks; I do have a set of war artifacts containing a bunch of dependencies each, and I want to be able to - deploy them as part of an ear, by then having each of the dependencies used as "provided", assuming the dependent jars come along with the ear module itself, and - deploy them as "standalo

library management in EAR packaged modules?

2008-09-04 Thread Kristian Rink
to different .war modules. Is something more or less similar to that possible? How to do this in the "best" way? How do you handle things like this? Thanks in advance and best regards, Kristian -- Kristian Rink cell: +49 176 2447 2771 business: http://www.planconnect.de personal: h

Re: handling .jars not in public repositories?

2008-07-15 Thread Kristian Rink
d then use the build-helper plugin to attach >> the jar file. Is any of the two approaches to be preferred in the given use case? Personally, from my current point of knowledge, though, I'd go for antrun simply because so far I have never disabled a plugin in maven2 and am not sure I know how t

handling .jars not in public repositories?

2008-07-15 Thread Kristian Rink
doesn't seem pleasant in situations in which, in example, the NetBeans maven2 integration is used so a plugin definitely would be a better approach... Thanks in advance for any hints, best regards. Kristian -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMA

Re: replace content (properties file) of deployed artifacts for custom purposes?

2008-07-14 Thread Kristian Rink
ine things like "build.startDate" to be automatically included in there: http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files Cheers, Kristian -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445

Re: global exclusions?

2008-07-11 Thread Kristian Rink
Wendy Smoak schrieb: >> Asides from declaring >> dependencies which effectively state what is needed, is there a way to >> also declare "global exclusions" to, regardless of artifacts included, >> state what artifacts _not at all_ to include? > > I believe you'll still have to do the excludes, bu

Re: EJB Jar packaging

2008-07-11 Thread Kristian Rink
bly:assembly / jar-with-dependencies to do this job. Compared to ant-based projects (using NetBeans...) it surely is different (as it explodes the dependencies right to the jar to be deployed rather than simply adding them), but it seems to do the job... Cheers, Kristian -- Kristian Rink * http://z

global exclusions?

2008-07-11 Thread Kristian Rink
Folks; in my environment, I do have a parent pom all my projects do inherit from. This parent pom is used, among other things, to keep global dependencies. My question on that, however: Asides from declaring dependencies which effectively state what is needed, is there a way to also declare "globa

Re: Jboss plugin configuration with Maven2Problem

2008-06-27 Thread Kristian Rink
my .m2/settings.xml like this: [...] default foo foobar [...] Maybe this is what you need here as well? Cheers, Kristian -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++

ejb packaging: include depending jars?

2008-06-19 Thread Kristian Rink
Folks; using maven along with NetBeans IDE, I found the following situation: - Creating a NetBeans (ant) EJB project that includes external jars, I see these dependencies added as jar files to the ejb jar while building it. - Creating a maven project of packaging type ejb, I see dependencies are

Re: exec:exec with "pom" artifact?

2008-06-19 Thread Kristian Rink
Am Thu, 19 Jun 2008 11:53:53 +0200 schrieb Dirk Olmes <[EMAIL PROTECTED]>: > I'm quite sure that this is not what you want. If you want to perform > some task at the end of the build, add a module (which can have a POM > of packaging pom as well) and do the necessary steps there. Declare > the pr

exec:exec with "pom" artifact?

2008-06-19 Thread Kristian Rink
Folks; so far I make use of a "pom" artifact having several modules configured in order to ease building projects depending upon each other. Right now, the last of these modules is a "war" artifact which, after building all modules, I would like to deploy to some server (using exec:exec and the "a

Re: Unit tests seeing test application context files in their dependencies

2008-06-17 Thread Kristian Rink
Am Tue, 17 Jun 2008 03:39:19 -0700 (PDT) schrieb Papapara Tudu <[EMAIL PROTECTED]>: > The test application context in the dependency is located in the > /src/test/resources folder in its project > (in the project I'm writing the tests for, my app context is in > /src/test/resources also). I see..

Re: Unit tests seeing test application context files in their dependencies

2008-06-17 Thread Kristian Rink
Hi there; Am Tue, 17 Jun 2008 03:13:02 -0700 (PDT) schrieb Papapara Tudu <[EMAIL PROTECTED]>: > My application context uses some beans from a different application > context which is located in one of its dependencies. Looking at your terminologies and file snippets: Are you using Spring in you

Re: How to execute a script in maven2 ?

2008-06-05 Thread Kristian Rink
Nicolas; Am Thu, 5 Jun 2008 07:20:04 -0700 (PDT) schrieb "nicolas.duminil" <[EMAIL PROTECTED]>: > I need to execute a script (bat, cmd, sh, etc.) in maven and I don't > find anything. I can execute a Java app but don't know how to launch > a .bat file. Please help. I am doing things like that us

Re: "temporary pom" for building project and dependencies?

2008-06-05 Thread Kristian Rink
David; Am Thu, 5 Jun 2008 09:01:38 +0200 schrieb David Delbecq <[EMAIL PROTECTED]>: > You can create a modules based pom that will build all your projects. > http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation Thanks a bunch, this indeed is quite what I

"temporary pom" for building project and dependencies?

2008-06-04 Thread Kristian Rink
Folks; not sure whether this is a "common" use case, I wonder what's a good way to have the following scenario done. We handle our projects using maven2, and we are used to have things split up: - There's a "core" project (jar) of the application which includes commonly used classes and interfac