--- Adam Fisk [EMAIL PROTECTED] wrote:
Does anyone have any advice on hibernate testing
with Maven? I'd like
to do as much testing outside a container as
possible (as little Cactus
as possible), testing the majority of my code that
is not dependent on
containers. I've read Eric
I use cc 2.1.6 with the the 1.5 plugin. It seem I have a probleme with the
jsl:template tag. I try by setting the properties
maven.cruisecontrol.template=cruisecontrol or use it with the default value but there
is no change
allways the same message.
I probally forgot to set some properties or
Hi,
I use it. With Spring and DBUnit it's pretty straightforward.
Regards
Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg/Weblog
Oness Project
http://oness.sourceforge.net
-Original Message-
From: Konstantin Priblouda [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
hi, maven:
when i learn how to use maven, via following the steps
in theserverside.com
(http://www.theserverside.com/articles/article.tss?l=MavenMagic),
i encounter a problem. the test files (unit test) does
not compile. therefore, when i issued command maven
jar:install the unit test failed and
I defined dependecy like this:
dependency
groupIdibatis/groupId
artifactIdibatis-nhn/artifactId
versionSNAPSHOT/version
jaribatis-2.jar/jar
typejar/type
properties
war.bundletrue/war.bundle
You just have test faillure look in target/test-reports/*.txt to get them.
Copy test in src for jar:install works of course in that case your test
classes are not execute just compile (as it is do when you execute your
test).
Nicolas
jsona laio [EMAIL PROTECTED]
22/09/2004 10:48
Veuillez
try to use only
dependency
groupIdibatis/groupId
artifactIdibatis-nhn/artifactId
versionSNAPSHOT/version
properties
war.bundletrue/war.bundle
/properties
/dependency
this should work, double chech that
Is there any way at runtime for a test to know if it is running under maven
(as opposed to having been invoked in the IDE)?
Why? Some of the developers on my team comment out tests during development
to only run a sub-set (as Eclipse doesn't seem to let you just run a single
test easily any
[EMAIL PROTECTED] wrote on Wednesday, September 22, 2004 11:46 AM:
Is there any way at runtime for a test to know if it is
running under maven (as opposed to having been invoked in the IDE)?
Why? Some of the developers on my team comment out tests
during development to only run a sub-set
[EMAIL PROTECTED] wrote:
Why? Some of the developers on my team comment out tests during development
to only run a sub-set (as Eclipse doesn't seem to let you just run a single
test easily any other way)
Right click on the test, select run, select run JUnit-test
If you wish to run all tests in
Hello all,
has anyone an idea why this annoying message:
Plugin 'maven-deploy-plugin' in project 'ProjectName' is not available
will appear from time to time?
For example if I use the war or the jar target alone this message will
not appear. If I am using my own target which calls the both
I think this only applies to Eclipse 3.0?
We're on 2.1 still as the clearcase support in 3.0 is currently pretty
terrible
James
-Original Message-
From: Martijn Dashorst [mailto:[EMAIL PROTECTED]
Sent: 22 September 2004 10:57
To: Maven Users List
Subject: Re: Checking if tests are
it wasn't meant to be logged at such a high level. It will appear in
maven 1.0 whenever you use jar, plugin or dist.
It is just a warning and can be ignored, and is already removed in CVS.
On Wed, 22 Sep 2004 11:53:52 +0200, Gunter Matella
[EMAIL PROTECTED] wrote:
Hello all,
has anyone an
I think this is a bug already in JIRA: it checks the filename for
SNAPSHOT, where it should check both version and the filename.
On Wed, 22 Sep 2004 11:09:37 +0200, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
try to use only
dependency
groupIdibatis/groupId
classpath issue. Please post this to JIRA with maven --info output.
- Brett
On Wed, 22 Sep 2004 10:12:13 +0200,
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I use cc 2.1.6 with the the 1.5 plugin. It seem I have a probleme with the
jsl:template tag. I try by setting the properties
[EMAIL PROTECTED] wrote:
I think this only applies to Eclipse 3.0?
We're on 2.1 still as the clearcase support in 3.0 is currently pretty
terrible
Ok, if you're stuck on 2.1 then perhaps you could define TestSuites (one
for each developer):
public class Developer1Suite() extends TestCase {
Do you mean this is already registered as JIRA issue and will be fixed? or should I
submit this issue to JIRA? I've looked for this in JIRA, but couldn't find. If this is
already registered, would you tell me the JIRA key of this issue?
- Original Message -
From: Brett Porter [EMAIL
if it wasn't there, you can file it. I thought I'd seen it, but maybe
it was just on the list.
- Brett
On Wed, 22 Sep 2004 19:57:10 +0900, Pak, Young-rok
[EMAIL PROTECTED] wrote:
Do you mean this is already registered as JIRA issue and will be fixed? or should I
submit this issue to JIRA?
I want to deploy some files to repository without modifying filename when deploying
jar. for example, there is file to deploy in my project like this:
src/tld/mytag.tld
and, I want to deploy to my repository like this:
mygroup/tlds/mytag.tld
so, I tried to use maven.xml like this:
This is intentionally not supported. Artifacts need versions in the
repository, especially with new features coming in Maven.
What problems will this cause you?
- Brett
On Wed, 22 Sep 2004 20:10:17 +0900, Pak, Young-rok
[EMAIL PROTECTED] wrote:
I want to deploy some files to repository without
Nice idea - seems to do what I need - thanks
James
-Original Message-
From: Martijn Dashorst [mailto:[EMAIL PROTECTED]
Sent: 22 September 2004 11:51
To: Maven Users List
Subject: Re: Checking if tests are running under maven
[EMAIL PROTECTED] wrote:
I think this only applies to
I want to deploy some tld files(JSP Tag Library Descriptor) to repository and use that
as dependencies in other project. for example, the project 'mytag' produces mytag.tld
and mytag.jar, and other web project myweb uses both file. I want to deploy both files
using jar:deploy with some postGoal
How can I specify classpath while making jar,war etc??
Thanx regds
Ashutosh
dependencies in project.xml.
Have you read the user guide?
Regards,
Brett
On Thu, 23 Sep 2004 05:22:02 +0530, Ashutosh Kumar
[EMAIL PROTECTED] wrote:
How can I specify classpath while making jar,war etc??
Thanx regds
Ashutosh
In the MPCRUISECONTROL or MAVEN jira module ?
Brett Porter [EMAIL PROTECTED]
22/09/2004 12:36
Veuillez répondre à Maven Users List
Pour : Maven Users List [EMAIL PROTECTED]
cc :
Objet : Re: cruisecontrol:configure
classpath issue. Please post this to JIRA with
If you want to avoid having to change all of your taglib descriptors in your
JSPs when you decide to use a newer version of a tag library, you should use
logical URIs and create tag library mappings in your web.xml deployment
descriptor. For example, use a taglib descriptor of the following form:
I don't agree. I think it is good to keep the version in the file so
you know what it is.
You can have /WEB-INF/tlds/mytag-1.0.tld, and then map it to
/WEB-INF/tlds/mytag.tld in web.xml (first is location, latter is
uri)
If you are using a servlet 2.3 container, you might consider putting
the
MAVEN.
Thanks
On Wed, 22 Sep 2004 13:56:45 +0200,
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
In the MPCRUISECONTROL or MAVEN jira module ?
Brett Porter [EMAIL PROTECTED]
22/09/2004 12:36
Veuillez répondre à Maven Users List
Pour : Maven Users List [EMAIL PROTECTED]
cc
Hi,
On Wed, 22 Sep 2004 20:39:35 +0900, Pak, Young-rok [EMAIL PROTECTED] wrote:
Why the name of tld files should not be changed is that their file name will be used
in JSP page like this:
%@ taglib uri=/WEB-INF/tlds/mytag.tld prefix=mytag %
Using a URI relative to the webapp
Hi!
If you are make standalone jar, i suggest to use javaap plugin.
It extract dependencies to you jar, and you can start it by
java -jar myapplication-app-1.0.jar
Artsi
to, 2004-09-23 kello 02:52, Ashutosh Kumar kirjoitti:
How can I specify classpath while making jar,war etc??
Thanx regds
Brett,
I like seeing a bug that I thought was going to end up on my plate on
someone elses! If I can help test this, let me know.. I have had some icky
problems in the past with changing around the template used by the CC
plugin, but this specific bug isn't something I ever had..
Eric
I don't think this is a specific bug as much as it might be a weird
combination of dependencies that clash. We'll see. Plugin classloader
separation would probably fix it (but break most everything else that
assumes all those dependencies are laying around in one classloader :)
- Brett
On Wed,
Hello,
Is it possible to define the local repository in a FTP server ???
Eric
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Omair-Inam Abdul-Matin wrote:
Erik Husby wrote:
Omair-Inam Abdul-Matin wrote:
I'm facing a weird error. I have the following projects with the
dependencies shown (a - b means a depends on b)
storagemanager-util
stindex-util
stindex-storagemanager
I have made a unit test in the storagemanager
Hello,
I'd like to propose a fix for the site:sshdeploy goal:
at me the
maven.site.tar.options=xUvf
returns an unlink error during etraction.
So i would propose
maven.site.tar.options=--recursive-unlink -xvf
as default option.
Regards,
Sascha
Is it possible to print out the stack trace for tests that fail or raise
an error. I would like more details that a failure/error count.
Omair
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi Omair,
two suggestions:
1.) All test reports are placed into target/test-reports. There you'll
find more information about the tests.
2.) Use the JUnit plugin of your favourite IDE or the JUnit testrunner
during development. Using Maven for each test has too long development
cycles. Those
try this:
maven -Djunit.usefile=false test:test
or put the following line in your project.properties file:
junit.usefile=false
HTH,
john
Omair-Inam Abdul-Matin wrote:
Is it possible to print out the stack trace for tests that fail or raise
an error. I would like more details that a failure/error
I'd like to automate testing a XML schema under maven, but I don't have
a clue how to begin :-). I have a schema and some example XML files. I'd
like to validate the files against the schema. Any help is appreciated.
Thanks,
C. Helck
The information contained in this e-mail is confidential.
no - what part of local repository suggests it should be remote? :)
You can define your own remote repository on an FTP server if you like.
- Brett
On Wed, 22 Sep 2004 21:18:42 +0800, Eric Chow [EMAIL PROTECTED] wrote:
Hello,
Is it possible to define the local repository in a FTP server
A project I have requires a sub-project to be built and included as a
dependency in the top level project. However, if I include the project in
the POM, maven tries to load the sub-project from the repository first. I
want the repository check to be skipped. So I need to not include it as a
If there is a project team(includes 5 developers), how can those
developers use the same local repository ?
I mean, if the dependencies are not existed in the public local
repository, then downloads it from remote by Maven !!!
Can Maven do this ?
Eric
On Thu, 23 Sep 2004 08:47:43 +1000, Brett
1. A local repository is local. It isn't normally shared unless all developers
are on the same workstation.
You could however mount your shared local repository from an NFS volume or Samba
share.
I don't believe a lot of people do this, so you could be subject to some race
conditions if multiple
Hi guys
Does this mean what I'm trying to do is impossible?
jeff mutonho
--- jeff mutonho [EMAIL PROTECTED] wrote:
Hi
The jar created in the repository will have
myApp-SNAPSHOT.jar. The problem I'm having is just
trying to create a jar called myApp.jar
I tried maven.final.name=myApp
but
I have project.xml ,project.properties maven.xml at top level and also
project.xml , project.properties,maven.xml at all module levels. How
By giving one command all the goals specified in these files can be
executed?
Regds
Ashutosh
you are probably looking for the reactor. Have a look in the maven
guides on the website for how to use it.
Regards,
Brett
On Thu, 23 Sep 2004 22:59:03 +0530, Ashutosh Kumar
[EMAIL PROTECTED] wrote:
I have project.xml ,project.properties maven.xml at top level and also
project.xml ,
46 matches
Mail list logo