The solution is to let the module A generate a jar with the test classes
by adding to A's pom.xml:
org.apache.maven.plugins
maven-jar-plugin
test-jar
Then you can include the jar with the test classes from module A by
adding to the depedencies of module
All,
I'm facing the following problem.
I have a multi module project, one module (let's call it Module A) contains
a base test class in moduleA/src/test/java/...
Module B has some test classes which inherit from that base class in Module
A but during compilation of the test class in Module B I ge
I need to get things *out* of a repository, and would rather not touch
the filesystem directly.
What would maven-undeploy-plugin look like? Do we already have
something that does this?
--
Wendy
-
To unsubscribe, e-mail: [EMAIL
Hi,
I think we can download the jar from this url and install it manually in
your repository.
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
Regard's
Murugan
-Original Message-
From: SiSi'mon [mailto:[EMAIL PROTECTED]
Sent: Friday, June 01, 2007 1:02 AM
To: users
one problem, how can i get the path of each dependency? the method
getSystemPath always return null.
tkz.
On 5/31/07, CasMeiron <[EMAIL PROTECTED]> wrote:
i found in tomcat-maven-plugin[codehaus] source.
Edited; it works, tkz!
On 5/31/07, Eric Redmond < [EMAIL PROTECTED]> wrote:
>
> ${proje
You probably should separate your project into different projects each
containing the set of files you want, allowing each one to use it's own
compiler:
http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html
Or if you can get away with it (which most peop
done, closed, tkz!
On 5/31/07, CasMeiron <[EMAIL PROTECTED]> wrote:
Its possible to do that?!
I tried:
/**
* The set of dependencies for the web application being run.
*
* @parameter default-value = "${project.artifacts}"
* @required
* @readonly
*/
privat
i found in tomcat-maven-plugin[codehaus] source.
Edited; it works, tkz!
On 5/31/07, Eric Redmond <[EMAIL PROTECTED]> wrote:
${project.dependencies}
Where did you find "project.artifacts"?
Eric
On 5/31/07, CasMeiron <[EMAIL PROTECTED]> wrote:
>
> Hi guys...
> Im trying to acess all dependen
${project.dependencies}
Where did you find "project.artifacts"?
Eric
On 5/31/07, CasMeiron <[EMAIL PROTECTED]> wrote:
Hi guys...
Im trying to acess all dependencies in my target project, look what i did:
/**
* The set of dependencies for the web application being run.
*
*
Its possible to do that?!
I tried:
/**
* The set of dependencies for the web application being run.
*
* @parameter default-value = "${project.artifacts}"
* @required
* @readonly
*/
private Set dependencies;
But doenst work, the set is empty.
tkz.
--
Paulo Cesar Sil
Realistically, you should set the JAVA_HOME in Windows Control Panel
etc so it is set to 1.5.0_11 permanently for all apps. Then you can
set compiler configuration parameters in your pom to target/source a
different Java version as needed.
Alternatively, you can edit the mvn.bat file and set your
You pick your own groupId for all your own projects. We generally
suggest the groupId be basically your domain backwards -- a.b.com
becomes com.b.a.
In this case, I would probably use com.fairisaac.mbpa as the groupId
for my artifacts, as it seems like mbpa is perhaps your project name.
Then I wo
Thanks to Jiaqi Guo. But I also found maybe maven-embedder can give me some
help (http://maven.apache.org/guides/mini/guide-embedding-m2.html).
On 5/30/07, Jiaqi Guo <[EMAIL PROTECTED]> wrote:
Check $M2_HOME/bin/mvn please.
..
exec "$JAVACMD" \
$MAVEN_OPTS \
-classpath "${M2_HOME}"/boot/cl
Hi,
I'm using Maven version: 2.0.6.
My project has few modules; I created the parent pom.xml file, and
pom.xml for each module.
I'm able to compile the first module, but when I try to compile the
second module that depends on the first module jar file, I get the
following error:
[INFO] Buildi
Hi,
I'm using Maven version: 2.0.6, and I've different versions of java sdk
installed on my machine.
Currently on my WindowsXP, JAVA_HOME is set to C:\j2sdk1.4.2_13, but
when I run maven I need to have JAVA_HOME set to C:\Program
Files\Java\jdk1.5.0_11 instead.
I can reset the value of JAVA_HO
Oh wow.. that fixed everything. Thank you very much.
I don't know why I thought I might not get maven 1 help.
ltheussl wrote:
>
>
> What's your maven.repo.remote setting? Did you read the news from 7
> December 2006: http://maven.apache.org/maven-1.x/news.html ?
>
> And why do you think
What's your maven.repo.remote setting? Did you read the news from 7
December 2006: http://maven.apache.org/maven-1.x/news.html ?
And why do you think nobody can help you just because you're using maven
1? ... :)
-Lukas
mreko wrote:
I cannot get my project to build with Maven 1 (I have to
I cannot get my project to build with Maven 1 (I have to use 1 for building
for the version of confluence I have to use) because every time i build it
tries to download jars and gets "error downloading; status code was: 301" I
had to manually hunt the jars down for over 30 different things and man
Paul Spencer wrote:
Emmanuel,
Any idea when the next release of the changelog plugin will be released?
Per the JIRA, their are no blockers and all issued attached to version
2.1 are resolved.
I'm working through the remaining JIRAs for this plugin. If we get
feedback from the reporters quic
On 23/05/07, Lasse Koskela <[EMAIL PROTECTED]> wrote:
Oops. Sorry about the ambiguous title in my previous post... I changed
it to something more communicative.
Lasse
On 5/23/07, Lasse Koskela <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to convert the open source JUnit extension called Jsp
If you plan to distribute Oracle's proprietary jars etc, make sure you
have the proper licensing etc necessary to do so.
(These issues are exactly why these jars are not already available in
the Maven repo.)
Wayne
On 5/31/07, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 5/31/07, SiSi'mon <[EMAIL
On 31/05/07, SiSi'mon <[EMAIL PROTECTED]> wrote:
As I understand it, typically when a JUnit test fails, you want it to stop
right there and report the error (and not continue running tests).
However in some code I recently inherited using the Maven surefire plugin,
a
test fails and it keeps go
Is each of these in a different testmethod within a single class, such as
testFirst(), testSecond() ? If so, then this is the standard behavior of
JUnit. Each method is considered to be a test and will fail, but the class
may contain multiple tests.
On 5/31/07, SiSi'mon <[EMAIL PROTECTED]> wrot
Tamas,
Thanks for passing the updated news on!!!
Jason,
Thanks for the mailing list info!!! Where do you go to subscribe to this
list. I did not see it on http://maven.apache.org/mail-lists.html.
Thanks,
David
"Tamás Cservenák" <[EMAIL PROTECTED]>
05/31/2007 01:46 PM
Please respond to
As I understand it, typically when a JUnit test fails, you want it to stop
right there and report the error (and not continue running tests).
However in some code I recently inherited using the Maven surefire plugin, a
test fails and it keeps going, and going and going and in the end reports 40
t
On 5/31/07, SiSi'mon <[EMAIL PROTECTED]> wrote:
Yes, we have already done this (downloaded an put in local repository) and
internally we are doing this in development. But we do not have the ability
to serve as a Maven2 repository to customers we ship to so when they run the
installer it will n
Yes, we have already done this (downloaded an put in local repository) and
internally we are doing this in development. But we do not have the ability
to serve as a Maven2 repository to customers we ship to so when they run the
installer it will need to fetch the Oracle jars from somewhere.
sugg
On 5/31/07, SiSi'mon <[EMAIL PROTECTED]> wrote:
We do not have the ability to run a maven repository for customers to serve
them and oracle.jar - too many headaches and approval and hoops to jump
through with IT.
Is there a way to tell maven about another jar?
no, only what people already tol
We do not have the ability to run a maven repository for customers to serve
them and oracle.jar - too many headaches and approval and hoops to jump
through with IT.
Is there a way to tell maven about another jar?
Or is there a maven repository out there with Oracle jars?
thanks
Si'mon
Wendy
On 5/31/07, SiSi'mon <[EMAIL PROTECTED]> wrote:
We have a product we wish to deliver that requires compliation. We have a
pom.xml file that specifies all the dependencies but there is one dependency
(Oracle jdbc jars) for which there is no repository so we must package the
.jar files in a /lib/
SiSi'mon wrote:
Does Oracle run a maven2 repository we can get them from?
No, you need to download them and install them in your local repo.
Please see:
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
thanks
Si'mon
Carlos Sanchez-4 wrote:
what about they are a com
We have a product we wish to deliver that requires compliation. We have a
pom.xml file that specifies all the dependencies but there is one dependency
(Oracle jdbc jars) for which there is no repository so we must package the
.jar files in a /lib/ directory under our application.
Outside of this
Does Oracle run a maven2 repository we can get them from?
thanks
Si'mon
Carlos Sanchez-4 wrote:
>
> what about they are a commercial product that is not free
>
> On 5/31/07, SiSi'mon <[EMAIL PROTECTED]> wrote:
>>
>> Does anyone know why there are no jars under
>>
>> http://repo1.maven.org/m
Wim Deblauwe wrote:
url of the website or the groupId/artifactId would be useful...
There is no website for this skin.
groupId:artifactId
org.apache.maven.skins:maven-stylus-skin
If you are using this skin you already have this configured in your
site.xml file.
regards,
Wim
2007/5/31,
I'm using Ant to test a Maven Plugin (as well as archetypes). I tried using
Maven Embedder, but was unable to get it to execute some of my "extension"
plugins with version 2.0.4. Now I'm having issues getting Ant to fail
properly when executing Maven fails. I'm sure this is probably more of an
A
Hi,
Thank you both for the confirmation of this issue!
Thanx for the list info, Jason!
Have fun,
~t~
On 5/31/07, Jason van Zyl <[EMAIL PROTECTED]> wrote:
Yes, subscribe to [EMAIL PROTECTED] if you want to
stay up on what's changing. There's a new machine for the central
repository with a new
what about they are a commercial product that is not free
On 5/31/07, SiSi'mon <[EMAIL PROTECTED]> wrote:
Does anyone know why there are no jars under
http://repo1.maven.org/maven2/com/oracle/ojdbc14/10.2.0.2.0/
also how would one go about getting 10.1.0.2.0 jars there?
thanks
Si'mon
--
Vi
I also am waiting for the appearance of these jars...
Trevor
-Original Message-
From: SiSi'mon [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 12:41 PM
To: users@maven.apache.org
Subject: com/oracle/ojdbc14 where are Oracle driver jars?
Does anyone know why there are no jars
On 31 May 07, at 2:22 PM 31 May 07, Tamás Cservenák wrote:
Hi all,
David made a few mistypes :)
a) he was asking for repo1.maven.org
b) he had a long running proximity instance, which could not access
repo1.maven.org as remote repo a few days ago. "Connection refused"
was the
exception he
Does anyone know why there are no jars under
http://repo1.maven.org/maven2/com/oracle/ojdbc14/10.2.0.2.0/
also how would one go about getting 10.1.0.2.0 jars there?
thanks
Si'mon
--
View this message in context:
http://www.nabble.com/com-oracle-ojdbc14--where-are-Oracle-driver-jars--tf3848
it was changed, and an email was sent to the list
On 5/31/07, Tamás Cservenák <[EMAIL PROTECTED]> wrote:
Hi all,
David made a few mistypes :)
a) he was asking for repo1.maven.org
b) he had a long running proximity instance, which could not access
repo1.maven.org as remote repo a few days ago.
url of the website or the groupId/artifactId would be useful...
regards,
Wim
2007/5/31, Dennis Lundberg <[EMAIL PROTECTED]>:
The Maven team is pleased to announce the release of Maven Stylus Skin,
version 1.0.1.
Release Notes - Maven Skins - Version stylus-1.0.1
** Bug
* [MSKINS-1] -
Hi all,
David made a few mistypes :)
a) he was asking for repo1.maven.org
b) he had a long running proximity instance, which could not access
repo1.maven.org as remote repo a few days ago. "Connection refused" was the
exception he saw in proximity logs.
Since then, the problem has been solved
I've cleaned out my local repo several times. I've also downloaded these
files using a browser and manually run the checksums with the same results.
My builds are actually succeeding just fine since these are only warnings,
but they are disturbing warnings.
I searched the user list, and somebod
I'm getting an error during during the test compile phase after running 'mvn
install'. I'm using the 2.4-SNAPSHOT version of Surefire, and it just
started blowing up on me today.
Here a snippet of the error:
[WARNING] POM for
'org.apache.maven.surefire:surefire-booter:pom:2.4-SNAPSHOT:runtime
I am having difficulty understanding how the site-deploy decides what
url to use for the site deployment...
I have my parent pom of all my projects set up like this:
penguin
Nanometrics Software Website
scp://penguin/disk1/software/sites/${project.
The Maven team is pleased to announce the release of Maven Stylus Skin,
version 1.0.1.
Release Notes - Maven Skins - Version stylus-1.0.1
** Bug
* [MSKINS-1] - Images are missing that are referenced in
maven-theme.css
- The Maven Team
I don't use this plugin myself, so I'm just shooting in the dark, but
have you tried truetrue in the
axistools configuration to hopefully get more information out of the
plugin while its executing? There are other configuration items you
can use listed on this page:
http://mojo.codehaus.org/axisto
Thanks. Saves me a lot of work documenting the extra level of POMs.
BTW. I rarely say it but I appreciate the help that you and others on
this list give.
Thanks,
Christopher
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 12:19 PM
To: Maven U
On 5/31/07, Chris Helck <[EMAIL PROTECTED]> wrote:
I'm also considering putting the configuration file in a well known
location (http://mystuff/pmd.xml) the same way we do for JPEGs and
getting on with life.
A known URL for checkstyle config is what I went with for the open
source projects I w
the top pom.xml is as follows:
.
javax.mail
mail
1.4
javax.activation
activation
1.1
ejb
web
streamer
wsappclient
ear
functional-test
enableCiProfile
t
Check out the options on the Surefire plugin. The jvm parameter seems to
be what you want. See
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#jvm
.
-Original Message-
From: Piotr Skawinski [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 12:09 PM
To: Maven Use
Yes, this is what I've done, but now I find I need another POM. Here's
what I have
A pom project called PARENT1 it contains developer and distManagement
stuff.
A jar project called PMD that contains the PMD config file. It inherits
from PARENT1
A pom project called PARENT2 that inherits from PAREN
I still get the same error -:(> Date: Thu, 31 May 2007 08:49:33 -0700> From:
[EMAIL PROTECTED]> To: users@maven.apache.org> Subject: Re:
UnsupportedClassVersionError on unit test using java 1.5> > On 5/31/07, Piotr
Skawinski <[EMAIL PROTECTED]> wrote:> > > Is it possible to specify in the
pom.
On 5/31/07, Piotr Skawinski <[EMAIL PROTECTED]> wrote:
Is it possible to specify in the pom.xml that unit test should also be executed
by jdk
1.5 even though my JAVA_HOME points to jdk 1.4??
This might help...
http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Different+JDK+Vers
Hi,I'm using java 1.4 for general build (and so my JAVA_HOME points to the jdk
1.4). But one subproject is build with java 1.5 and this is specified in its
pom.xml file:org.apache.maven.plugins
maven-compiler-plugin
truetrue
C:\Program
On 5/31/07, Chris Helck <[EMAIL PROTECTED]> wrote:
I have a parent pom which depends on a simple jar file containing
configuration files (PMD config). I'm wondering if it is possible to
combine these into one project?
So I need pom and to somehow cause a jar file to
be build and deployed. How c
Piotr Skawinski wrote:
Hi,I need to build my project with the jdk1.5, but some of the
files also need to be build with jdk1.4. Is it possible in a single
pom.xml to specify the jdk version to be used to build the whole
project and at the same time to specify other jdk version to be used to
build
I have a parent pom which depends on a simple jar file containing
configuration files (PMD config). I'm wondering if it is possible to
combine these into one project?
So I need pom and to somehow cause a jar file to
be build and deployed. How can I do this? Is it wise?
Thanks,
Christopher Helck
Its simple, add/modify this plugin in your web-project/module:
org.apache.maven.plugins
maven-eclipse-plugin
1.0
Cheers
On 5/31/07, Jan Torben Heuer <[EMAIL PROTECTED]> wrote:
Hi,
I have
Hi guys...
Im trying to acess all dependencies in my target project, look what i did:
/**
* The set of dependencies for the web application being run.
*
* @parameter default-value = "${project.artifacts}"
* @required
* @readonly
*/
private Set dependencies;
But the
Hi,
I have filed an issue with WebDAV here.. Have I missed anything obvious?
http://jira.codehaus.org/browse/MRM-408
Damon.
--
View this message in context:
http://www.nabble.com/The-mvn-deploy%3Adeploy-file-command-gives-409-%22Parent-doesn%27t-exist%22-tf3846842.html#a10895032
Sent from
I think your problem is in the configuration of the WSDL2Java, not the
missing Jars.
"unknown protocol: c" is why the plugin is failing to execute. We need
to solve that problem.
Perhaps show us your pom file, specifically the section where you are
configuring WSDL2Java.
Wayne
On 5/31/07, xiao
I removed the folder .m2\repository\javax, add the dependency to
pom.xml.
here is what I got after run mvn install
**
C:\maven-2.0.5\sample code\Code_Ch04\daytrader>mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] DayTrader :: Performance Ben
Emmanuel,
Any idea when the next release of the changelog plugin will be released?
Per the JIRA, their are no blockers and all issued attached to version
2.1 are resolved.
Paul Spencer
Emmanuel Venisse wrote:
The changelog plugin use Maven-SCM too but an old version. Next version
of changel
Hi,
Is there a way to turn off a default profile when a different profile is
specified? Here's what I'd like to have happen:
mvn # Use "dev" profile
mvn -Pcert #Use "cert" profile -- do not use "dev".
If I activate "dev" with or in then
"dev" is always on and I get the union of
Hello,
my Projekt have several Modules. And the 'Root' Project has an name like
'Some Example Name' (notice the whitespaces).
Due to the bug in Maven Wagon Plugin (recursive upload) I tested the
site:staging with an cron job from
Another maschine which donwloads the generated Site.
Actual
Hi,
I have a project with submodules. One of this modules is a tomcat servlet
and I'd like to save the -Dwtpversion=1.5 parameter in the pom, if
possible, so I can run "mvn eclipse:eclipse" in the root module and have
only in my -http module the wtp extension enabled.
Is that possible?
Jan
---
On 5/31/07, Tom Lambrechts <[EMAIL PROTECTED]> wrote:
Hello,
I found a wiki page "best practices: the location of configuration files
vs resources" , but it is empty.
Can somebody define this best practice and explain what the standard way
is to use the src/main/config. This dir is a part of the
Have you Googled for a Castor M2 plugin that would do the same thing?
Wayne
On 5/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
hey Wayne..
hope u r doing good..
I need one more help regarding castor classes generation using maven2.0.6.
In maven1 we used to keep schemas in jar module
Kiran,
I have not used Castor myself with Maven2, so I will not be of much help. You
will probably have to use the maven-antrun-plugin to achieve what you need,
maybe someone on the list can give you further tips.
Good luck,
Arnaud
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EM
I'm generating some mapping files for my domain objects using the
xdoclet-maven-plugin , which is configured as :
org.codehaus.mojo
xdoclet-maven-plugin
hbm-generation-with-xdoclet
generate-sources
Hi,I need to build my project with the jdk1.5, but some of the
files also need to be build with jdk1.4. Is it possible in a single
pom.xml to specify the jdk version to be used to build the whole
project and at the same time to specify other jdk version to be used to
build only some files? If not
Hello,
I found a wiki page "best practices: the location of configuration files
vs resources" , but it is empty.
Can somebody define this best practice and explain what the standard way
is to use the src/main/config. This dir is a part of the standard
directory structure of maven 2 but nowhere it i
Hi,I need to build my project with the jdk1.5, but some of the
files also need to be build with jdk1.4. Is it possible in a single
pom.xml to specify the jdk version to be used to build the whole
project and at the same time to specify other jdk version to be used to
build only some files? If not
Dirk Olmes wrote:
> Hi,
>
> we have a complex maven2 build with lots of modules. Some of these
> modules simply produce binary artifacts, e.g. RARs without having any
> code themselves.
>
> How do I disable creating and publishing source jars for these modules?
In the wonderful tradition of answ
Hello maven users,
i am searching for a rsync plugin for maven. I found wagon which can scp, but
not rsync. I saw the site plugin using rsync.
background:
For local testing i use jetty6 which is very fine, but sometimes i want to
install it on the real server engine. I just want to rsync my exp
Hi,
I need to build my project with the jdk1.5, but some of the files also need
to be build with jdk1.4. Is it possible in a single pom.xml to specify the
jdk version to be used to build the whole project and at the same time to
specify other jdk version to be used to build only some files? If no
On Wed, May 30, 2007 3:43 pm, Kenney Westerhof wrote:
> If you define 2 (different) plugins in the same phase, they should be
> executed
> sequentially (at least with maven 2.0.6).
> The only reason i can think of that only one of them executes is that you
> declared the
> same plugin twice, where
Hallo everybody,
yesterday, I wanted to create the site for my recently created project.
But it failed. I suspect that using a proxy is source of the problem:
The settings.xml contains the configuration for the proxy. This works
well when downloading plugins (for compile, clean, deploy, and so on
Hello,
I am so sorry,
Here it is some detail.
run maven with -X
...
war:war-resources:
[copy] [DEBUG] fileset: Setup scanner in dir
/home/youngho/project/M-Project/src/webapp with patternSet{ includes: [**]
excludes: [] }
stop working any more
So I have to kill the process
/home/young
Hi,
what do you mean with issues - I had two times the problems that Maven
tools were unable to process HTTP 302 indicating that the libraries were
moved.
Cheers,
Siegfried Goeschl
[EMAIL PROTECTED] wrote:
Is anyone having issues connecting to ibiblio lately?
Thanks,
David
Hi,
we have a complex maven2 build with lots of modules. Some of these
modules simply produce binary artifacts, e.g. RARs without having any
code themselves.
How do I disable creating and publishing source jars for these modules?
-dirk
--
A: Maybe because some people are too annoyed by top-post
Be more specific if you want someone to answer your questions.
What is not working, what are the error messages, etc.
Cheers
Jo
On 5/31/07, Youngho Cho <[EMAIL PROTECTED]> wrote:
Hello,
So far I used maven 1.0.2 with Java 1.4 at linux machine.
and 1.0.2 with java 1.5 at Windows marchine.
Work
Hello,
So far I used maven 1.0.2 with Java 1.4 at linux machine.
and 1.0.2 with java 1.5 at Windows marchine.
Working is no problem at all.
Now I updated linux machine java to 1.5.
But maven 1.0.2 with Java 1.5 at Linux machine didn't work at all.
Is there any way to solve it ?
Thanks,
Young
Hello,
Thanks very much!
I'll have a try.
a cup of Java, cheers!
Sha Jiang
Dennis Lundberg-2 wrote:
>
> jiangshachina wrote:
>> Hi,
>> I want to get a report, which show all of modifications of my project
>> from
>> SVN every day.
>> Does Maven (or its plugins) could provide the feature?
>>
Have you tried to set an escaped value for your variable in case you don't
have a concrete value for it?
Something along the lines of: \${foo.context.root
}
Might just work..
Cheers
Jo
On 5/29/07, ertnutler <[EMAIL PROTECTED]> wrote:
i'm using the maven-ear-plugin to generate my application.
Well, ahem :)
This is the value you want for the field of a Pojo. If it's not set,
plexus does not set it hence it's null. I would suggest to use another
pattern.
HTH,
Stéphane
On 5/29/07, ertnutler <[EMAIL PROTECTED]> wrote:
i'm using the maven-ear-plugin to generate my application.xml. the
88 matches
Mail list logo