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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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: ++
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
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
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
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..
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
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
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
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
33 matches
Mail list logo