Hello,
Fisrt I used to love maven, at this moment I'm not sure.
I have a folder with a bunch of jars+wsdls+properties that need to be in the
class path for my project compile in maven. How I do that without having to
deploy each jar to the local repository or a remote repository? How do I
deal wit
can you use jaxws-maven-plugin to manage your wsdl files?
-D
On Mon, Apr 20, 2009 at 6:36 PM, David C. Hicks wrote:
> Are the jars part of the project, or are they artifacts that you depend on?
> That seems to be a large part of what you may need to change. If the jars
> are artifacts that can
Are the jars part of the project, or are they artifacts that you depend
on? That seems to be a large part of what you may need to change. If
the jars are artifacts that can be found in a standard repository, just
mark them up as dependencies. If they are generated by your project,
they shoul
> Fisrt I used to love maven, at this moment I'm not sure.
>
> I have a folder with a bunch of jars+wsdls+properties that need to be in
> the class path for my project compile in maven. How I do that without having
> to deploy each jar to the local repository or a remote repository?
IMO, you don
2009/4/21 João Pereira
> Hello,
> Fisrt I used to love maven, at this moment I'm not sure.
>
> I have a folder with a bunch of jars+wsdls+properties that need to be in
> the class path for my project compile in maven. How I do that without having
> to deploy each jar to the local repository or a
Ping ??Nobody wants to test it ?
Without your help, will never be able to produce a plugin which replies to
your needs.
Cheers,
Arnaud
On Thu, Apr 16, 2009 at 10:42 AM, Arnaud HERITIER wrote:
> Hi Community,
> The recent release 2.6 of the maven-eclipse-plugin created many problems
> for all o
John,
I am in the same case of edward and want to "enable/disable" test "families"
while executing my maven builds.
For instance, I'll want to execute every "data access tests" once per day
-and not after each commits because it takes time !-
For some other tests, I'd like to execute only selenium
Hi folks,
I've got a question for you about managing unit testing.
The situation that we are in is that right now, we have a single
module 'Products' that has a lot of classes in it. We know that
eventually we will refactor it into multiple modules (one for each
Product), but at this moment we ha
AFAIK the order is, for each phase:
1. lifecycle added goals, in the order they are defined in the lifecycle
2. project added goals in plugin order from the pom.
where it gets confusing is profiles and inherited plugins, and where
they go in the sequence
-Stephen
2009/4/20 Tony Giaccone :
> I'v
You're a life saver...that solved the issues.
Thanks!
Dave
-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: Monday, April 20, 2009 12:28 PM
To: Maven Users List
Subject: Re: WAR Dependency Mediation Problem
> So the question is: How are these duplicates ending up in
Hi,
When I deploy my project (gwt-maven-plugin) site it is set as site root,
with no version number subfolder.
I'd like to avoid users to complain about doc not matching current release.
How can I for the site plugin to deploy under /artifact/version/
(I inherit mojo-parent:18)
Cheers,
Nicolas
I've been using maven for a while now, but have finally had to go deeper
then just the basics of a pom file. As a result I now am curious about the
internal workings of maven.
I understand that there are phases to a build, and that each phase is
composed of goals. I also understand that plug-ins
John,
I am in the same case of edward and want to "enable/disable" test "families"
while executing my maven builds.
For instance, I'll want to execute every "data access tests" once per day
-and not after each commits because it takes time !-
For some other tests, I'd like to execute only selenium
Should just be a matter of registering a new username for yourself, then
clicking the "Create Issue" link in the top menu at
http://jira.codehaus.org/browse/MNG
Let me know if that doesn't work for you.
-john
edward eric pedersson wrote:
Will do once I work out how to submit issues in your J
I am trying to move to netbeans for dev so it is a good question
whether I need the source or just the compiled code. Not finding the
symbols I assume is a failure to access the .class files? Or does
netbeans need access to the source?
How do I share the project between the client and the server?
Hello everyone,
Here is what I need to do:
inlcude a C in my aggregator (multi-module) POM that would
ONLY BE "executed" when doing a mvn site command, not when I do a mvn
compile, package or deploy...
Any ideas on how to do this???
Sonia
--
View this message in context:
http://www.nabble.co
> So the question is: How are these duplicates ending up in my WAR file
> if they aren't showing up in the dependency tree? I'm lost...
Try again with "mvn clean package". It is possibly/likely that the
extra jars are from earlier builds and /target has not been cleaned
up.
Wayne
-
Hello again,
I've been doing more digging and below is a copy of the "mvn
dependency:tree" output. With the exception of the jdom 1.0 and 1.1
(1.1 has been moved to a new groupId) there don't appear to be any of
the duplicate dependencies that are being added into my WAR.
So the questio
Hi Pieter,
you would like to use transitive dependencies using a WAR - this did not
work in the past and I doubt that it works now. Having said that I would
help if you have shared project between client and server. And do really
need the source or only the class files?! If yes that approach would
Hi,
I have tried to declare a dependency in POM.xml for a single artifact which
is in the nexus repository..
but when we run mvn package it shows this error
) mockobjects:com.mockobjects:jar:0.09
Try downloading the file manually from the project website.
Then, install it using the com
Hello,
I have a war project for some web services that is having
dependency issues. I am getting multiple versions of my XML apis and
XML parsers in the resulting war which results in my having to manually
remove the older versions to avoid server-side SAAJ exceptions when
attempting to acce
ok, I have narrowed the problem down as probably a maven issue.
I have parent.pom and two modules client and server. Client is a war
and server is a jar. server needs to get hold of client's source
because db4o needs the source for both the client and server (to
configure it for each java.class it
Well, if you want, go ahead and file a JIRA for it in
http://jira.codehaus.org/browse/MNG and we can at least take a look to
make sure there isn't a better way.
FWIW, if you put the systemProperties entry in place with a value of
'${system.property}', then use -Dsystem.property=foo in the mvn
I need to pass the options on the command line so using
systemProperties might not work for me unless I misunderstand what you
mean.
How do you pass the -DpropertyName using the MAVEN_OPTS ? I m pretty
sure that was the first thing I tried before adding them as system
properties properly as descri
Another couple things to consider:
1. in Surefire, you should probably use the systemProperties to pass on
system properties explicitly. Just a suggestion.
2. For actual system properties, it might be wiser to set them in
MAVEN_OPTS instead of the mvn -D option. This is because Maven has
dep
Will do once I work out how to submit issues in your Jira
2009/4/20 Brian Fox :
> Please file a jira for this and use 2.1.0 as the affects version so we can
> get it fixed in 2.1.1
>
> edward eric pedersson wrote:
>>
>> Hi
>>
>> We use the command line to pass on system properties to the java
>> v
Ian i have tried to declare a dependency in POM.xml for a single artifact
which is in the nexus repository..
but when we run mvn package it shows this error
) mockobjects:com.mockobjects:jar:0.09
Try downloading the file manually from the project website.
Then, install it using the command:
What do you change in the code to make it stop working? Could you include a
full transcript of what Maven logs when you encounter this error?
Also, do you need to use that proxy you have defined in the settings.xml?
One more thing, in your pom.xml you have defined your repo, but you have
defined
no this is after a "mvn clean package"
cheers,
reto
Brian Fox said the following on 04/20/2009 03:27 PM:
> This could only happen in two passes of the plugin without a clean in
> between. The two files are indeed the same version, but it isn't
> checking the target folder exhaustively to see if t
This could only happen in two passes of the plugin without a clean in
between. The two files are indeed the same version, but it isn't
checking the target folder exhaustively to see if there's a file there
with another timestamped version...the overwrite only gets triggered if
the exact same fi
Please file a jira for this and use 2.1.0 as the affects version so we
can get it fixed in 2.1.1
edward eric pedersson wrote:
Hi
We use the command line to pass on system properties to the java
virtual machine when running our Hudson builds on a Linux box. It used
to work quite well in 2.0.9 b
Hello
I'm copying dependencies with the following directive:
org.apache.maven.plugins
maven-dependency-plugin
2.1
copy-dependencies
copy-sec
I have a netbeans project that requires to access sourcecode and
compiled code from a web project. If I set the dependency on the war
file, it just doesn't work (it works on a jar file). How do I access
code produced by a war project in netbeans?
Regards,
Pieter
--
i was told the passing hierarchy is
System(OS)
passes to
JVM
passes to
Maven
Maven cannot populate properties up to parent JVM (so other JVM threads can use
them)
JVM cannot populate properties to System-OS space (so other system processes
can use them)
please confirm,
Martin
___
yes you are right.
It seems 2.4.3 of the plugin is broken but 2.4.2 works just fine.
will lock down the version is the pom.
thanks for your help
2009/4/20 Stephen Connolly :
> Have you locked down the version of surefire you are using in your pom?
>
> if you have not locked it down, then you wi
Hi Sean,
On Fri, Apr 17, 2009 at 7:08 PM, Sean Owen
wrote:
>
>
> http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
> 4.0.0
> pose
> posnet
> war
>
I am attaching the settings.xml and POM.xml.
These are std jar's which are available in maven2 repos. i just added some
common-code, avalon framework into my repository for testing purpose. Do i
still need to declare dependencies..
I ran mvn -U command and it shows build successfull. It behaves
Hi,
Yes indeed. If your Nexus instance is correctly configured and you are
pointing Maven at it correctly then the artifacts corresponding to the
dependencies listed in your pom should be downloaded and put in your local
repository.
1) Can you confirm whether you have added a dependency to your p
Have you locked down the version of surefire you are using in your pom?
if you have not locked it down, then you will be picking up a newer
version of surefire with 2.1.0.
AFAIK, a newer version of surefire has issues passing system
properties to the forked process.
in any case you should always
When the package is set to
ejb
two artifacts are generated
. an EJB jar (e.g. core-bo-1.0.0-SNAPSHOT.jar)
. a client jar (e.g. core-bo-1.0.0-SNAPSHOT-client.jar)
according to http://maven.apache.org/plugins/maven-ejb-plugin/index.html
maven-ejb-plugin
When I call
mvn clean install -Posg
Dear *,
I know that jaxb is a subject that pops up on aregular basis but I do not
seem to find a related message all the way back to 2007...
We're still using Maven 1 (ok...) and intend to move from JDK 1.5 to 1.6.
Our task to generate a schema from classes not longer works with JDK1.6 and
thi
Hi
We use the command line to pass on system properties to the java
virtual machine when running our Hudson builds on a Linux box. It used
to work quite well in 2.0.9 by since we upgraded to 2.1.0 it has
stopped working altogether. The system properties just never make it
to the java virtual machi
Hi all,
I've spent many hours trying to figure this out, and am writing the list as
a last resort. I have a copy-resources goal configured to move some stuff
from an external directory during a build. It works fine when I do a mvn
install or mvn jetty:run. The trouble comes when I try to run th
Maven doesn't update snapshot dependencies to the latest version when run as:
mvn clean
mvn -U assemby:assembly
The "-with-dependencies" jar contains the old versions of the class
files and the local repository looks like this:
(~/.m2/repository/com/xxx/dependency1/dependency1/1.0-SNAPSHOT)
This i have tried and its working. What i am trying to do is i have created a
repository in NEXUS
http://localhost:8080/nexus-webapp-1.3.2/content/repositories/IBRepos/
I have added couple of aritifacts in this (jar files). and using the classes
from this artifact
I modified the POM and setting
There is a very quick tutorial on the Maven site which should get you up and
running with a very basic pom file and standardised directory structure.
You can find it here:
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
You don't actually need a settings.xml file to run
46 matches
Mail list logo