Emmanuel,
Do you have instructions on how to enable debug on maven-scm classes?
Thanks
-Dan
On 7/26/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
>
> To know what's happen, I'd need logs of maven-scm classes in debug level.
>
> Emmanuel
>
> Dan Tran a écrit :
> > it intermittenly happens on
Thanks you both
-D
On 7/26/07, Maria Odea Ching <[EMAIL PROTECTED]> wrote:
>
> I think it tells Continuum to use the available SCM credentials, which
> are already in the machine's SCM when checking out the project, instead
> of supplying or using the username and password specified by the user
Hi Jesse,
First ,thanks to reply...but..i don't understand you
relativePath is not used when the is some levels between parent pom &
modules?
i create the superpom after the project to manage their dependence.
If i understand you...all the artifacts (poms) may be in the svn repo and in
I think it tells Continuum to use the available SCM credentials, which
are already in the machine's SCM when checking out the project, instead
of supplying or using the username and password specified by the user in
the Add Project page :)
HTH,
Deng
Dan Tran wrote:
Could not figure out what
if your scm can cache credentials (username/password) for the connection like
for svn or cvs with pserver, you don't need to add them in the continuum db and
let your scm used credentials from the cache.
Emmanuel
Dan Tran a écrit :
Could not figure out what it means in continuum 1.1? any hin
The assembly plugin can be used to put some of the jars in lib and
others in the root directory of your ear.
Wayne
On 7/26/07, Vaidya, Supriya A (US - Chicago) <[EMAIL PROTECTED]> wrote:
> Hi:
>
> I am working with multiple modules -
>
> An EJB
>contained in a WAR
>contained in a EAR
Yes, I think I understand, and I still think the
build-helper-maven-plugin can help you. Take a look at goal
"attach-artifact" in the usage page:
http://mojo.codehaus.org/build-helper-maven-plugin/howto.html
Wayne
On 7/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> Not sure i understand what th
John,
I agreed with your comments. Here is the practical usage:
The version under source code is building against xyz version 5.6.1.0.
However, we need the capability to build against the non-release quality of
version xyz that comes out every day or week, say 5.6.1.1, then 5.6.1.2,
then 5.6.1.3,
Hi:
I am working with multiple modules -
An EJB
contained in a WAR
contained in a EAR
There are some libraries that are shared between the EJB and the WAR. In
reading up on skinny WARs, I was able to find that a way to include the
lib directory in teh EAR only, so that they are
Hi,
I added a project to our Continuum instance the other day and everything
appeared normal. The first time a build ran I got the following output:
Provider message: The cvs command failed.
Command output:
---
I'm having issues using site:site with a multi-module project. site:stage
works fine, but for some reason site:site doesn't like my modules, instead
just listing them in bold.
Shouldn't they do the same thing? Any idea how I get site:site to just link
the darn modules? I'm using maven 2.0.7.
Not sure i understand what this plugin will do for the artifact.
I have a modele, that runs an ant task that creates a jar. So maven module
is not creating the jar from the target DIR, the ant task already creates
the jar I want inside the target DIR that I want to add to my repository.
On 7/
sorry, not understanding your problem...
what does 'whatever I create a password remind session' mean?
did you forget your admin account password?
On 7/24/07, Rex Zhen <[EMAIL PROTECTED]> wrote:
> I set the admin account at the first page after I deployed the
> continuum. But I can not log in, w
If I understand you correctly, build-helper-maven-plugin should be
what you're looking for:
http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
Wayne
On 7/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
To give a little more idea of what I am looking for:
I want to see
Dennis Lundberg wrote:
To sum this up: it works, but is it the right way (TM) to use classifiers?
For what it's worth, that's how we use classifiers.
Regards,
Graham
--
smime.p7s
Description: S/MIME Cryptographic Signature
generally you don't need to use that relativePath tag..
and your second scenario still looks a little odd.
I think maybe your not installing your superpom into the repository
before you start building your project? Normally if your doing
something like this with a company pom, then that pom is m
Hi Wayne,
Thank you very much for your message.
I followed your advice and could fix the conflict.
Best regards,
Marcelo Alcantara
www.uol.com.br
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 26 de julho de 2007 13:33
To: Maven Users List
Subject: R
I will be out of the office starting 16.05.2007 and will not return until
08.01.2008.
I'm on maternity leave till January 2008.
In case of Canon Consumable business, please contact Mikhail Popov, in case
of Paper business - Maria Bondarenko.
To give a little more idea of what I am looking for:
I want to see if in my jar module, I can have something like this:
org.apache.maven.plugins
maven-jar-plugin
package
/targe
I have a module that is defined as a jar as this jar is a dependency within
other modules in my project.
This pom.xml: jar calls a bpel and task that creates a bpel suitcase JAR.
The bpel jar is the artifact I actually want in my repository and available
as a dependency.
So, how do I accomplish
I wonder if it's possible to run JUnit4 tests with a custom JUnit runner
using the surefire maven2 plugin. The test uses the @RunWith annotation to
tell which JUnit runner to use, e.g.:
@RunWith(MyJUnitRunner.class)
public class MyClassTest {
..
}
The tests runs perfectly in Eclipse but not w
This turns out to be some incompatibility between the clover plugin and the
junit-report plugin.
http://jira.codehaus.org/browse/MPCLOVER-59
Jeff
Lukas Theussl-3 wrote:
>
> Can't you get that using the maven.clover.instrument.tests and/or
> maven.clover.includes/excludes properties?
>
> -L
Maybe nevermind, I checked out the source and tests for the clover plugin and
there is a test to instrument the tests and it verifies the plugin works as
expected (line count increases with property set to true).
I will double-check my project setup to determine what is wrong.
Jeff
jblack wro
Hi,
This is a follow up to my previous question regarding resource copying.
Below is my resources plugin configuration which will hopefully give
people a better idea of what I am trying to achieve.
When I run my build I can see the 2 different executions of the plugin run
and files do get copi
Lukas,
Thanks for the ideas, I think this is the right track.
However, setting maven.clover.instrument.tests=true did not produce and
change to the clover report (source lines of code, or otherwise). Tracking
the plugin.jelly, the path to the test source is being included as a fileset
to clover
Kannan Ekanath wrote:
Thanks !!!
That is exactly what I need. I however have a question though. I am using
2.2-SNAPSHOT version, there is a patch for this JIRA issue, (which means
that it is already added to source control).
No, it just means that someone has created a patch for the issue. It h
"Wayne Fay" <[EMAIL PROTECTED]> writes:
> 1) Use "mvn -X" and parse the text dependency tree to find out which
> dependency is pulling in the unwanted lucene artifact version. Just
> copy and paste the "mvn -X" output to Notepad etc and search for
> "lucene". Then add an node to the offending dep
"John Coleman" <[EMAIL PROTECTED]> writes:
> The web.xml in the dependency war does seem to be ignored so this is
> quite a neat solution. :)
>
> We are using this to provide a library of resources all our web
> applications can draw from.
>
> I still don't have a good answer on how to do what I c
1) Use "mvn -X" and parse the text dependency tree to find out which
dependency is pulling in the unwanted lucene artifact version. Just
copy and paste the "mvn -X" output to Notepad etc and search for
"lucene". Then add an node to the offending dependency to
exclude the "bad" artifact.
2) The d
The web.xml in the dependency war does seem to be ignored so this is quite a
neat solution. :)
We are using this to provide a library of resources all our web applications
can draw from.
I still don't have a good answer on how to do what I call client flavours. The
client may need to have twea
Could not figure out what it means in continuum 1.1? any hint? :-)
Thanks
-D
Release is a specific version ie Apache log4j, latest release is
1.2.14, no matter how many times you download it, the source code and
binary jar for this release will be the same.
Snapshot is used for development ie Apache log4j, say their current
"working" version is 1.2.15-SNAPSHOT. So every d
"John Coleman" <[EMAIL PROTECTED]> writes:
> Hi,
>
> The Maven war packaging forces me to have a web.xml which is not
> required in the dependency project. Perhaps I can switch that off? I
Hi John,
Yes, It seems so. But it is not used in overlays and you can control
it so this is not big deal.
The process for downloading and installing jars into the local repo
cache is rather flawed. At least one bug has been filed and this is
certainly in the mind of the Maven developers. I'm just not sure when
it will be addressed -- probably not until M2.1.
I like the idea of the repo:repair mojo. I
A Maven bug would imply that its a problem of Maven, and therefore
repeatable etc, so we would expect to see a lot of people encoutering
the problem.
Given that a lot of us are very successfully creating our own WARs,
and you're the only one who has reported this trouble, I would tend to
assume t
A work-around for this problem which I've previously mentioned is roughly:
1. Figure out which classes are the problem
2. Figure out which jars contain those classes
3. Figure out which version of those classes you want to keep
4. Extract and re-jar the others "problem" jars minus the offending c
Hi All,
I am having a problem with two dependencies (lucene 1.4.3 and lucene
2.0).
They are both dependencies at some level from my "root" dependencies but
the wrong classes are being called making the application unable to run.
1) Someone know how can I isolate the dependencies so that right
Tried that - still getting the same error... And this with the only
window open is the command prompt, after a restart of my system. Is this
a Maven bug? Nobody else seems to encounter it...
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 25, 2007 9:55
On 7/26/07, Dan Tran <[EMAIL PROTECTED]> wrote:
it intermittenly happens on 1.1-beta-1 as well
What does look like?
I've found that if the connection url has a trailing slash, the author
info does not show up.
--
Wendy
Hi,
The Maven war packaging forces me to have a web.xml which is not required in
the dependency project. Perhaps I can switch that off? I just want to pack
generic script and images up for web projects. Or will my project web.xml
simply overrule the dependency web.xml?
John
-Original Mess
I'm having problems with my webapp. But the problems were while running it
(e.g. saving an object), but yesterday I have tried running mvn clean
jetty:run-war instead of mvn clean jetty:run and hasn't compile it because a
test fail.
Running jetty:run it don't run the surefire plugin.
Is this expe
Hello,
I have a build error during my site:stage generation.
My maven workspace is constituted in many projects, and when I want to stage
the site on a linux machine I get the following error :
[ERROR] BUILD ERROR
[INFO]
[I
Thanks Wayne, I had not seen this before, and it seems indeed to be some
damage in the repo. Just copying fresh over repaired it. Quiet a lot
seems to of corrupted.
Would be nice to have something to that effect in the Maven log for that
message. And what about a repository:repair kind of goal?
Thanks Manos,
What I've found so far by looking at the source is that its dependent on how
the Set that MavenProject.getArtifacts() orders itself. I still haven't
found which impl of Set is used. That would tell us how predictable the
order is. My guess is its a HashSet and so the order will be
Thxs for your reply, but when I said that :
> Pb 1 : No info is given to user1 to tell him that PA was built because
> of change on B.
What I mean is : although user1 received a mail, that mail contains
no info about the real reason of that build : is-it because of a code
modification on PA
Come on guys let us not give too much attention to eachother :-)
I dont think Maven's behaviour regarding the order of JARs in the
classpath is random; that would be impossible.
My guess is the order is predictable and based on the dependencies
configuration and the algorithm that goes over
Try mvn -U to force an update. If it still is failing, delete the
~/.m2/ directory (if not the whole thing, delete the
org/apache/maven/plugins directory) and try again.
The "plugin does not exist or no valid version could be found" error
sometimes happens when you get "bad" artifacts in your m2
Christophe Lechenne a écrit :
Hi all,
I'm testing this feature on 1.1 version.
Here's my conf:
I've got 2 maven 2 projects :
PA and PB
PA depends on PB.
PA pom file has a mail notifier for user1
PA pom file has a mail notifier for user2
PA has 2 api, one using PB api
PA has 2 junit tests,
My bad. I didn't realize that a predictable classpath order vs. random
classpath order would shake the Maven project to the core of its very being
and betray the very objectives it has set out to achieve.
But on a more serious note, I've been using Maven for years and don't plan
to stop anytime
To know what's happen, I'd need logs of maven-scm classes in debug level.
Emmanuel
Dan Tran a écrit :
it intermittenly happens on 1.1-beta-1 as well
-D
On 7/26/07, Martin Alejandro Villalobos <[EMAIL PROTECTED]>
wrote:
Emmanuel, thanks for your answer.
I'm using Continuum 1.0.3 and SVN, bu
it intermittenly happens on 1.1-beta-1 as well
-D
On 7/26/07, Martin Alejandro Villalobos <[EMAIL PROTECTED]>
wrote:
Emmanuel, thanks for your answer.
I'm using Continuum 1.0.3 and SVN, but this behaviour is only with some
projects, not with all.
Can be related with the way in that the svn pl
Emmanuel, thanks for your answer.
I'm using Continuum 1.0.3 and SVN, but this behaviour is only with some
projects, not with all.
Can be related with the way in that the svn plugin of Eclipse do the
commits?
Thanks.
Martin.
Emmanuel Venisse wrote:
Continuum
version? SCM?
Generally it's a
Matthias Berndt <[EMAIL PROTECTED]> writes:
> Greetings,
>
> I'd like to filter the web.xml in src/main/webapp/WEB-INF. I tried to
> follow the instructions on
>
> http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
>
> but it doesn't work src/main/webapp/W
"John Coleman" <[EMAIL PROTECTED]> writes:
> Hi,
>
>
>
> We want to farm off some of our common resources (java scripts and
> images) into a project that other projects can use as a dependency.
>
>
Hello,
If you are using wars, then you could you use the war overlay
capability of maven: Just
Hi,
I was wondering if there is a best practice regarding the use of repositories,
not just for handling 3rd party dependencies but also regarding SNAPSHOT
development and Releases from the project itself. I've read some articles
related to setting up a repo and why use one, but nothing regardi
Sorry,
but it still doesn't work. I got your version (1.0-alpha-9), but
the anchor-tags are still in the generated html-files.
Perhaps you have another solution?!
--erik
Lukas Theussl-3 wrote:
>
> I suppose you are using a SNAPSHOT of the site plugin? I committed a fix
> this morning and dep
Hi,
Yes that does the right kind of thing, was thinking of using
dependency:unpack. However, I'd like to use a zip file instead of JAR.
But nevermind. It looks like it can deal with Java source. Not quiet
what I want, but maybe it can be used anyway.
Thanks,
John
-Original Message-
From:
Initial thoughts are you could have it as a seperate project and get the
dependency plugin to unpack it.
http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
On 26/07/07, John Coleman <[EMAIL PROTECTED]> wrote:
Hi,
We want to farm off some of our common resources (java sc
I suppose you are using a SNAPSHOT of the site plugin? I committed a fix
this morning and deployed a new snapshot of doxia-module-xhtml, try
upgrading with -U (and report if there's still a problem).
HTH,
-Lukas
erik_k wrote:
Hi,
I'm using Maven2 and the maven-site-plugin.
The generated pro
Hi,
We want to farm off some of our common resources (java scripts and
images) into a project that other projects can use as a dependency.
Does Maven2 have a way of getting such dependencies into a resources
phase?
Regards,
John
Eurobase International Limited and its subsidiaries (Eu
Baz,
I would put this type of information into a profile within the pom. Then its
simple and repeatable. Also trackable if your project is under source
control, instead of just relying on people knowing the correct command line
arguments to use.
Personally I think building a different version fr
Hi Carlo,
You may want to take a look at Maven 2's filters :-)
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files?
HTH,
Deng
Carlo Bonamico wrote:
Hi!
In the Maven2 documentation
(http://maven.apache.org/pom.html#Properties) I read that properti
Hi,
I'm using Maven2 and the maven-site-plugin.
The generated project-reports.html contains "broken" links, such as
.../project-reports.html#changelog.html.
I want to delete the anchor-tags. Is there a possibility to delete the tags
in a template-file or
do you know which class(es) generate(s) th
Hi
The WAS 5 plugin for Maven2 is not meant for WAS6. The WAS directory structure
has changed between the two versions. When I wrote that plugin, I specifically
stated that. For WAS6 take a look at the Cargo plugin. Cargo should work for
WAS6 because WAS6 is based on JDK 1.4, whereas WAS5 is ba
Hi!
In the Maven2 documentation (http://maven.apache.org/pom.html#Properties) I
read that properties can come from
1. env.X: Prefixing a variable with "env." will return the shell’s
environment variable. For example, ${env.PATH} contains the $path
environment variable (%PATH% in Windo
The izpack poms has some issues:
1. the
causes mvn 2.0.6 to call the pom invalid.
2. 3.8.0 is old
3. The biggest pain is none of the packages contains the classes from
the izpack-events.jar so if you write plugins there is no way to
compile them
Whoever is the boss I
The maven 1.x plugin wasn't developed by IBM.
Some of us on WebSphere are happily sticking with 1.1.
On 7/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
I have spent the last few hours looking the Maven 2 equivalent of the
following 1.1 plugin
http://maven-plugins.sourceforge.net
Hi!
In the Maven2 documentation
(http://maven.apache.org/pom.html#Properties) I read that properties can
come from
1. env.X: Prefixing a variable with "env." will return the shell’s
environment variable. For example, ${env.PATH} contains the $path
environment variable (%PATH% in Wi
Greetings,
I'd like to filter the web.xml in src/main/webapp/WEB-INF. I tried to
follow the instructions on
http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
but it doesn't work src/main/webapp/WEB-INF/web.xml. Can anyone give me
an advice or provide an
Greetings,
I'd like to filter the web.xml in src/main/webapp/WEB-INF. I tried to
follow the instructions on
http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webre
sources.html
but it doesn't work src/main/webapp/WEB-INF/web.xml. Can anyone give me
an advice or provide a
Could you please give the main differences between the following
depedencies:
- Release and Snapshot
thanks,
DT,
www.ejinz.com
Search Engine
Maven differentiates between two kinds of dependencies:
a.. Release. Released dependencies are artifacts downloaded to the local
maven repository
Thanks !!!
That is exactly what I need. I however have a question though. I am using
2.2-SNAPSHOT version, there is a patch for this JIRA issue, (which means
that it is already added to source control).
Since I am referring to the snapshot version directly, wouldnt I get this
fix this week itself?
72 matches
Mail list logo