Hello,
The question is in the title...
--
Arnaud Bailly, PhD
OQube - Software Engineering
http://www.oqube.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello again,
I am wondering whether my question is:
1. obvious
2. silly
3. too specific
:-)
Isn't this something that lot of people are coping with everyday ? Is
there something I should know about version management in
multi-modules build ? I did already some refactoring using
at toplevel t
Hello,
We are running into a strange problem with the war plugin
(v. 2.1-alpha-1). We are trying to use overlay between two webapps,
both using jspc plugin to precompile jsps. To enable jspc, we need to
add the following pom fragement:
Erik Husby <[EMAIL PROTECTED]> writes:
> What would be the best way to generate the module menu?
Hello,
There seems to be complex interactions between site generation and
various parts of the poms. Something I have seen worked is:
- set URL for all modules to the right 'final' one, so that they
Manos Batsis <[EMAIL PROTECTED]> writes:
>
> Is there something you need beyond a jslint report for syntax
> errors/best practices in general? You can get a jslint report from
> jstools see [1] for an example. Nicolas' javascript plugin over at
> codehaus also offers jslint checking.
>
Thanks for
Hello,
I would like to know what is the current status/plans of the various
javascript handling plugins out there. Few months ago there has been
some discussions on this topic and some talks about merging
projects. I am currently using jstools plugin, with jsunit for test
execution, and would like
Karl Heinz Marbaise <[EMAIL PROTECTED]> writes:
> Hi there,
>
> i have got a little problem (or misunderstanding) with Maven 2:
>
> I have configured an entry for my issueManagement with an URL in the
> POM. Ok...so far so good...
>
> But i would like to have different URL's if i'm working on my
>
Hello,
I had similar problem with a webapp I developed few months ago, so I
used this war filtering feature to add build number and deploy time and other
informations to jsp files as comment tags filtered by maven.
Regards,
--
Arnaud Bailly, PhD
OQube - Software Engineering
http://www.oqube.com
"Allen, Daniel" <[EMAIL PROTECTED]> writes:
> I'm building a web application (packaging WAR), and I need to run the
> web.xml file through a filter to set certain configutation values. I
> tried adding it to a tag, but that causes Maven to make a
> copy of it and put it in WEB-INF/classes subdire
Hello,
I ran into some problem using maven-surefire-report-plugin. I want to
use this plugin to format a report which is custom generated by
another plugin. I did the following:
http://maven.apache.org/POM/4.0.0";
net.courtanet
maven-benefit-mozunit-plugin
${basedir}/
Richard Gal <[EMAIL PROTECTED]> writes:
> Hello
>
> Could somebody help me with the following problem:
>
> I have a project that uses some native libraries (dll's). I would like
> to create 2 JAR artifacts out of this project
> - one with the Java classes of the project and
> - another with nothin
Hello,
May I suggest that you break circular dependency ? Circular dependency
usually means that some module is waiting to be born, and is badly
handled by most build systems I think (at least most build systems I
know).
As for tagging, it depends on the pom tag and
maven-release-plugin configur
>
> When building the java webapp, I'd like some HTML and JS files to be
> packaged into the WAR, but those files live in the "html" and
> "javascript" directories instead of in "java/src/main/webapp". What's
> the appropriate plugin to use in this case?
>
Hello,
Don't know if it's possible, but t
Hello,
I managed to deploy/download from https sites with client side
authentication following this guide:
http://maven.apache.org/guides/mini/guide-repository-ssl.html
Maybe you could provide more information on your configuration (pom +
settings) ?
Regards,
--
Arnaud Bailly, PhD
OQube - Sof
Hello,
According to the page you point at:
Note : the pom is searched in central repository and the
repositories available for the active profiles from you
$user.home/.m2/settings.xml
So you should define somewhere a settings.xml file for the continuum
user (or better a global settings.xm
Hello,
The plugin is located, as expected, on the central
repository. (eg.
http://repo1.maven.org/maven2/org/codehaus/mojo/buildnumber-maven-plugin/)
What is your problem ?
Regards
--
Arnaud Bailly, PhD
OQube - Software Engineering
http://www.oqube.com
--
Hello,
You can use this plugin without references to any SCM whatsoever:
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
Regards,
--
Arnaud Bailly, PhD
OQube - Software Engineering
http://www.oqube.com
---
Hello,
You could use
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/introduction.html
HTH
--
Arnaud Bailly, PhD
OQube - Software Engineering
http://www.oqube.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
michel <[EMAIL PROTECTED]> writes:
> Hello,
>
> I have just installed Maven 2.0.8 on Windows XP SP2.
> Commands do not seem to work-- and I cannot find the response in the doc.
> It is my first installed version of Maven, and I don't use a proxy...
>
> Please could you help me ?
Hello,
It sometim
Olivier Dehon <[EMAIL PROTECTED]> writes:
> Since Continuum builds the parent project in non-recursive mode, this is
> a bit annoying, as all the parent sites deployed via site-deploy from
> Continuum have broken links to their children modules.
>
> Is there a fix or a workaround?
>
HEllo,
I had
Thanks for the info about basedir property, I was not sure of this.
REgards,
--
Arnaud Bailly, PhD
OQube - Software Engineering
http://www.oqube.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
HEllo,
"Heinrich Nirschl" <[EMAIL PROTECTED]> writes:
>
> I seem to miss something, why does
>
> new File("test/resources/myImages")
>
> not work?
Because you can never be sure that the current directory is the root directory
of your project.
You can define environment variables in the surefire
Hello,
If you extract your XML files into target/classes, this may mean that
you want to load them through your classpath loading mechanism. You
could use the jars as is in your final assembly/application,adding
them to your loaded classpath. That could simplify your pom.
But there may be other re
Dennis Lundberg <[EMAIL PROTECTED]> writes:
> Unfortunately / only works for build plugins
> and not for reporting plugins.
>
> See http://jira.codehaus.org/browse/MNG-1931
>
Thanks Dennis for your quick answer. The issue is quite old indeed :)
and I should have ran into it earlier.
Regards,
--
"Mick Knutson" <[EMAIL PROTECTED]> writes:
> Is there a way to activate a profile only if there was not one specified on
> the command line? ActiveByDefault seems to always be active no matter what.
>
I vaguely recall that you could use -P+profile et -P-profile to
forcefully include/exclude prof
"Vishal Pahwa" <[EMAIL PROTECTED]> writes:
> Hi
>
> at the moment we use Quick Test Pro by Mercury to perform our
> automated/regession testing as well as we are using maven2.0.6.
>
> We now have need to include Code Coverage for these tests. We need know
> know how many lines of actual code are
Hello Greg,
Setting up webdav in Apache (2.2) is kind of trivial:
DavLockDB "/var/lock/dav/lock"
Alias /maven2 "/var/www/maven2"
Dav On
AllowOverride None
That said, this is a maven list and your question is rather httpd
specific. Did you have a look at /usr/share/doc/apache2 for exam
jimpo <[EMAIL PROTECTED]> writes:
> I am using Maven2 to build my war packet. Base maven configuration is created
> with Appfuse http://appfuse.org/display/APF/Home.
>
> When I do a mvn install (or mvn cargo:deploy), first a test phase executes,
> and then the final war is built and installed in t
This is not generally a good idea, as pointed out by Brandon, to p ut
generated things under src/. The basic contract, I think,is that src/
is immutable and never written to by maven: everything is put in build
directory;
Regards,
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly,
s[i] = "c:/program files/Mozilla
Firefox/firefox.exe";
}
if ( "iexplorer".equalsIgnoreCase( browsers[i] ) )
{
browsers[i] = "c:/program files/internet
explorer/iexplore.exe";
}
}
Hello,
I am working on integrating jsunit (http://www.jsunit.net) into
maven. I would like to share some thoughts and request some advices
avout the best way to do that integration.
Right now, I have a sample (maven) project that executes jsunit tests
from maven and generates reports. What I did
Problem solved. Apologies for the noise...
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Hello,
I have an annoying problem with running test cases. I have the
following test class:
public class JsTest extends StandaloneTest {
public void testXXX() {
...
}
}
StandaloneTest extends junit.framework.TestCase.
I got the following results:
-
Hello,
here is a list of refs about testing with maven. The first one
is specifically targeted at maven developers.
http://maven.apache.org/developers/committer-testing-plugins.html
http://wiki.rodcoffin.com/index.php?title=Maven_Integration_Testing
http://docs.codehaus.org/display/MAVENUSER/H
Hello,
Not sure about point 2. but what about collecting the wsdl and API
part of the web services in a single project that will be depended
upon by the other ones ? This is the standard approach for non J2EE
projects and more generally an application of the old segragation of
interface and implem
It works ! Thanks .
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>> Adam Altemus wrote:
>> > Can you give me some information on your environment? I'm pretty sure I
>> > know what the error is but, I need to make sure.
>>
>> Looks like a java 1.4 environment trying to compile java 1.5 to me ;-)
>>
>>
>> Manos
hello,
This problem has sometimes bitten me in the
Hello,
When trying to build it from sources, I got:
[INFO] Scanning for projects...
[INFO]
[INFO] Building MobilVox Maven JavaScript Plugin
[INFO]task-segment: [install]
[INFO]
-
Hello,
This is normal maven behavior for snapshots deployment: each snapshot
is deployed with a unique version number. The metadata reflects this
and defines the lates snapshot so that when you ask for
foo:bar:1.0-SNAPSHOT you really get foo:bar:1.0-2342344234665.2423.
I think you can change this
"Lee Meador" <[EMAIL PROTECTED]> writes:
> If XML is the problem for Maven, why is it not for Ant. Can anyone claim
> that a makefile's syntax is any easier to understand? In addition, make
> isn't procedural or sequential and that didn't, back in the day, generate
> loads of comments.
>
> It's no
>
> B API (B-I) depends on artifact A1. B implementation (B-P) depends on
> the B API (obviously) and transitively on artifact A1.
>
> C API (C-I) does not depend on anything. But C implementation (C-P)
> depends on artifact A2 as well as APIs for B (B-I) and C (C-I) and
> transitively on artifact
If I want to contribute something, where do I send patches ?
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
"Lally Singh" <[EMAIL PROTECTED]> writes:
> On 9/27/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
>> On 9/26/07, Tomasz Pik <[EMAIL PROTECTED]> wrote:
>> > Example - please, try to find out how to skip executing of tests
>> > during build starting from http://maven.apache.org
Answer is: you never eve
Hello,
Just jumping in to show my interest. I have started working on tool
for javascript analysis based on jslinker, a somewhat dead or zombie
project in dojo. And of course, I want to integrate it with maven (I
started by mavenizing jslinker which is quite a mess). As there seems
to be some inter
Hello,
I would like to throw my 50cts in the discussion, drawn from my
experience teaching maven and consulting about software quality and
SDP in general, so-called "maven expert" - not that I claim the title
anyhow :-).
The first piece of information that is missing, IMHO, is a bird's eye
view o
cdesaint <[EMAIL PROTECTED]> writes:
> Hi All,
>
> I've got a couple of projects, 1 is a WAR project, another is a JAR project
> which needs to depend on the java classes in the WAR. Normally, you
> wouldn't do this, but in this case, the JAR project is for unit tests and
> wants to be able to in
James Depaul <[EMAIL PROTECTED]> writes:
> Hello -
>
> I'm working on maven-izing a project that's composed of three modules. I
> have the POMs configured with proper dependencies. Compile all works now
> and now I'm tying to execute the Test Cases and have some problems - it has
> to do with ho
Paul Duffin <[EMAIL PROTECTED]> writes:
> I have been looking at having separate poms for API and implementation
> and bundle. I can build the bundle (just think JAR if you don't know
> what that is) by aggregating the classes/resources from the API and
> implementation into one directory and then
Thomas Fischer <[EMAIL PROTECTED]> writes:
> Hi Arnaud,
>
> Thanks for you suggestion. Do you integrate the execution of the
> integration test module in the build process of the plugin itself ? In my
> current solution, if the code generated by the plugin cannot be compiled or
> fails to do what
Thomas Fischer <[EMAIL PROTECTED]> writes:
> Hi all,
>
> we have a maven plugin which generates java code, and we would like to
> unit-test it. One obvious test for such a plugin is to let it generate some
> code, compile that code, and unit-test the generated code.
>
> For this, the following ste
"Bryant Harris" <[EMAIL PROTECTED]> writes:
> Hi,
> So I've gotten pretty far with Maven (to the point where I'm liking
> it more and more). It's a slow slog, wading through articles and
> documentation, but I'm starting to like it. I've got a few questions
> on site generation
>
> 1. How
Hello,
I have a small and interesting problem I would like to solve. I have 2
projects A and B.
- A contains a jjtree source file that is used to generate AST nodes
and a parser
- B uses A *but* also rewrites some of the AST nodes thus providing
its own classes.
When I package everything,
"Steve Z" <[EMAIL PROTECTED]> writes:
> Hello, I want to know how to define default file encoding.
>
> first, could I specify file encoding when creating:
> mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app ...
> such as appending one param like this -Dencoding=UTF-8
> so the ge
Paul MERLIN <[EMAIL PROTECTED]> writes:
> Hi all,
>
> I'm trying to use the maven-release-plugin. Our SVN is only accessible on
> https with ssl mutual authentication. Yes we have to type our P12 password
> every time we do a svn operation. That's the way it is ...
>
Just curious, why don't you
Paul Austin <[EMAIL PROTECTED]> writes:
> Say I have two projects A and B.
>
> Project A has a custom bin.xml assembly generating A-1.0-bin.zip.
>
> Project B is an enhancement to A with some extra jar files and also has
> a custom bin.xml assembly which takes the whole of the unpacked
> A-1.0-bin
"Brian E. Fox" <[EMAIL PROTECTED]> writes:
>>If you dare maven-dependency-plugin.
>
> Hey what does that mean? j/k
>
BTW, what does j/k means ?
> --Brian
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
-
"Brian E. Fox" <[EMAIL PROTECTED]> writes:
>>If you dare maven-dependency-plugin.
>
> Hey what does that mean? j/k
Hmm, nothing wrong about the m-d-p :) And this may not be very english
too. Just referring to some example I saw today (about self-contained
jars) where this plugin was a bit abused,
Hello,
You could use http://mojo.codehaus.org/build-helper-maven-plugin/ to
add a test source directory.
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
-
To unsubscribe, e-mail:
Hello,
I posted recently a example of javadoc jarring and inclusion in a
third(party project. Addition to assembly follows immediately using
dependencySet or if you dare maven-dependency-plugin.
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
--
Hello Anders,
I was the one who triggered the mail from Jason as I and lot of other
people had the same kind of questions than yours :) The net conclusion
I came up to is that if you want to do something with custom
lifecyles, you jsut have to live with the three lifecycles that exists
right now: d
Hello,
In your mvn command, you are invoing esp:install which means:
- execute the mojo install in the plugin esp
In your mojo's configuration you may have forked a lifecycle which
would explain maven's behavior:
- validate is executed twice, one for the mojo and once for the
lifecycle the p
"Huang, Yan" <[EMAIL PROTECTED]> writes:
> Hi,
>
> I noticed that the "install" phase does not resolve the properties that
> are defined in settings.xml. For example, I use a property in my
> settings.xml to define the release version:
>
>
> DefaultProfile
>
> true
>
Thanks for the pointer. I thought this had something to do with the
site plugin instead.
regards,
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
-
To unsubscribe, e-mail: [EMAIL
Hello,
I ran recently into a strange problem with site generation. When I add
the locale fr, maven fails with the following error:
java.lang.IllegalArgumentException: Unmatched braces in the pattern.
at
org.apache.maven.reporting.AbstractMavenReportRenderer.applyPattern(AbstractMav
Following some recent post about javadoc aggregation, I tried to play
with javadoc attachments and dependency unpacking with some
success and it was quite easy. Here are the poms:
For project exporting javadoc:
merging-javadoc
oqube.maven
1.0-SNAPSHOT
4.0.0
oqube.maven.java
"Huang, Yan" <[EMAIL PROTECTED]> writes:
> Hello,
>
> I'm wondering how maven is figuring out the Reactor build order and if
> there is a way to tweak this order? If I see there are exact same line
> for a particular project twice in this order, does it mean that maven 2
> would build twice?
>
Ma
"William Ferguson" <[EMAIL PROTECTED]> writes:
> I haven't found it, so I have to ask.
>
Have you read this ?
http://maven.apache.org/developers/committer-testing-plugins.html
That said, I agree this is just some notes on testing tools, note a
guide for creating meaningful tests for plugins.
Hello,
This is most probably not possible with the javadoc plugin alone, but
this effect could possibly be achieved using javadoc:jar goal and
maven-dependency-plugin's unpack goal. This is untested however :)
HTH
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http:/
Hello,
As the name implies, the packaging pom is for projects consisting only
of a pom. This is of great use for:
- company/group wide configuration
- multi-projects builds
- dependencies grouping
- ...
Take a look at
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.h
Hello,
I am investigating the multipage report generation abilities of
maven. There seems to be a SinkFactory inteface for creating new Sink
objects, that could be used in an AbstractMavenReport. Does it work ?
Can someone points me to an example that uses this feature ?
Thanks in advance,
--
OQ
Hello,
Here is some sample POM that exposes what could be done to separate
tests into different groups. Note that the same things could be done
using the tag for testNG. The interesting thing is that
execurtions can be merged (eg. mvn -Ptest1,test2 test) to group
several subgroups.
http://maven.a
Kjetil Kjernsmo <[EMAIL PROTECTED]> writes:
>
> Looking through the source tree, I see that we do allready have a naming
> convention, but in terms of directory naming:
>
> test:
> functional/
> integration/
> performance/
> unit/
>
> where a test may have a path like:
> test/integration/so
Hello,
I would suggest breaking explicitly the dependency by creating
separate projects for the ejbs and the pure java code they encapsulate
and expose.
HTH
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
"Farhan Sarwar" <[EMAIL PROTECTED]> writes:
> Another quick question, Where to define/configure as to which phase the
> Mojo/goal is to be executed, so far with what I have read it seems that it's
> the Mojo class file which has this annotation for @phase (at class level) to
> tell MAVEN about the
"Farhan Sarwar" <[EMAIL PROTECTED]> writes:
> Hey guys,
>
>
>
> Wanted to know if there is a way to determine the goals configured to be
> executed in each of life-cycle phases?
>
>
Hello,
Maybe this link can answer your questions. Look also in sonatype's and
devzuz's books:
http://maven.ap
"Eric Redmond" <[EMAIL PROTECTED]> writes:
> I wrote a little bit about it here - though I suppose it wouldn't hurt going
> into more depth.
>
> http://www.sonatype.com/book/repository.html#tips_and_tricks
>
> Please read, and request any clarifications so I can fix the book. Thanks :)
>
Hello,
T
"Farhan Sarwar" <[EMAIL PROTECTED]> writes:
> Got a simple question if someone could respond.
>
>
>
> All the dependencies that we add in a project's pom are in the form of
> groupid ,artifactid and version, so what in case we have some propriety
> product/jar for which the maven structure (or l
"Mick Knutson" <[EMAIL PROTECTED]> writes:
> In my unit test, I have a call to get a test.txt file that live in
> src/test/resources/test.txt
>
> byte[] test = AES.file2byte("test.txt");
>
> But it never finds the file
>
You should access the file using classloader, as the resources are put
o
"Eric Redmond" <[EMAIL PROTECTED]> writes:
> QDox has been fixed on this for a while, but Maven plugins use the older
> version (1.6) and still do not support Java 5 (unless you want to manually
> install the code in trunk).
>
What do you mean ? Providing a patch ?
--
OQube < software engineer
"Zarick Lau" <[EMAIL PROTECTED]> writes:
> Approach II:
> My another solution is using a tricks with profile. I declare the
> the parent pom with en empty modules list:
>
>
>
> If profile X is activated, module-a /module-b is added in the modules
> list. With this particular profile, maven will
Hello,
While creating a custom packaging, I ran into slight problems with
configuring the components.xml for plexus. I would like to understand
what are the roles/differences of the various configuration elements
for an artifact and how to define them properly. I can see from
maven-core's samples t
Hello,
While writing a plugin, I had problems with the following statements:
- import static foo.bar.*;
- public enum Toto { }
The qdox engine choked on these. Is this a known problem ? Shall I
file an issue with qdox ? maven-plugin-plugin ? both ?
Regards,
--
OQube < software engineering \ g
Steven Crosley <[EMAIL PROTECTED]> writes:
>
> mvn scm:checkin -Dmessage="This is a test"
>
> I get a successful build, but the svn executes a file command instead
> of sending it to my repository:
>
> [INFO] [scm:checkin]
> [INFO] Executing: svn --non-interactive commit --file /tmp/maven-
> scm-9
Wayne Fay wrote:
>
> Things break constantly on Windows due to spaces in directory names.
>
> Given this works on Linux, I would assume this is your problem. Move
> everything to directories without spaces and try again.
>
> Wayne
>
Thanks for quick answer ! But then, why does it work in Ec
Hello,
I have a strange problem running tests with maven. My test first create a
directory and a jar in the temporary directory for the user, (property
java.io.tmpdir), writes a class file to it, then uses that jar file to pass
to a tested class that creates a classloader from it and loads a class
85 matches
Mail list logo