This is not a strictly Maven question.
Hi Jake
This sounds very interesting. I have two questions:
1. Is testing against an in-process database a better
idea than using mock-objects to fake Connection,
ResultSet, etc? (I need to test some hand-coded JDBC
DAOs which I will redevelop later with Hibe
the recommend way of maven thru separation of builds (concern) is to create
another probject which share the same src with original one but with filter
-D
On Wed, 05 Jan 2005 21:34:46 -0500, Randy Xu <[EMAIL PROTECTED]> wrote:
> Short of circumventing or overwriting java:compile, is there a wa
I am trying to use the JNLP extensions (jnlp plugin 1.4.1, Maven
1.01). I have two issues, if I specify a jar is an extenision (using
properties extension tags from the jnlp home page example). The
dependancies I specify as extensions do not get copied to the
jnlp.dir. Is this right?
On Thu, 2
Short of circumventing or overwriting java:compile, is there a way to
compile only certain classes in a project? I'd like the default
behavior to be compile everything in /src/java but I want to define a
target to compile everything except one directory. I know how to
addPath but is there any
Try reading dIon Gillard's blog for some Jelly tips.
On Wed, 05 Jan 2005 11:41:59 -0500, Randy Xu <[EMAIL PROTECTED]> wrote:
> I don't have a terribly good grasp of Ant and now I'm converting a lot
> of ant scripts into Maven. Is there a definitive guide to the
> differences between , , , ,
I
The site needs to be republished. It has moved to subversion.
svn co http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk
Cheers,
Brett
On Wed, 5 Jan 2005 16:40:45 -0800, dan tran <[EMAIL PROTECTED]> wrote:
> Jira shows it is fixed but i dont see it in CVS
>
> I used the instruction on m
Jira shows it is fixed but i dont see it in CVS
I used the instruction on maven's plugin page to download the code
Any suggestion?
-Dan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
Brett Porter wrote:
1 & 2 - no. werkz doesn't expose any of its information to jelly.
3 - ${pom.artifacts}. The war plugin does exactly what you want, so
its worth looking in its source.
yep thanks! just to avoid confusion - I was wrong about #3. It doesn't
include ALL dependencies. It's jus
1 & 2 - no. werkz doesn't expose any of its information to jelly.
3 - ${pom.artifacts}. The war plugin does exactly what you want, so
its worth looking in its source.
- Brett
On Wed, 05 Jan 2005 18:59:50 -0500, Randy Xu <[EMAIL PROTECTED]> wrote:
> Three questions.
>
> 1) Anyone know how to re
Three questions.
1) Anyone know how to reference the goal's name within a goal? I'm
creating error messages now and it'd be a lot cleaner if I can just output:
2) If 1 is answerable, is this generalizable to other goal/project
variables too?
3) maven.dependency.classpath - I see that this in
what JAR are you trying to add? Is it xalan itself?
There is a problem under some JDKs because xalan needs to be endorsed.
Details are in the FAQ.
Cheers,
Brett
On Wed, 05 Jan 2005 14:38:33 +, Andrew Thornton
<[EMAIL PROTECTED]> wrote:
> Hi,
>I'm trying to use an extension function in a
This is why and how we use HSQL for testing.
- It is much faster for developers who are in the habit of continuous testing
to use HSQL instead of (for example) Oracle.
- We don't have enough Oracle resources (connections, accounts, cpu) to support
all the developers using it for continuous testi
Can you please fix your announcements so it isn't from "the maven team"? Thanks.
If you need better infrastructure such as a maven repository to deploy
to that is sync'd to ibiblio, it might be worth moving this to
maven-plugins.sf.net, and you could participate in the other plugins
there too.
Re
But this means your live system also has to run using
HSQL otherwise this test does not make sense right?
(Because of the differences in the SQL dialects, for
example.)
>I set up the HSQL database in the JUnit TestSetup.
This drops and
re-creates the database for each test class that need
the da
This all has to do with JUnit, nothing maven specific.
If you want to write a TestSuite that runs all of the tests you specify, you
can use a solution like
http://junit.sourceforge.net/doc/faq/faq.htm#organize_3. I'm almost positive
that maven will not pick up a test class unless the name of t
The maven team is pleased to announce the Maven Uberdist plugin 1.0.10
release!
Although it is now version 1.0.10, this is the first public release of the
plugin.
More info can be found at:
http://sourceforge.net/projects/uber-dist/
This plugin provides a mechanism to build what we may call a c
This is exactly what I was looking for. I'm still playing with it
to get it to work out correctly, but it is in the right direction, thanks.
If I write a TestSuite (AllTests.java), will it run first? That's one
thing that I was never sure of. Do the tests all run individually or
does the Suite g
I set up the HSQL database in the JUnit TestSetup. This drops and re-creates
the database for each test class that need the database, but the overhead is
quite low, only a few test classes need the database running, and it ensures
left over database artifacts will not have any side-effects on f
At 11:35 AM -0500 1/5/05, Charles N. Harvey III wrote:
Hello.
I have been doing lots of reading about how great it is to use an in-process
DB like Hypersonic for testing. Thing is, there are not many examples of
how to do this. What I want to do is start an in-memory DB (not a file DB
because the
Hi Brett,
> Have you read the articles about J2EE linked from the Maven website?
> Here is a newer unpublished version of that document:
> http://www.apache.org/~brett/site-2/reference/articles.html
I read some of the articles and I think I have some basic knowledge now.
But there are still quest
Two additional questions:
1) Within a goal, I want to run something (in this case post-process) by
default, unless the user doesn't want to. I was thinking it could check
a variable called skip_post_process. If it's false or not set it rus
the post-processor. If it's true, it doesn't. Any re
I don't have a terribly good grasp of Ant and now I'm converting a lot
of ant scripts into Maven. Is there a definitive guide to the
differences between , , , , the
differences between them and the differences between Maven and Ant? Is
there one definitively better one to use for Maven? How
Hello.
I have been doing lots of reading about how great it is to use an in-process
DB like Hypersonic for testing. Thing is, there are not many examples of
how to do this. What I want to do is start an in-memory DB (not a file DB
because the test is small) when I run my tests, and then run tests
Seems to me like the problem will only affect windows development, and
then only if the user is lazy with capitalisation.
Requiring all users to set a flag to ignore the spurious error that this
check generates seems counter-intuitive.
In addition, the warning is completely over the top. At mos
How do we get these issues resolved? Should we make up a list of
capabilities we want and determine which project serves them best. I am not
sure where the workshop stuff would reside. Maybe a separate project for
the workshop plugin and use Cargo and the Weblogic plugin for the rest. I
think t
Hi,
I'm trying to use an extension function in an XSLT stylesheet however
in order to do so, I need to set the classpath on the transformer to
include the jar containing this function. After source diving I finally
managed to work out that ${pom.getDependencyPath('groupid:artifactid')}
would
The Maven/build side is building an ear, and executing was5:run-script. I
need to know if I need a local WebSphere install in order to execute
was5:run-script, or if there is a way to attain this goal on a remote
server. When I tried to run was5:run-script with a different host than
the maven
How about:
3) ony check the artifact/types/artifact-version.type part of the
overall file name?
On Wed, 5 Jan 2005 11:44:38 -0200, Felipe Leme <[EMAIL PROTECTED]> wrote:
> Hi James,
>
> On Wed, 5 Jan 2005 12:18:41 +, "James Richardson" <[EMAIL PROTECTED]>
> wrote:
>
> > 1.6.1 still outpu
Hi James,
On Wed, 5 Jan 2005 12:18:41 +, "James Richardson" <[EMAIL PROTECTED]> wrote:
> 1.6.1 still outputs 20 lines of text for each component...but I don't
> understand quite what it is trying to achieve.. (Is that because case
> problems don't happen if you develop on linux?)
It tries to
Hi James,
I will have a look at it - I need to cross-check since this is actually
a JavaNCSS bug.
There are a few workaround to skip the JavaNCSS report depending on your
setup, the best is probably using "maven.javancss.enable=false" in the
build.properties for your affected project. In this c
I've noticed that the Java ncss plugin will hang indefinitely if there are
no java source files to count.
This can happen, if for example, your subproject contains only
auto-generated code (e.g. castor).
A src/java directory is required to convince maven that there is any thing
at all to compile
1.6 will fail to build completely (caught me out for a while, as cruise
was using 1.6, and I was using 1.5, which worked perfectly)
1.6.1 still outputs 20 lines of text for each component...but I don't
understand quite what it is trying to achieve.. (Is that because case
problems don't happen if y
If you are using 1.6 of the ear plugin, you should upgrade to a later release.
See
http://maven.apache.org/reference/plugins/ear/announcements/announcement-1.6.1.txt
and http://maven.apache.org/reference/plugins/ear/downloads.html
I agree the check should only be on the project/types/file portio
Hi,
I'm having a lot of trouble with the case sensitivity aspect of the
plugin. The problem is that it doesn't check for case sensitivity! - but
rather that the file paths match.
This presents a problem when working on automounted filesystems, where the
canonical and absolute filesystem names wi
Paste us in your exact and the exact location of the file.
This does work. One of them must be out of synch with the other.
On Wed, 5 Jan 2005 00:57:56 -0800 (PST), rajas kumar
<[EMAIL PROTECTED]> wrote:
> i tried like this with out giving version its giving compilation errors.
>
> privious
build:start, but it is still after dependencies are resolved.
You'll need to set the system property (perhaps using the MAVEN_OPTS env var).
- Brett
On Wed, 5 Jan 2005 09:11:15 -, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is there a goal that runs before dependencies are d
Hi Everybody,
I am in the process of writing a maven automated build script file.
The SCM used is Perforce.
I have succcessfully writen and tested the p4sync task and got the
latest code in to my local machine.
However, i am not sure as to how to do a submit.
I have used the following script..
Hi all,
Is there a goal that runs before dependencies are downloaded, that I could
attach some Jelly code (pregoal/postgoal) to alter the maven.mode.online
property value programmatically? In fact, extending the question further, are
there 'internal' goals that always execute whenever you run a
i tried like this with out giving version its giving compilation errors.
privious dependency is like this
jsf
jsf-api
1.0
> -Original Message-
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Sent: mercredi 5 janvier 2005 09:02
> To: Maven Users List
> Subject: RE: weblogic tools for maven
>
> On Tue, 2005-01-04 at 22:37, Vincent Massol wrote:
>
> > > I looked at the weblogic plugin at SF and it uses CLI
On Tue, 2005-01-04 at 22:37, Vincent Massol wrote:
> > I looked at the weblogic plugin at SF and it uses CLI execution which is
> > better than using Ant tasks. Can the Weblogic tools be loaded from the
> > classpath and be used in-process?
>
> Would Cargo (http://cargo.codehaus.org) help? (It is
41 matches
Mail list logo