Hello Stephen,
I have a similar problem and still couldn't resolve.
My project has three sub modules: war, ear, and lib, both war and ear
depend on lib. I made a parent project to include all three modules.
(A very typical setup I guess).
When I want to build just ear, I uses
mvn package -pl
I am new to the Java, Maven, etc. I just downloaded and installed Maven.
Followed all their instructions.
I can not run any goal including mvn clean, or mvn anything. Pl. find the
following stack trace. Any help will be greatly appreciated.
My OS is XP (SP2). I tried 2 More newer versions of
You should just use Hudson or another continuous integration server
with Maven2 support.
Hello
Thanks for your reply.
But could you please elaborate a bit. A searched the term Maven and Hudson
Integration, but i did not get any releavnt way to proceed with.
Thankyou
--
View this
Hi Stephen,
I think I just figured out myself.
I have use the -am argument. So it's like:
mvn package -am -pl ear
Cheers
Ren
On Wed, Oct 14, 2009 at 5:38 PM, Ren rens...@gmail.com wrote:
Hello Stephen,
I have a similar problem and still couldn't resolve.
My project has three sub modules:
David Weintraub wrote at Mittwoch, 14. Oktober 2009 00:00:
On Tue, Oct 13, 2009 at 5:13 PM, Jörg Schaible
joerg.schai...@gmx.dewrote:
David Weintraub wrote:
Too complicated, especially since you skip Maven's dependency version
resolution by this directory where you collect the wars.
I
Really, the only ways I can think of is to (a) dump a stack trace (b)
set a breakpoint and run it inside a debugger. You need to see what is
causing the error and the best way is to see what is instantiated and
the execution path to it.
Quintin Beukes
On Tue, Oct 13, 2009 at 8:47 PM, Benson
Hi and how can in change this skin?
dennisl-2 wrote:
fflyw wrote:
Hi
is there some way to change look of change-report.html file generated by
changes:changes-report goal,
like colours, remove , add pictures ?
What you can do is apply a skin to the site that Maven generates,
Here is the idiots guide (i.e. if you cannot figure out this, you are beyond
help)
* download hudson.war
* java -jar hudson.war
* open browser at http://localhost:8080/
* go to manage hudson
* go to manager plugins
* download and install warnings plugin
* restart hudson
* go to add project
* add
2009/10/14 Ren rens...@gmail.com
Hello Stephen,
I have a similar problem and still couldn't resolve.
My project has three sub modules: war, ear, and lib, both war and ear
depend on lib. I made a parent project to include all three modules.
(A very typical setup I guess).
When I want to
I'm trying to use the same proxy for both http and https but i'm having no
success.
I've tried configuring like this:
proxies
proxy
idmyhttp/id
activetrue/active
protocolhttp/protocol
host192.168.0.4/host
port8080/port
/proxy
proxy
idmyhttps/id
Thanks for your reply.
But My requirment is quite different.
For Example:
public class mavenEmbedded
{
public static void main(String args[])
{
try
{
File projectDirectory = new File( getBasedir(),
src/examples/simple-project );
Use Hudson + Maven. Hudson will capture the console output and errors for you.
On 10/14/09, harishsyndrome harish.kum...@tcs.com wrote:
Thanks for your reply.
But My requirment is quite different.
For Example:
public class mavenEmbedded
{
public static void main(String args[])
Hi,
I'm writing a mojo that generates source files. Is it possible to get rid of
the required executions part in the pom?
My mojo already defines it should be used in the generate-sources phase. And
my plugin only contains 1 mojo.
/**
* @goal mycodegenerator
* @phase generate-sources
*
network proxy settings in maven has really bad design. As I know, only
one proxy can active at the same time.
m.
Hugo Palma wrote / napísal(a):
I'm trying to use the same proxy for both http and https but i'm having no
success.
I've tried configuring like this:
proxies
proxy
Le Wed, 14 Oct 2009 12:30:28 +0200,
Martijn Morriën dj.es...@gmail.com a écrit :
Hi,
I'm writing a mojo that generates source files. Is it possible to get rid of
the required executions part in the pom?
My mojo already defines it should be used in the generate-sources phase. And
my plugin
Thanks for your response.
I've created an issue for this http://jira.codehaus.org/browse/MNG-4394
On Wed, Oct 14, 2009 at 11:32, Michal Hlavac hla...@hlavki.eu wrote:
network proxy settings in maven has really bad design. As I know, only
one proxy can active at the same time.
m.
Hugo Palma
On Wed, Oct 14, 2009 at 12:40, Tony Chemit che...@codelutin.com wrote:
Le Wed, 14 Oct 2009 12:30:28 +0200,
Martijn Morriën dj.es...@gmail.com a écrit :
Hi,
I'm writing a mojo that generates source files. Is it possible to get rid
of
the required executions part in the pom?
My mojo
Le Wed, 14 Oct 2009 13:02:20 +0200,
Martijn Morriën dj.es...@gmail.com a écrit :
On Wed, Oct 14, 2009 at 12:40, Tony Chemit che...@codelutin.com wrote:
Le Wed, 14 Oct 2009 12:30:28 +0200,
Martijn Morriën dj.es...@gmail.com a écrit :
Hi,
I'm writing a mojo that generates source
Le Wed, 14 Oct 2009 13:15:35 +0200,
Tony Chemit che...@codelutin.com a écrit :
Le Wed, 14 Oct 2009 13:02:20 +0200,
Martijn Morriën dj.es...@gmail.com a écrit :
On Wed, Oct 14, 2009 at 12:40, Tony Chemit che...@codelutin.com wrote:
Le Wed, 14 Oct 2009 12:30:28 +0200,
Martijn Morriën
On Wed, Oct 14, 2009 at 13:52, Tony Chemit che...@codelutin.com wrote:
Le Wed, 14 Oct 2009 13:15:35 +0200,
Tony Chemit che...@codelutin.com a écrit :
Le Wed, 14 Oct 2009 13:02:20 +0200,
Martijn Morriën dj.es...@gmail.com a écrit :
On Wed, Oct 14, 2009 at 12:40, Tony Chemit
Hi, I don't understand why this warning appears every time Maven
downloads an Artifact from my remote Maven repository to my local
repository.
Downloading:
https://www.si4g.fr/nexus/content/repositories/open4g-releases/com/open4g/open4g-parent/44/open4g-parent-44.pom
9K downloaded
Hi,
Some of my remote Maven repositories managed by Nexus have restricted
access to only allowed users (Basic Auth). I wonder if it was possible
to locally configure such a repository in Maven settings.xml or in
another way ?
Documentation : http://maven.apache.org/settings.html.
Best
On Tuesday 13 October 2009 Werner Punz wrote:
Hello everyone I am new to the maven archetype programming but I ran
instantly into a problem.
I have a custom archetype which should generate some java code
the java file has something like public static String ${myvar}
and I try to generate
But My requirment is quite different.
For Example:
Thanks again for your reply. And i need some more help from
here...Desperately.
No one here is going to build this complicated system for you. And it
does not currently exist, so you're going to be building something
from scratch, it seems.
Hi,
Thanks very much. I've got the details by downloading the .pac file.
Now I'll try with host and port details to configure the maven
automatically.
Note : The .pac file can be downloaded by just pasting the PAC URL in
the browser. EX: http://company/pac.pac
Regards,
Tamil
Tamilselvan
Hi,
I'm trying to make a branch from a tag in batch mode using the release
plugin. The pom in the tag has its version set to 0.2.0. I would like for
the branch version to be 0.2.1-SNAPSHOT, however when I use the plugin it
always sets the branch version to 0.2.0-SNAPSHOT. However, in interactive
hi,
i need plugin functionality which should reuse functionality from two others
(dbunit+jetty) and add some custom additional behaviour. generally i try to
avoid building custom plugins and to reuse existing ones but now i got a
very specific probem for integration tests. further more the
during lifecycle maven delegates work to plugins.
is there a general convention whether plugins should do their work in fork
or in-process mode (running in the same process of mvn binary) or is it
completely up to the plugin-author? afaik plugins doing fork mode document
this explicitly in their
Do you mean configuring the credentials? Sure, that's how you do it:
http://maven.apache.org/settings.html#Servers
The actual repo configuration could go in either your pom or in a profile in
settings.xml.
/Anders
On Wed, Oct 14, 2009 at 16:27, David Meunier david.meun...@si4g.fr wrote:
Hi,
The MojoExecutor worked very well for me:
http://code.google.com/p/mojo-executor/
Just statically import the methods and use as per the example in the page.
Hope that helps!
Allan
On Wed, Oct 14, 2009 at 2:36 PM, aldana ald...@gmx.de wrote:
hi,
i need plugin functionality which should
Hi,
I'm using Maven 1.1. Right now, in my webapp project, I'm running
maven war:install
maven jar:install
to generate my deployable WAR file and then to generate a JAR with the
included classes so that my unit tests have something to look at. Does
anyone know a way that I can run maven
You use server entries in your settings to provide auth to remote
repos (Nexus in this case) that maven is talking to.
If Nexus is talking to the remote repo, then you configure the
authentication in the Nexus proxy repository configuration for that
repo.
2009/10/14 David Meunier
Maven 2.2.0 has a bug that causes it to incorrectly calculate the outgoing
checksums when deploying to an authenticated repository. (it doubles the
stream and hashes that). You can repair this with the repair maven metadata
command in Nexus then switch your build system to use 2.2.1 to stop it
Hi,
i need to check consistency of translation files during the build. I heard
Checkstyle has a Translation module that can check for missing keys in
translation files. Does anybody know how to configure this module. How to
define files set that should be checked? Google doesn't answer these
You could add a custom goal in maven.xml that does both of those installs.
I actually suggest moving the Java code into its own Java project...
-Original Message-
From: laredotornado [mailto:laredotorn...@gmail.com]
Sent: Wednesday, October 14, 2009 1:54 PM
To: users@maven.apache.org
Regarding your first idea, how would I do this without executing an infinite
loop (keeping in mind I would like war:install to execute both
war:install and jar:install). Below is my maven.xml file, but it causes
an infinite loop when I type in war:install ...
project xmlns:j=jelly:core
You might also want to check out the Localization Tools Maven Plugin
over at Codehaus:
http://mojo.codehaus.org/l10n-maven-plugin/
[the] l10n:report tracks the completeness of your localization for
specified locales and displays the results in tabular form
tom wrote:
Hi,
i need to check
You need to give your goal a unique name...
-Original Message-
From: laredotornado [mailto:laredotorn...@gmail.com]
Sent: Wednesday, October 14, 2009 2:58 PM
To: users@maven.apache.org
Subject: RE: Anyone know a shortcut? (Maven 1.1)
Regarding your first idea, how would I do this
personally, I couldn' t get release:branch to work at all, interactively or
batch.
On Wed, Oct 14, 2009 at 2:23 PM, Allan Ditzel allan.dit...@gmail.comwrote:
Hi,
I'm trying to make a branch from a tag in batch mode using the release
plugin. The pom in the tag has its version set to 0.2.0. I
Thanks for your reply.
So there's ABSOLUTELY no way to type war:install and also have jar:install
run after?
- Dave
Jeff Jensen wrote:
You need to give your goal a unique name...
-Original Message-
From: laredotornado [mailto:laredotorn...@gmail.com]
Sent: Wednesday,
I'm wondering why `mvn archetype:generate` has an optional `-Dgoals`
parameter. I understand how to use this parameter but... do you have
any idea of a real use case for it ?
The case at the time was a user asking to perform some one time
operations like eclipse:eclipse. Whether this is
Really? Were you running it from the location the trunk was checked out? For
us, if we do a mvn release:prepare in the location of the trunk, then
release:perform, and then cd into target/checkout and from there do mvn
release:branch -DbranchName=my-branch -DupdateBranchVersions=true
You may be able to hook into the war:install goal and add the run of
jar:install, but I can't remember... been at least a couple of years!
Hopefully another will comment for you.
-Original Message-
From: laredotornado [mailto:laredotorn...@gmail.com]
Sent: Wednesday, October 14, 2009
Ever run into a problem where the snapshot used isn't the most recent?
Any idea what could cause that?
I have a build that depends on a snapshot on someone else's
repository. I use nexus so all are proxied through and the snapshot
repositories are setup in nexus.
when I built, the dep in
That recipe never occured to me. I just try to run it as I'd run the release
side of thing, and the results were chaotic.
On Wed, Oct 14, 2009 at 4:40 PM, Allan Ditzel allan.dit...@gmail.comwrote:
Really? Were you running it from the location the trunk was checked out?
For
us, if we do a mvn
Hi everybody,
I have parent module(pom) and 2 children - jar + war. Is it possible to
make rule that in case of failure of war module, jar module isn't
installed to repository? Because now jar module is OK and it's installed
to rep, but then in war module there're errors in integration tests
How do I exclude the activation jar when i start up jetty using the
maven-jetty-plugin:run goal?
The WAR we are developing is to be deployed to a tomcat server, which does
NOT include the activation.jar in its lib directory. This means that we need
to include the jar in the project WAR file.
How can I configure the maven-jetty-plugin to exclude the activation.jar
when jetty starts up?
Proper usage of profiles is nearly always the solution to these kinds
of problems.
Wayne
-
To unsubscribe, e-mail:
I am sorry but I dont understand what you mean?
On Thu, Oct 15, 2009 at 3:24 PM, Wayne Fay wayne...@gmail.com wrote:
How can I configure the maven-jetty-plugin to exclude the activation.jar
when jetty starts up?
Proper usage of profiles is nearly always the solution to these kinds
of
49 matches
Mail list logo