On Monday 30 June 2008 Kallin Nagelberg wrote:
> Can anyone tell me what is the best/simplest way to maintain a version
> number across all the poms in a multi-module project?
>
> They are all to be deployed with the same version every time.
Use the maven-release-plugin to release your project. Th
On Tuesday 01 July 2008 Michael McCallum wrote:
> > On Tue, Jul 1, 2008 at 2:58 PM, Martin Höller <[EMAIL PROTECTED]> wrote:
> > > I think I found one BIG problem with your workaround: it only works
> > > if you already have (the latest version of) your WAR's pom.xml file
> > > in the repository, o
Hi,
It turns out that I have to install buckminster first, at least on Windows.
It seems to work without it on Linux.
-
--
Kent Tong
Wicket tutorials freely available at http://www.agileskills2.org/EWDW
Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA
--
View this messa
Isn't that feature enabled automatically? I thought that Maven took care of
the dependencies specified in the POM by passing these over to ProGuard...
It'd be lovely to get this all to work!
Thanks.
On Tue, Jul 1, 2008 at 15:19, Dirk Olmes <[EMAIL PROTECTED]> wrote:
> Mikel Cármenes Cavia wrote:
I was asked privately how to:
"Can you explain what should I do to use db2 jcc library as one
dependency in my maven project? What commands I should execute to gain
such feature?"
Simple, you need to install (into your local repo) or deploy (into your
corporate one, if you have one) the jars
Is there any way to get the assembly id interpolated into a filtered
resource? Or failing that, the execution id? I don't want to create a
separate profile and pass parameters.
-K
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
> On Tue, Jul 1, 2008 at 2:58 PM, Martin Höller <[EMAIL PROTECTED]> wrote:
> > I think I found one BIG problem with your workaround: it only works if
> > you already have (the latest version of) your WAR's pom.xml file in the
> > repository, otherwise maven 2.0.9 reports a missing dependency.
> >
>
Think about poms and dependendencies in the same way you would a piece of OO
code. You should use inheritance, composition and aggregation appropriately
to reduce change and improve stability. Don't make the mistake of thinking
that inheritance is the only solution.
On Tue, 01 Jul 2008 23:39:51
Hi all, I would like to define a ant task in a AntRun plugin configuration
that isn't tied to any phase. I would like to be able to invoke it from the
command line with mvn antrun:run. Is this possible? I haven't been able to
get it working.
Thanks,
Elliot
--
View this message in context:
ht
This is the error I get when I try to precompile my project with the mojo
JSPC plugin by codehaus.
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] JSPC Erro
+1
I also could not find out which repo maven would try first and which one
after that, etc. It would be nice to make this behaviour more transparant.
Martin Gilday wrote:
>
> Hi,
> I have just added the Clover 2 plugin to my POM and now Maven keeps
> attempting to download Doxia jars from
> h
After some more digging, I notice that I can replace MavenCli with a custom
implementation in /bin/m2.conf that I could use to manually create
an instance of ProfileManager that does what I want. Is this the only way
to accomplish what I need? I was hoping to be able to inject an instance of
my
On Mon, Jun 30, 2008 at 7:47 PM, <[EMAIL PROTECTED]> wrote:
> I remove the version from all of the module poms entirely and just have
> the multi module build pom have it. It works for me.
How do you handle the version in the section?
What about inter-module dependencies, do you use the depend
Mikel Cármenes Cavia wrote:
I actually managed to get past this error, I shamelessly forgot to take care
of my ProGuard parameters. My POM now looks includes all of the pertinent
options, however, I continue to get errors, and I really have no clue what
they mean:
Here they are:
[proguard] War
I'm looking for a good way to surface external properties to Maven. For the
sake of brevity, these properties aren't in profiles.xml format but are in a
proprietary format. I was thinking I could create Profile instances as I
see fit and populate them such that the properties are available at ru
And you can just stick the "file" with the list of allowed dependencies in
the repo and pass it as a dependency to your plugin in the config. Nobody
can fool with it there so its better than putting it in the source
repository (e.g. SVN, CVS). And its easier than trying to put it on a whole
'nother
Hi,
I really don't know what is happening here:
There is a file META-INF/persistence.xml as well in
src/test/resources
as in
src/main/resources
But when I execute "mvn test" in the UBI-ALS-NG/UBI-ALS-NG-datamodel folder
the wrong persistence.xml
is loaded, i.e. the one in src/main/resources.
Ok, it just seemed to be because the output is very weird:
>>> [INFO] Searching repository for plugin with prefix: ' -X install'.
>>> [INFO] org.apache.maven.plugins: checking for updates from central
>>> [INFO] org.codehaus.mojo: checking for updates from central
>>> [INFO] artifact org.apache.m
Well, that's what Grouper is, but Signet is also a non-Maven project.
I created pom files for each of them, though, and specified them in my
install:install-file command.
And yet, I only get the warning on Grouper.
** I just figured it out! *
The pom file for Grouper has the wrong g
Thank you, for your rapid answer.
I guess it´s not the problem. These options only shows a more
detailled error message. The build error is the same without these options.
Any other idea?
Stefan Seidel escribió:
hi,
the problem seems to be your -X. Try without -e and without -X.
S
On Mon, 2008-06-30 at 18:27 -0500, Kathryn Huxtable wrote:
> Correct. I have several Internet2 projects which are not currently in
> any repository except my local one. They, in turn, have dependencies.
>
> Of these, only the Grouper project gives me the warning.
>
> -K, who will go over the Gr
My workaround is more a hack that something else.
It's not really logical to have in a project to dependencies to a pom and a
war of a same artifact.
This is certainly a bug in the core of maven which doesn't support it :-(
I'm trying to see how I can change the ear plugin to fix this issue.
Arnau
Hi,
If you want to add a link in the menu of the site generated by maven, you
could add the file site.xml under src/site/site.xml with something like the
following content :
Have a look at http://maven.apache.org/guides/mini/guide-site.html or "The
Maven Definitive Guide"
Hey thanx...
Its working but then to tell u we need to add one more property in configuration
default
Then it will work... :)
Here is my pom configuration for the same:
org.codehaus.cargo
cargo-maven2-plugin
0.3.1
false
Hi Oliver,
oliver.maven wrote:
> hi,all
>
> my Maven libraries container found a dependency ,which is asm-1.5.3.jar,it
> is automatically added by other dependency transitivly.
>
> but the version is to low caused a ClassNotFound exception at runtime,
>
> i can not add a new asm dependency by
Hi Arnaud!
I think I found one BIG problem with your workaround: it only works if you
already have (the latest version of) your WAR's pom.xml file in the
repository, otherwise maven 2.0.9 reports a missing dependency.
So this approach is not useable with the maven-release-plugin :-(
I made up
Hi I have installed same on eclipse3.2.1.So, if u need any help regarding that
then do let me know.
Cheers!
Renu
-Original Message-
From: Kent Tong [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2008 2:37 PM
To: users@maven.apache.org
Subject: m2 eclipse plug installation problem
Hi
hi,
the problem seems to be your -X. Try without -e and without -X.
Stefan
María Isabel López Sánchez-Huete wrote:
Hí,
I'm a beginner in this matter, and I'm lost. I expect somebody can
help me.
I´m trying to install dspace 1.5 on Solaris 10 in a SPARC computer.
I read the
I'm not sure, I think I had this error before, but can't remember what
the problem was. YOu could try with version 0.3.1 of the plugin, I had
some troubles with the latest. Here's my config for reference:
false
jboss4x
...
Hí,
I'm a beginner in this matter, and I'm lost. I expect somebody can
help me.
I´m trying to install dspace 1.5 on Solaris 10 in a SPARC computer.
I read the installation documentation, and follow the steps.
My problems is about installing the oracle library ojdbc14.jar.
Hi,
we got a software, which is devided into serveral sub projects.
We defined a parent pom, that, besides other shared items, contains a
dependency management section to ensure all sub projects are using the same
dependencies. Also, as the "software" we are talking about is actually a
website, th
Unfortunately even after adding the tags I m getting following error:
[INFO] [stalledLocalDeployer] Deploying [F:\Documents and
Settings\rvgupta\MavenProjects\Cargo+JBOSS-Trial\simple-webapp\target\simple-webapp.war]
to [E:\Softwares\jboss-4.0.5.GA\s
erver\default/deploy]...
[INFO] [talledLoca
On Tue, Jul 1, 2008 at 9:07 AM, Andrei Ivanov <[EMAIL PROTECTED]> wrote:
> On 7/1/08, Stephen Connolly <[EMAIL PROTECTED]> wrote:
>> Option 1.
>>
>> a shell script/batch file that just does
>>
>> mvn plugin1:goalA plugin2:goalB plugin3:gaolC
>>
>> This is especially handy if some of the goals
Two remarks:
- the tag doesn't have a name attribute, it should be:
SUB SUB TITLE 1.3.1 bla bla...
- the should enclose the whole block it contains, just like
section:
bla bla...
SUB SUB TITLE 2.3.1
SUB SUB TITLE 2.3.2
SU
Hi,
if there´s someone who´s using Base ClearCase with Maven:
How do you release your multi-module Builds with all the actually given
limitations like
- only one loadrule in Auto-generated configSpec
- checking out from a tag is currently not supported
- branch types aren´t supported
- http://j
I have a need to run the compile goal multiple time during the compile
phase. Also each of this run has to use different dependencies. Is
this doable? I couldn't find documentation on this topic. I need
something like this -
maven-compiler-plugin
Hello,
The indentation of the result of toc macro doesn't work
I create a simple example and if you look the result you can see that
has soon the h4 tag is reach the toc doesn't indent correctly.
Any Idea ?
Olivier
me
title
Hi,
I have just added the Clover 2 plugin to my POM and now Maven keeps
attempting to download Doxia jars from
http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/doxia-site-renderer-1.0-alpha-7.jar.
I already have an internal Nexus repository whi
Hi,
I am trying to install the m2 eclipse plug into Eclipse 3.4 (Ganymede), but
it fails and says that there are unmet dependencies. I've selected only
the minimal maven eclipse integration. Any idea?
Thanks in advance!
-
--
Kent Tong
Wicket tutorials freely available at http://www.agilesk
hi,all
my Maven libraries container found a dependency ,which is asm-1.5.3.jar,it is
automatically added by other dependency transitivly.
but the version is to low caused a ClassNotFound exception at runtime,
i can not add a new asm dependency by using m2eclipse,because the asm
dependency alr
You're welcome. You need to add the start and stop executions to the
plugin definition:
start-container
generate-test-resources
start
sto
doh! I should have thought of that. :)
Thanks
2008/7/1 Minto van der Sluis <[EMAIL PROTECTED]>:
>
> Hi Ishaaq,
>
> I am not sure but it seems like the dependency plugin is a good candidate
> to
> look at. Looking at the output of dependency:tree it shows scope informatie
> as well.
>
> regards,
Hi Ishaaq,
I am not sure but it seems like the dependency plugin is a good candidate to
look at. Looking at the output of dependency:tree it shows scope informatie
as well.
regards,
Minto van der Sluis
Ishaaq Chandy wrote:
>
> ok, will give it a go - any pointers on the API I should be looki
On 7/1/08, Stephen Connolly <[EMAIL PROTECTED]> wrote:
> Option 1.
>
> a shell script/batch file that just does
>
> mvn plugin1:goalA plugin2:goalB plugin3:gaolC
>
> This is especially handy if some of the goals should only be run on
> the local directory while others need to run throughout
ok, will give it a go - any pointers on the API I should be looking at in
order to determine an artifact's scope? I'm not scared of trawling through
maven's source code myself, but a helpful pointer in the general direction
would be appreciated.
Thanks,
Ishaaq
2008/7/1 Stephen Connolly <[EMAIL PR
Option 1.
a shell script/batch file that just does
mvn plugin1:goalA plugin2:goalB plugin3:gaolC
This is especially handy if some of the goals should only be run on
the local directory while others need to run throughout the tree, the
script can invoke maven multiple times with and without t
I would think that you should be able to do that from an enforcer rule...
Of course I have not tried...
But if you need those kind of changes in enforcer, that would be a lot
quicker to get than changes to Maven's core...
Plus, such a custom rule would be of use to not just commercial
projects,
that would possibly work if there is a way for the enforcer to retrieve
scope information from the artifact - is this possible?
Is it also possible for transitive dependencies, i.e., will the enforcer let
me allow the same artifact to go through when using it as a transitive dep
of a test-scope ar
Hello,
I'm a Maven newbie and I'm having some difficulties understanding some
concepts, so I hope you can help me...
In an Ant build.xml, I could create a target in which I could call tasks:
I've read about the lifecycle concepts of Maven, and I know that a
plugin has one or more goals a
49 matches
Mail list logo