Just an FYI to fellow Maven Users...
Wayne
-- Forwarded message --
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Jul 14, 2006 7:51 PM
Subject: JavaMail 1.4.1ea SNAPSHOT available
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
As you know, JavaMail is now ava
the sure plugin invokes another jvm to run the test, you need to configure
the debugger with surefire, not maven
maven-surefire-plugin
Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -
Djava.compiler=NONE
On 6/11/06, Kent Tong <[EMAIL PROTECTED]> wrote:
I had the same problem and I found this... Hope it helps
http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
Tim
--
View this message in context:
http://www.nabble.com/unit-test-works-in-Eclipse-but-fails-in-maven-tf1771802.html#a5335955
Sent from the Mav
Thanks Chris,
I don't mean testing, I mean running the web application in container for
development.
I'd like to be able to meet the following goals:
1. Make changes from my working copy and view at http://localhost immediately
with no 'mvn deploy',
just like with the jetty6 plugin.
2. Use E
you will need to get your svn's hook script's postcommit/postcommit.bat to
call a jvm with your java app that
talk to continuum via XMLRPC.
so the gut is the java code, not the script.
Sorry I know this in theory only, but very comfortable it would work this
way.
On 7/14/06, Toli Kuznets <[E
I¹m running into a weird issue here. It seems that the Maven surefire
plugin is trying to create POJO tests for inner classes which clearly aren¹t
tests. I¹m not even a surefire novice, so I¹m not sure why on earth this is
happening I¹m just wondering how to stop it from happening.
Anyone have
dan,
Sorry for the stupid question, but do you (or anybody) have an example
of such script?
i couldn't find it in the archives.
toli
On 7/14/06, dan tran <[EMAIL PROTECTED]> wrote:
Trigger build: You can get the svn hook script to make a XMLRPC call to
continuum
and start t
Trigger build: You can get the svn hook script to make a XMLRPC call to
continuum
and start the build with your quick validation profile
Forced Build: not at this moment with continuum 1.0.3, there are talk about
work around for that
involved scm:local, cron.
On 7/14/06, Alex Shneyderman <[EMAIL PROTECTED]> wrote:
Sorry if this question is not posted to the correct mailing list, but
I can not find a way to sign up for Cargo list.
It's here :
http://xircles.codehaus.org/projects/cargo/lists
Anyway here is the question: I am trying to use cargo:ube
Sorry if this question is not posted to the correct mailing list, but
I can not find a way to sign up for Cargo list.
Anyway here is the question: I am trying to use cargo:uberwar and I
follow instructions given on the cargo maven2 plugin page
(http://cargo.codehaus.org/Maven2+plugin). When I try
After upgrading to war-plugin 2.0.1 I'm getting an error while assembling a
Web app that has no Java sources (tested with an empty src directory). It
used to work previously. Here is the error message:
Error assembling WAR: Problem creating /target/classes (Is a
directory)
The classes directory
Tony,
If you want to test your session beans and MDBs you can use the JBoss
microcontainer.
It starts up very quickly. No need for a long running server.
Its been discussed a few times on this mailing list - I also have an
example in my book's source code.
EJB3 entity beans (aka JPA) can easily
Hello all,
I have a project that will use EJB3.0, and as far as I know only a few
containers support that. I'm using jBoss now.
My question is along the lines of the "Improving Web Development
Productivity" section of the Maven Book. I've tried the jetty6 plugin
and it's perfect for developm
use cargo:uberwar. (http://cargo.codehaus.org)
I think war plugin is inadequate, for any serious war merging.
On 7/14/06, Lucas Gonçalves <[EMAIL PROTECTED]> wrote:
How can i control the uncompress order of my war dependencies?
My application have dependency with two war modules(module1, modul
Are there any pom examples of building for different environments (dev, qa,
prod) *and* for different app servers (tomcat, jboss, oc4j, weblogic)? I'm
trying to avoid setting up and maintaining m*n resource folders.
___
David Beckedorff
Senior Developer
CellExchange,
This doesn't appear to scale if you have both dev, test, prod environments
and multiple app server environments e.g. jboss, tomcat, oc4j, weblogic.
I'd like to be able to do: mvn -Pdev,tomcat or mvn -Pdev,oc4j without
having to set up m * n resource folders.
___
Da
How can i control the uncompress order of my war dependencies?
My application have dependency with two war modules(module1, modulo2).
I want that module1 uncompress than module2 uncompress and override existent
files in module1 and at last the files of my application override any
existent files i
Hello All:
Once we go live with M2/Continuum/Subversion we're expecting
to establish a build trigger on file commits, followed by a
set of quick validation tests. Forced nightly builds from a
clean environment will run a full set of regression tests.
I'm guessing that a pair of will be the route
OK, you're right and indeed excludes work in war-plugin 2.0.1. I thought that
Maven releases explicitly depend on certain versions of plugins.
--
View this message in context:
http://www.nabble.com/WEB-INF-lib-excludes-once-more-tf1913187.html#a5333709
Sent from the Maven - Users forum at Nabbl
Hi,
We have multi modules build which contains several jar projects and one
war project. War-project has jar-projects as its dependencies.
War-project itself is based on new Eclipse server side pluggable
framework (Equinox) which required following directory structure:
WEB-INF
|__lib
|
If you have a depMgmt section in a parent pom with version etc
declared, then when you declare the dep in the child pom dependencies,
you do not need to declare a version.
If you have no depMgmt section, then yes, each time you declare a dep
you will need to include all details like version etc.
The plugin does not "come" with Maven. Maven downloads the latest
version when you first need it. If you were to install 2.0.4 today, it
would download 2.0.1.
No. It would be a nice feature in the EAR plugin, IMO.
-Original Message-
From: Lukasz Szelag [mailto:[EMAIL PROTECTED]
Sent:
Perfect, that did the trick. Thanks Wendy.
Charlie
On 7/14/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 7/14/06, Charlie Groves <[EMAIL PROTECTED]> wrote:
> I've got a parent pom with several modules in it. I've defined a
> profile in it that only has a couple of the modules so I don't have
You only put the denpendency in the plugin on if your plugin needs it.
On 7/14/06, Brad Harper <[EMAIL PROTECTED]> wrote:
The build worked by moving the to the child (outside o
), but it *did* require a value for .
Thanks, all.
Brad
-Original Message-
From: Wayne Fay [mailto:[EMA
On 7/14/06, Charlie Groves <[EMAIL PROTECTED]> wrote:
I've got a parent pom with several modules in it. I've defined a
profile in it that only has a couple of the modules so I don't have to
build everything to build them. When I run with that profile
activated, all of the modules are built. I
The build worked by moving the to the child (outside o
), but it *did* require a value for .
Thanks, all.
Brad
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 11:52 AM
To: Maven Users List
Subject: Re: maven-native-plugin sensitive to dependencie
Hi,
I've got a parent pom with several modules in it. I've defined a
profile in it that only has a couple of the modules so I don't have to
build everything to build them. When I run with that profile
activated, all of the modules are built. I know the profile is active
since I can change othe
Bingo. That did it. Thanks.
Brad
-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 1:45 PM
To: Maven Users List
Subject: Re: maven-native-plugin sensitive to dependencies? [CORRECTED
SUBJECT LINE]
move it outside of
-D
On 7/14/06, Brad Harper <[E
move it outside of
-D
On 7/14/06, Brad Harper <[EMAIL PROTECTED]> wrote:
I removed the artifact from the repository and modified the POM for
the child by adding within
maven-native-plugin
...
... <-- groupId and artifactId only. no version
Dennis,
Thanks for your quick response. I found the problem:
The error occurs when the paths contains unusual characters. In my case:
it was quite a long path that was c:\.\vc#\..\temp\...
It is the '#' character that throws qdox of.
-Alexander
Dennis Lundberg wrote:
This works fine for
I removed the artifact from the repository and modified the POM for
the child by adding within
maven-native-plugin
...
... <-- groupId and artifactId only. no version.
...
[while leaving the original e
That is odd... does the account you're running mvn on have read access to
that file? Is the file locked by an external program? Is the file still
there (since its in a temp directory)? "file.toURL().openStream()" is
throwing an IOException, so it looks to be a Java thing.
Thanks;
Eric
On 7/14/06
OK, I meant that the WAR plugin which comes with 2.0.4 is broken. Anyways, is
there a way to include these libs automatically in the EAR without
explicitly specifying in EAR POM all dependencies from the WAR? This is how
EJB dependencies are treated in the EAR.
--
View this message in context:
I'm running the jetty6 plugin from within eclipse using the maven
plugin. Anyone know of a way to pass the -X option to up the heap size?
--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857
-
To unsubscribe, e-mail:
This works for me .. not exhaustively tested but have gotten schema creation
+ insertion of data working. Combination of putting session factory in
spring + using annotations for classes means you get away without needing
any 'native' hibernate xml.
Had to do the same thing with persistence + lo
The maven version has nothing to do with it.
It's broken in maven-war-plugin 2.0 and fixed in 2.0.1.
-Original Message-
From: Lukasz Szelag [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 9:44 AM
To: users@maven.apache.org
Subject: Re: WEB-INF/lib excludes once more
WAR plugin i
DependencyManagement in a parent pom does not implicitly force the
dependency on every child/module.
You still need to (explicitly) declare the dependency in the children
poms... but you only need to include the groupId and artifactId
because you've already declared the version etc in the depMgmt
You should place it in dependecies not depenencyManagement
On 7/14/06, Brad Harper <[EMAIL PROTECTED]> wrote:
Hello all:
Can anyone say if 'maven-native-plugin' is sensitive to explicit
project dependencies? Should it be?
I have
third-party
dxr-third-party-com-emc-cente
Hello all:
Can anyone say if 'maven-native-plugin' is sensitive to explicit
project dependencies? Should it be?
I have
third-party
dxr-third-party-com-emc-centera-fplibrary-WINDOWS-X86-li
b
2.0SP1
lib
compile
in a POM descrip
Is there a maven2 plugin for websphere 6?
i remember there was maven plugin for websphere 5 but haven't found one
for websphere 6.
We are trying to do headless builds of EJB's for WAS with maven and are
looking for a plugin that will enable this.
thanks
michael wiles
Disclaimer
Sanlam Life
Hello all:
Can anyone say if 'maven-native-plugin' is sensitive to explicit
project dependencies? Should it be?
I have
third-party
dxr-third-party-com-emc-centera-fplibrary-WINDOWS-X86-li
b
2.0SP1
lib
compile
in a POM descrip
Hi,
I have a module that has dependencies on various jboss libs. This module
is maintained to be usable with both JBoss4.x and JBoss3.x.
How would I create two modules that only differ in their dependencies to
the JBoss version? I could use two POMs but this would mean duplicating
the maintainan
This works fine for me.
Can you run it again like this (with debugging turned on):
mvn -X compile
and post the results.
--
Dennis Lundberg
Alexander Hars wrote:
Hi,
I am getting a strange error when I try to create the simple Maven
Hello Plugin example. When compiling it, I get the messag
The doc-files/ folders are located in the src/ tree (in folders
containing .java files).
On 14 Jul 2006, at 16:16, Beyer,Nathan wrote:
Do you have your 'doc-files' in the source folder or in a resource
folder? I've never been able to get it to copy 'doc-files' that are in
resource folders. Ma
Hi,
I am getting a strange error when I try to create the simple Maven
Hello Plugin example. When compiling it, I get the message: "Cannot
read file: GreetingMojo.java" (Detailed error message is below).
I don't get any error when I just change the from
maven-plugin to jar.
Any ideas wh
Hi,
I have some issues with the plugin 'maven-checkstyle-plugin'.
My project includes several modules including third party sources. I
want to check all my modules but these third party ones.
The only way I've found is to add a 'checkstyle-suppressions.xml' file
on the root of these libraries,
Thanks Wendy,
I will try it out.
Matilda
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 11:24 AM
To: Maven Users List
Subject: Re: Problem w/M2 plugin
On 7/14/06, Matilda Robert <[EMAIL PROTECTED]> wrote:
> Is anyone having problems with acc
Does this help?
http://mail-archives.apache.org/mod_mbox/maven-users/200507.mbox/[EMAIL
PROTECTED]
Quoting Geoffrey Wiseman <[EMAIL PROTECTED]>:
> We've got a multi-project build that's been taking progressively longer;
> it's not yet critical, but I wouldn't mind a way to get simple
> 'profil
On 7/14/06, Matilda Robert <[EMAIL PROTECTED]> wrote:
Is anyone having problems with accessing information using maven 2.0 this
morning? I am getting the following error:
Project ID: org.codehaus.cargo-maven2-plugin
Reason: Error getting POM for 'org.codehaus.cargo:cargo-maven2-plugin' from
Curiously I'm getting the same problem but in reverse. If I delete
cobertura.ser I get 0% coverage for everything. If not deleted then the
reports show the results of the previous build - i.e. I could increase
coverage, build, and see no change in the coverage report; build again and
increased cov
Do you have your 'doc-files' in the source folder or in a resource
folder? I've never been able to get it to copy 'doc-files' that are in
resource folders. Maybe that's linked to the "must contain .java files"
you mentioned.
-Nathan
-Original Message-
From: Rob Dickens [mailto:[EMAIL PRO
Hi all,
Is anyone having problems with accessing information using maven 2.0 this
morning? I am getting the following error:
Project ID: org.codehaus.cargo-maven2-plugin
Reason: Error getting POM for 'org.codehaus.cargo:cargo-maven2-plugin' from
the repository: Unabl
Hey there. Is there a recommended way to handle internal dependencies
that do not follow Maven's directory structure and naming conventions?
Internal dependencies will be in development so it's necessary to pull
them instead of storing them locally.
For instance, a project may have a build depen
WAR plugin is broken in 2.0.4 so excludes don't work. As a workaround I'm
using the following:
org.apache.maven.plugins
maven-antrun-plugin
We've got a multi-project build that's been taking progressively longer;
it's not yet critical, but I wouldn't mind a way to get simple
'profiling' of the build. Just knowing which maven
goals/pregoals/plugins/etc are taking how much time would be really
useful -- is there a way to get that kind o
This one turned out to be the file path size limitation for windows and
not either plugin.
Relocating the project to a directory closer to the root of the drive
made the issue disappear.
Windows. Sigh.
kris bravo
-Original Message-
From: Bravo, Kris
Sent: Thursday, July 13, 2006
There's probably an easy way to do this, but I've been banging my head off a
wall for hours!
I have a configuration properties file in my application, that needs to be
filtered differently for the packaged artifact, and for the test classes. I
can't see how I can create two versions of the file u
I think we're having the same problem or similar anyway, one way around it is
to use antrun but it's a crappy way to do it I think. Not sure if my post
will help but I think it's wat your looking for but I doubt it's meant to be
used in that fasion and it doesn't work :-).
--
View this message in
I'm trying to specify different filter files during different phases, 1
during the main filtering process and the other during the test filters, so
I checked out the maven-resource-plugin and saw I could change the filters
for each goal or so I think I can, anyway this is what I tried but it ain't
Toli,
It's exactly what I needed, thanks!
Sebastien
Toli Kuznets a écrit :
Sebastien,
you can explicitly configure the maven-jar plugin to jar your test code.
We do it this way:
org.apache.maven.plugins
maven-jar-plugin
IIRC you will need to pull the source code to maven-site-plugin, add
your properties file there, and build/install/deploy it for it to use
your updated language properties file. I believe you cannot simply add
it to your project's resources and expect it to be used.
Ideally, you would also contri
Sebastien,
you can explicitly configure the maven-jar plugin to jar your test code.
We do it this way:
org.apache.maven.plugins
maven-jar-plugin
bundle-test-jar
package
Fred,
I've had some limited success with the exec-maven plugin.
If you only need to launch a java app with maven and can specify all
configs in your pom, then it works great. However, if you thought that
you could specify some args on command line (such as -Dexec.args) then
there are some bugs wi
I now think I know what the matter is.
It looks like doc-files/ directories have to be at least three
directories deep in order to be copied. (This is in addition to the
condition that the directory must contain .java files.)
E.g.
com/lafros/juice/demo/doc-files: copied
com/lafros/juice/doc
Fred wrote:
Hi,
Is it possible to launch an application with maven 2.x ?
I mean is there any goal that allows users to launch an application with mvn
command line ? (ex. "mvn run" runs the main class of the project).
If not, does it exist a way to do it (with some plugin or whatever) ?
Thanks
Hi Emmanuel,
Thanks for replying!!!
Now it works. SVN was installed but its bin directory is missing from path Env
variable. Anyway after modifying its working.
Thanks
Vinay
- Original Message
From: Emmanuel Venisse <[EMAIL PROTECTED]>
To: continuum-users@maven.apache.org
Sent: Frid
Hello,
I am trying to build a multi-module project. One module (core) is needed by another
module.
When I run mvn install, a jar with the core module is built, but it doesn't contain
the test classes, and I need them to be included. I've search through the
maven-jar-plugin site but nothing s
Can you send more logs?
Do you have svn installed on your machine?
Emmanuel
Vinay Kumar a écrit :
Hi All,
I just installed continuum yesterday . When I am doing build using continuum svn command failing :
jvm 1| 2006-07-14 16:18:51,628 [Thread-2] WARN ContinuumScm
- Provider message:
Hi,
Is it possible to launch an application with maven 2.x ?
I mean is there any goal that allows users to launch an application with mvn
command line ? (ex. "mvn run" runs the main class of the project).
If not, does it exist a way to do it (with some plugin or whatever) ?
Thanks for your supp
I made some changes on the properties file for my language on Maven. But now
I don't know how I proceed to use it on my Maven project.
I put that file in the src/main/resources on my project and point on my
"pom" for that but even when I make some changes for that, the site stills
present the same
it seems to be a problem with the local provider. The local provider doesn't initialize the change
date because we can't know it and in DefaultContinuumScm, we check it. Please create an issue.
Emmanuel
[EMAIL PROTECTED] a écrit :
Hi,
now i have five projects, that start at 12:00.
All Project
Hi,
now i have five projects, that start at 12:00.
All Projects get this error (see below).
(Manuell starting works fine - scm provider is 'file')
What is going wrong?
Thanks,
Thorsten
Build statistics:
State: Error
Previous State: Ok
Started at: Fr, 14 Jul 2006 12:00:51 +0200
Finis
Anyway, this is my workaround:
target/${profile.name}
Every profile is built in its own directory.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Has anybody set up Maven 2 builds for Eclipse (PDE) plugin projects and has
managed to integrate JUnit in-container tests for Eclipse-Plugins into the
Maven build lifecycle?
I would be very much interested in some best practices.
Thank you!
Arne
--
View this message in context:
http://www.nab
On 2/22/06, Wouter de Vaal <[EMAIL PROTECTED]> wrote:
Hi,
In my project I have created several profiles for different environments like
env-local
env
rebels_mascot wrote:
Thanks for the relpy Arnaud, think I wrote my 1st post wrong.
Sorry meant the maven-site-plugin in Maven 2. Do the properties I set in
build.properties now go into a css file in the site folder?
You should have a look at this document:
http://maven.apache.org/plugins/maven
Thanks for the relpy Arnaud, think I wrote my 1st post wrong.
Sorry meant the maven-site-plugin in Maven 2. Do the properties I set in
build.properties now go into a css file in the site folder?
--
View this message in context:
http://www.nabble.com/maven-site-plugin-tf1938390.html#a5322992
Sent
77 matches
Mail list logo