Hi,
I have a situation where the build hangs when I use the gpg plugin in
conjunction with the
release plugin when issuing a mvn release:prepare command. Here's where it
hangs in the
build:
[INFO] [clean:clean]
[INFO] Deleting directory
/home/akarasulu/projects/apache/directory/1.0-with-d
I'm not looking from a developer's perspective,i'm looking from a build team
perspective...Dev teanm continously submits new/updated files and I need to
deploy it into the application.I've identified the process that i can
implement using Maven-Continnum...I'll list the process...correct me or
if it looks like a hack, sounds like a hack, smells like a hack...
what's your specific use case for this? it seems like you'd probably
be better off with a design change than relying on classpath ordering.
On 5/23/07, Steven Cummings <[EMAIL PROTECTED]> wrote:
Hello,
I looked in the archives
As I understand it, ordering of modules in the pom.xml file has nearly
nothing to do with the way the pom is processed by Maven, so that
assumption is incorrect. Maven should automatically find all your poms
(assuming modules are declared) and resolve the proper graph that will
allow it to success
IIRC, Maven will use the "nearest" version. In this case, if you're
building D, C is closest which means A-2 will win. (If you test and
find this is not the case, please reply back so we can perhaps analyze
your poms a little more closely.)
Ideally you'd declare a direct dependency on A (A-1 or A
Hi Tyler,
I use RAD 7, but our .project is part of our archetypes and we are using
the M2Eclipse plugin which creates a classpath container instead of
individual classpath entries. Aside from this I don't see any major
differences. I ran eclipse:rad and compared the output to the orginal
.project
Dennis, thanks for the tip. Kinda obvious too...damn...
Okay, so can someone tell me what I need to do to FORCE it to use junit4? I
specific junit-4.0 in my dependencies (scope is "test"). My parent dom of
the whole project has surefire plugin version set to 2.3. I mean what else
do I have to
It looks like junit 3.8 is still being used. The reason the method name prefix
with 'test' will be called by the older version. The annotation is probably
ignored. Change the name of the test method to another prefix, and I bet it
will not be executed.
Alexander Sack <[EMAIL PROTECTED]> wrot
Btw, considering that @Test works, I'm pretty positive I'm using 2.3 at this
point. The only issue is the @Before seems to never get called.
Anyone run into this before?
-aps
On 5/23/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
Tom,
Thanks sorry. Yes I have specified in my root POM surefi
Hi Everyone,
I'm running the maven-clover-plugin with the instrument goal on a pom that
has modules. The plugin fails on the ear project because it does not
contain java files. Can I pass an exclude argument to the clover plugin
to skip this child project?
Thanks,
David
Getting back to my original question, how can I set the password outside of
the POM?
On 5/21/07, Jon Strayer <[EMAIL PROTECTED]> wrote:
I'm getting this error when I try to update my project:
[ERROR] No CVS root is set. Check your information in the
POM.
Where in the POM do I set the CVS Root
Hello,
I looked in the archives before posting and the closest thing I could find
to my particular situation is all of the messages surrounding
http://jira.codehaus.org/browse/MNG-1412 (the ordering of the dependencies
on the classpath).
I need a specific class to hide another that is in a neede
Tom,
Thanks sorry. Yes I have specified in my root POM surefire-plugin 2.3 but
not in my submodule one (I will try that right now). The test ource is the
one straight out of the FAQ regarding the colleciton, very simple test,
passes on 3.8.1 but fails when I move up to 4.0 using the surefire pl
would you mind sharing some more information ? POMs, exceptions, test
source, -X output ?
As a general remark: make sure you have the latest surefire plugin...
Tom
On 5/23/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
Hey folks, is this a known issue that if I use @Before it will fail my
test
Hey folks, is this a known issue that if I use @Before it will fail my
test? I searched some of the archives and saw some threads go by about
this. Is this still an issue?
Thanks!
-aps
--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Wa
I'm having trouble building a multi-module project structured as below:
top
|-- pom.xml
|-- mod1
||-- pom.xml
||-- mod1A
|| |-- pom.xml
|| `-- src
||-- mod1B
||-- pom.xml
|`-- src
|-- mod2
| |-- pom.xml
| `-- src
`src...
A
Alex Karasulu ha scritto:
> Hi,
>
> Just wondering if there is a POM directive that I can use to enforce the
> use
> of a
> specific version of maven for it's modules to be built. Over at Apache
> Directory
> we have run into situations where users are trying to build old tagged
> releases
> with
Has anyone had any luck getting mvn eclipse:rad to successfully generate RAD
7 project files? If so, are there any special tricks that where needed to
get it to work?
Thanks,
Tyler
I know dependency management is inherited from parents, but is it also
used when the project is declared as a dependency of another project?
For example, lets say I have a dependency graph D->C->B->A. B depends on
A-1. C's dependency management section is set to use A-2. Assuming D
does not declar
I added a comment
http://jira.codehaus.org/browse/MNG-2695
I noticed an issue w/ regular SNAPSHOTs dependencies (not tested with
-SNAP plugin) in maven 2.0.6
used to work in 2.0.4
-Matthias
On 3/29/07, Joerg Hohwiller <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
We need the version of the changelog plugin and the scm plugin too.
Emmanuel
Wayne Fay a écrit :
I'm not really sure what's going on -- I haven't used CVS in a while,
just SVN. What OS and what CVS client software are you running?
And please send the section of your pom as well. Perhaps someo
I am looking to migrate Hibernate to use Maven for building. I am
currently running into a problem porting the Hibernate testsuite. The
Hibernate testsuite is mainly a bunch of functional and integration
tests and not really unit tests per-se. But it is built on top of
Junit.
Anyway, the proble
This project your describing sounds like a proof-of-concept (either that, or
names have been changed to protect the innocent...)
Would it be possible for you to attach your sample setup in zip format to a
new JIRA issue under:
http://jira.codehaus.org/browse/MASSEMBLY
then point me at it, so I
I'm not really sure what's going on -- I haven't used CVS in a while,
just SVN. What OS and what CVS client software are you running?
And please send the section of your pom as well. Perhaps someone
else who is using CVS will notice something (obviously) wrong with
your configuration. ;-)
Wayne
I've been working on some plugins to support make orchestration. They're
currently at a new project @codehaus called native-mojo:
http://svn.codehaus.org/native-mojo/c-builds
Right now, IIRC they have some bits that are specific to maven 2.1/trunk,
but we could branch it and factor those out for
http://mojo.codehaus.org/exec-maven-plugin/usage.html
Through embedding shell scripts/Make into Maven is not generally condoned,
since it is easy to break portability. It's a good way to get started
quickly (like the antrun plugin), but not a long-term solution.
Eric
On 5/23/07, Dennis Cook <[E
Most of the code that makes up my projects is java. However, there is a
smattering of 'C' for drivers and JNI support, this is now compiled using make
to invoke the compilers. I also have a shell script (executed from the make)
that creates a linux FS image that contains all my compiled code.
On 5/23/07, ossi petz <[EMAIL PROTECTED]> wrote:
i know how to add a non-free (commercial) jar into a local repository. i
use deploy:deploy-file to achieve this:
...
how can i add the sources to this jar file? (packed in core-2.0.0.zip)
is there some other packaging type? (i havent found the
Maven-enforcer-plugin. The discussions where on the dev list, if you search for
the votes on the enforcer plugin, there are some nabble links to the
discussions.
-Original Message-
From: Roland Asmann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 23, 2007 12:02 PM
To: Maven Users List
I see.
Thank you for your answer
regards
J.T
On 5/23/07, Maria Odea Ching <[EMAIL PROTECTED]> wrote:
I don't think you can turn this up for each PMD goal.
I suggest you just boost up the whole maven process by setting MAVEN_OPTS.
- Deng
Jerome Thibaud wrote:
> Hi All,
>
> Any option to ind
http, https, ftp protocol are supported, and file if it is allowed in the
continuum configuration
Emmanuel
Randall Fidler a écrit :
Wendy,
What protocols does the URL support? Does it have to be HTTP or
can FTP work? Just peeking around there's a FTP plugin for Perforce
which could
hallo
this is probably some stupid question.
i know how to add a non-free (commercial) jar into a local repository. i
use deploy:deploy-file to achieve this:
mvn deploy:deploy-file \
-DgroupId=com.somesoft \
-DartifactId=core \
-Dversion=2.0.0 \
-Dfile=somesoft-core-2.0.0.jar
[ERROR] Didn't find password for CVSROOT ':
pserver:[EMAIL PROTECTED]:12310/appl/pkg1/cvs/reps/theteam/cvs'.
BTW, the user id I have in the pom is "maven", so I'm thinking that it's
picking up the id from the Root entry is the CVS directory.
Is that a feature or a bug? :-)
On 5/23/07, Wayne F
Must've slept through those discussions... ;-)
On Wednesday 23 May 2007 17:51, Wendy Smoak wrote:
> On 5/23/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > Not sure if maven checks this, but I've seen these in a couple of POMs:
> >
> >
> > 2.0.3
> >
>
> Based on some recent discussion,
On 5/23/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
Not sure if maven checks this, but I've seen these in a couple of POMs:
2.0.3
Based on some recent discussion, that apparently only works for plugins.
That's exactly why the enforcer plugin was born. :)
--
Wendy
---
I just found it:
http://maven.apache.org/ref/current/maven-model/maven.html#class_prerequisites
It is the MINIMUM version of maven that is required... But it's better than
nothing I suppose...
On Wednesday 23 May 2007 17:41, Roland Asmann wrote:
> Not sure if maven checks this, but I've seen t
Not sure if maven checks this, but I've seen these in a couple of POMs:
2.0.3
E.g. this one is from Tobago 1.0.10.
On Wednesday 23 May 2007 17:37, Henry Isidro wrote:
> I think there was talk of an enforcer plugin somewhere, you might want to
> search for that.
>
> HTH,
> Henry
>
> On
I think there was talk of an enforcer plugin somewhere, you might want to
search for that.
HTH,
Henry
On 5/23/07, Alex Karasulu <[EMAIL PROTECTED]> wrote:
Hi,
Just wondering if there is a POM directive that I can use to enforce the
use
of a
specific version of maven for it's modules to be bui
Hi,
Just wondering if there is a POM directive that I can use to enforce the use
of a
specific version of maven for it's modules to be built. Over at Apache
Directory
we have run into situations where users are trying to build old tagged
releases
with versions of maven that do not build properly
One suggested improvement for 1.1 is an explicit button to reload the
"Project Group Summary" page or some form of automated reload based on a
timer in the page.
The issue we've found is that the developer pushes the "build" button and
then wants to monitor the progress. If he/she hits the browser
Fail with what error message?
Wayne
On 5/23/07, Jon Strayer <[EMAIL PROTECTED]> wrote:
Why would mvn scm:changelog work but mvn scm:update fail?
--
Esse Quam Videre
To Be, rather than to Seem
-
To unsubscribe, e-mail: [EMA
Why would mvn scm:changelog work but mvn scm:update fail?
--
Esse Quam Videre
To Be, rather than to Seem
Hi,
I'd like to skip the tests for my build if no database is available.
When a database is available, the developer puts in an active profile in
his settings.xml with property:
true
Can I configure the surefire plugin's like this:
${${maven.test.skip} || !${database.available}}
so skip the
Hello,
Has anyone gone through migrating an EJB project using WebLogic's split
directory structure to Maven?
I'd like to get some hands-on experience feedback on:
- how you split into sub modules (appUtil, ...)
- whether you used maven ejb plugin (seems outdated for WL 9.2) or kept
using WL ant t
I'm looking at Maven-Continuum from a developer perspective.I'm looking at it
from a build team perspective.my aim is to automate this process,deploying
the patches that have been applied into CVS.I've to just use these files and
update the application.that is all I've to do.I dont have bother abo
Instead of jumping full bore into Maven and Continuum with an existing
(perhaps complicated) project, resulting in tons of questions and
emails to this list etc, I'd suggest that you simply:
1. download and install Maven2 and Continuum
2. download the Better Builds With Maven and Maven: The Defin
http://maven.apache.org/maven-1.x/using/repositories.html#Downloading_from_a_Remote_Repository
HTH,
-Lukas
Hernani Cerqueira wrote:
I'm using Maven 1, about the proxy, i think I'm not behind any proxy, I once
did'it, a long time ago, fils started to download, but that only worked for a
couple
Actually the package phase is indeed executed first, but not bound to
the package phase.
I can rephrase the whole problem as follows:
"The Assembly plugin won't find and artifact that was d on
the assembly because somehow the logic it uses to find the generated
JAR is not matching."
So:
com.te
I'm using Maven 1, about the proxy, i think I'm not behind any proxy, I once
did'it, a long time ago, fils started to download, but that only worked for a
couple of hours, so I'm guessing that if i change my server for one near me
(i have one a couple of miles ahead) things will work again.
Em
Hm..Thanks
The reason is CDC..There are some classes does not exist, so I have to
implement them, however, to make sure I can run my applications on PC as
well, I need same naming...extra method is for legacy reasons.
Thorsten Heit-3 wrote:
>
> Hi,
>
>> I have following problem and I am kind
I'm guessing you're running the assembly either as a standalone goal, or
somewhere before the package phase of the lifecycle. Am I right?
IIRC, the error you're seeing stems from the decision not to make the
assembly:assembly goal @execute phase="packaging" but I can't remember for
sure. If you w
If I undestood your answer correctly.Continuum checks out sources from the
cvs location provided in the section of the maven project's
pom.xml..just a side question,why do i need to specifiy the
section,can't continnum decipher where to check out the files from the
location of pom.xml, does it n
Thanks for the suggestions! Multiple profiles seems like the easiest to
setup, but incurs a little more maintenance.
-Richard
Roland Asmann wrote:
I found an example of what I mean. It's one of our first m2 try-outs which
used a flat directory-structure, but it serves well enough as an exampl
Comments inline.
On 5/23/07, Ashwin E <[EMAIL PROTECTED]> wrote:
So you're saying that my maven project should be in the source
repository?A
source repository here is CVS or SubVersion?
Yes, Continuum will do the job of checking out all of the sources when you
add the Maven project, provide
Hi,
> I have following problem and I am kind of stuck.
> I have project that depends on project where I override some java standard
> classes and sometimes I have extra methods in there.
> When i use eclipse, I can change order of classpath to have my Maven2
> Dependencies over the JRE. However,
Ashwin E wrote:
how do i do this sort of process using
maven/continuum?
I havent used continuum but what we do here is checkout using the IDE;
Maven then used for build and deployment.
hth,
Manos
-
To unsubscribe, e-mail:
So you're saying that my maven project should be in the source repository?A
source repository here is CVS or SubVersion?
And to the 3rd question what i mean is.In the application there are constant
requests for changes and enhancements.so dev team submits changes in CVS
with the required tags.whi
Ashwin E wrote:
I'm a beginner in Maven and Continnum and even to the entire build process.
My questions are mudane and pretty ridiculous but still help me out.
Here they're
1.Where does pom.xml reside?CVS or local machine?
The pom url you specify when adding a project can be the url of your
Hi Ashwin,
1. pom.xml will be in the application folder and can be checked in CVS
just like any other files
2. you can create maven project anywhere, as long as you mention the
repoistory locations properly in pom.xml
3. tags need not be mentioned in anywhere in pom.xml, you can check out
the c
Ashwin E wrote:
I'm a beginner in Maven and Continnum and even to the entire build process.
My questions are mudane and pretty ridiculous but still help me out.
Here they're
1.Where does pom.xml reside?CVS or local machine?
You should treat pom.xml as a project file and hence put it in CVS. T
I'm a beginner in Maven and Continnum and even to the entire build process.
My questions are mudane and pretty ridiculous but still help me out.
Here they're
1.Where does pom.xml reside?CVS or local machine?
2.Where do I create a Maven project?
3.How can I checkout the new update files from CVS,
Dear all.
I have following problem and I am kind of stuck.
I have project that depends on project where I override some java standard
classes and sometimes I have extra methods in there.
When i use eclipse, I can change order of classpath to have my Maven2
Dependencies over the JRE. However, whe
I don't think you can turn this up for each PMD goal.
I suggest you just boost up the whole maven process by setting MAVEN_OPTS.
- Deng
Jerome Thibaud wrote:
Hi All,
Any option to individually turn up the amount of memory for the PMD goal
during the site generation ?
Or should I just boost the
I don't think you can check for string content like that; the following
works for me (you'll need commons.lang on your classpath):
method="contains" var="contains">
gut
schlecht
HTH,
-Lukas
mathapfahl wrote:
Hi,
Hi,
Could you provide more info?
Can you post more snippets from the assembly xml file and from your pom?
Thanks,
Deng
Rodrigo Madera wrote:
Hello all,
I have been struggling with the maven-assembly-plugin because of a
problem that seems to have been around for some time (or so I
understood).
Hi,
I have a problem. I want to read the content of a file. If a special string
is in the file, then I want to go further. If not I want to write the string
in the file.
Does anyone have an idea how I should realize this ?
I begin with
gut
please help me
--
View
-- Initial header ---
>From : "Steinhauer, Frank" [EMAIL PROTECTED]
To : [EMAIL PROTECTED],users@maven.apache.org
CC :
Date : Tue, 22 May 2007 14:58:37 +0200
Subject : install:install - POM isn't filtered when installed in repo
Hey frank,
well you need
67 matches
Mail list logo