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
Hello,
I'm able to get to the POM via the following URL:
http://10.1.1.13:8080/@md=dcd=//depot/Library/TAUtilities_1.2_DEV/cdf=//depot/Library/TAUtilities_1.2_DEV/pom.xmlsr=9423c=5rH@//depot/Library/TAUtilities_1.2_DEV/pom.xml
I can have open in one browser tab the link to continuum and
-- 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
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
goal name=filetest
util:loadText file=test.txt
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
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):
goal name=filetest
util:loadText file=test.txt var=content/util:loadText
j:invokeStatic className=org.apache.commons.lang.StringUtils
method=contains
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
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,
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
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.
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
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
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
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,
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, when
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, provided
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
If I undestood your answer correctly.Continuum checks out sources from the
cvs location provided in the scm section of the maven project's
pom.xml..just a side question,why do i need to specifiy the scm
section,can't continnum decipher where to check out the files from the
location of pom.xml,
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
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 of
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.
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 included on
the assembly because somehow the logic it uses to find the generated
JAR is not matching.
So:
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
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
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
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
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:
database.availabletrue/database.available
Can I configure the surefire plugin's like this:
Why would mvn scm:changelog work but mvn scm:update fail?
--
Esse Quam Videre
To Be, rather than to Seem
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:
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
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
Not sure if maven checks this, but I've seen these in a couple of POMs:
prerequisites
maven2.0.3/maven
/prerequisites
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
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
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:
prerequisites
maven2.0.3/maven
/prerequisites
Based on some recent discussion, that apparently only works for plugins.
That's exactly why the enforcer plugin
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
[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
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
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
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
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
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
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.
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
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
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 scm section of your pom as well. Perhaps someone
else who is using CVS will notice something (obviously) wrong with
your configuration. ;-)
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 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
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 scm section of your pom as well. Perhaps
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
I
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 declare
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
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 versions
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...
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
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?
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
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
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 repository information in the
POM.
Where in the POM do I set the
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
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
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]
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
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
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
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
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
66 matches
Mail list logo