You only need to modify the port of http and xmlrpc services in
apps/continuum/conf/application.xml
Probably a stupid question: so I install a second copy of continuum?
Hi All,
I have the following in my pom.xml
distributionManagement
repository
idinternalSnapshotRepository/id
nameInternal Release Repository/name
urlfile://maggie/internalRepository/url
/repository
snapshotRepository
Maybe you have to deploy it to your repositories? Try mvn deploy. See
also the lifecycles:
http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html.
HTH,
Nick Stolwijk
Lakshman Srilakshmanan wrote:
Hi All,
I have the following in my pom.xml
distributionManagement
On 31.08.2006, at 23:27, ArneD wrote:
After all, if can't trust your team to stick to approved
versions of artifacts how can you trust them to write your precious
business code?
I think it's not a question of mistrusting people, but a question
of how can
you help people to avoid mistakes.
Take a look to the last maven-jar-plugin :
http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-jar.html
Cheers,
Stéphane
berndq a écrit :
Stephen More wrote:
I guess you are looking for the assembly plugin
Here is the docu:
Hello,
I've just added maven-aspectj-plugin to my project.
When I run maven aspectj:compile, all my project directory is copied
into target/classes*
If I set maven.aspectj.weaveAspectSources = false, I works fine.
Setting aspectSourceDirectory in my POM also solves this issue. It
seems
Hi Arnaud,
I know that i can use a time-stamped version of a dependency, which is a great
feature. But how do i know in which timestamped version, a given issue in JIRA
has been fixed in?
Also, reading the Guide to Testing Development Versions of Plugins, i come
across the following:
Note:
It seems to be related to http://jira.codehaus.org/browse/MPASPECTJ-16
The problem seems to be in these lines (90-97)
ant:sourceroots
j:if test=${context.getVariable('maven.aspectj.src.argfilesOnly')
!= 'true'}
ant:path refid=${sourcePathRefid}/
/j:if
I recently gave a quick hands on introductions to Maven (v2) at the
company I'm currently consulting at. The company is now interested in
testing maven out in a project. There are two major and related concerns
I have though with using maven:
1. Maven updates itself at a regular basis.
It's why I said that it's not a real solution but only a workaround.
You can't know in which time-stamped version is fixed which bug if the
developper who fix it and deploy the snapshot doesn't tell it to you.
A good practice that we should have is to document it when we close an issue
on a
Lock down all your plugin versions.
plugin
groupId...
artifactId...
version2.0-beta5/version
...
Since I 've done that I experience it as being much much more in control
over the build process. When a new plugin is released, I change the
version and test it locally first before
Dear Maven users,
Any idea when the following improvement / issue would be implemented /
resolved ?
http://jira.codehaus.org/browse/MECLIPSE-34
http://jira.codehaus.org/browse/MECLIPSE-34
Regards.
thanks all for your answers, actually the problem as not due to 'protected'
modifier nor to 'expression' attribute.
Something was wrong with my pom.
The command I use is: mvn mygroupId:foobar:copyfile
Configuration was not taken into account when I write:
plugin
Sorry, subject line should have been Maven-eclipse-plugin.
Dear Maven users,
Any idea when the following improvement / issue would be implemented /
resolved ?
http://jira.codehaus.org/browse/MECLIPSE-34
http://jira.codehaus.org/browse/MECLIPSE-34
Regards.
HI all,
Assume I have something like
CommonJSP/
App1/
+ App1-WAR/
App2/
+ App2-WAR/
My colleagues now use ant to copy those shared JSPs in CommonJSP to individual
App1-WAR and App2-WAR.
I am now trying to help them to switch to Maven2. I am not sure if it is
normal to have Common JSPs
Thanks for the tip. But doesn't mvn -X install only show you the
plugins you are using when running install?
Assuming one can get a complete list of plugins and their versions, does
that mean all I needed is the maven-2.0.4.zip file, a copy of the local
repository, and the project's pom files
Hi Ingo,
-Original Message-
From: Ingo Düppe [mailto:[EMAIL PROTECTED]
Sent: vendredi 1 septembre 2006 01:22
To: Maven Users List
Subject: Clover and additional target/src directory
Hi,
I use AndroMDA to generate my sources under /target/src and we uses
clover to for code
IIRC if a war artifact depends on a war artifact everything in the
webapp dir is copied.
Adrian Shum wrote, On 2006-09-01 11:00 AM:
HI all,
Assume I have something like
CommonJSP/
App1/
+ App1-WAR/
App2/
+ App2-WAR/
My colleagues now use ant to copy those shared JSPs in
I've recently moved from Maven 1 to 2.
One of the things I'm trying to do is set permissions on my scripts in my
.tar.gz assembly.
In maven 1 I used the ant:tar task and could specifiy permissions using
ant:tarfileset
Is there any way of specifying the same in a maven 2 assembly?
Thanks,
Ian
You can use filemode and directorymode to set the permissions. Refer
to http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
for more info.
HTH,
Vinod.
On 9/1/06, Orford, Ian [EMAIL PROTECTED] wrote:
I've recently moved from Maven 1 to 2.
One of the things I'm trying to do is
Excellent. Too easy! Many thanks. Ian.
You can use filemode and directorymode to set the permissions. Refer to
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
for more info.
The information
Is there a way of setting up maven to only send build failure e-mails to
only the developer(s) working on a sub-module that fails to build?
The idea is to avoid sending messages to all team members , when the build
failure only concerns particular individuals working on the failing
sub-module.
Hi all,
I have tried to use the assembly plugin to
create a zip for deploy purpose. I would like to put those zip into another
location during deploy phase other than the maven repository (I would like to
have a simpler structure so users can browse them easily).
I successfully created
Hi everyone,
Does anyone know of a tool (preferrably a maven2 plugin) to generate a
graph of dependices between modules within a maven2 project? I'm
thinking of something that you could point at the root pom.xml and
would go through all the modules - possibly something like springs
beandoc (BTW
Hi everyone,
I'm using the cargo plugin to deploy a webapp to tomcat. This webapp
depends on a database and I would like run a SQL script to deploy the
updated schema before deploying the webapp. What is the best approach
to this? Is there a plugin to facilitate this?
Once I have this working I
We are thinking to a solution on a similar problem, but in a contionuous
integration context.
Our solution should be the following:
- on the pre-integration-tests phase, execute the following tasks
through the maven-antrun-plugin:
1 - drop all tables in your database
2 -
yep
On 9/1/06, Feniks Nator [EMAIL PROTECTED] wrote:
You only need to modify the port of http and xmlrpc services in
apps/continuum/conf/application.xml
Probably a stupid question: so I install a second copy of continuum?
--
jesse mcconnell
[EMAIL PROTECTED]
Hi,
I am very new to continuum and need to ask a rather noob question.
We are using version 1.0.3. We are using a shell script to kick off the build
and I want to configure the email notifications. I manually added notifiers but
nothing happens? For Maven 2 projects it appears as though the
hi all,
i m runnig maven2 for building my app, which uses spring.
i tried to set as dependency spring
dependency
groupIdorg.springframework/groupId
artifactIdspring/artifactId
version1.2.5/version
scopecompile/scope
/dependency
downloading htat dependency will require
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
On 9/1/06, Marco Mistroni [EMAIL PROTECTED] wrote:
hi all,
i m runnig maven2 for building my app, which uses spring.
i tried to set as dependency spring
dependency
groupIdorg.springframework/groupId
Hi,
I have been trying to get the jspc-maven-plugin to work. Here is the
relivent part of my pom.
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdjspc-maven-plugin/artifactId
configuration
source1.5/source
target1.5/target
On 9/1/06, ben short [EMAIL PROTECTED] wrote:
Hi,
I have been trying to get the jspc-maven-plugin to work. Here is the
relivent part of my pom.
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdjspc-maven-plugin/artifactId
configuration
source1.5/source
Sounds like the phase thing might point at the problem - say you had two
executions defined. This is useful if you want to define the same goal (or
different goals) to be run in different phases. But, just running it from
the command line, how would maven know which one to use? Following this
Howdy,
I was just curious about how folks are using prepare sources prepare
resources.
1) When you generate sources/resources, do you generate them to
/src or /target? If you generate them to /target do you have to add them
to the sources in the pom.xml?
2) I need to
Ok,
I set the version to 1.4.2 and it works ok.
Heres the output for mvn -X compile...
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settings\Ben Short\.m2\plugin-registry.xml'
[DEBUG] Building Maven
Does the sourceRoot defined in the antRun get added to the
maven-compiler-plugin source path?
Lee Meador-2 wrote:
Never mind. But I do have a question down there ...
Although I had fun poking around into maven2 and creating a plugin of my
own
that would compile, load and run (even
Are there sql server jars in central, of so whats the groupId?
You mean JDBC connectors?
Those of mysql and hsqldb are available, search with www.mvnrepository.com
Those of MS SQL server are not of course, because it's illegal to
distribute them.
PS: after downloading the JDBC connector for MS sql server from MS,
unjar and rejar and unsign it, because
hi all
i am using maven 1.0.2 and i want to use latest version of jar which
are defines in the project.xml , i mean to say that in our remote repository
there are 4 to 5 version of jar but i want to use the latest version
(i.efrom remote repository only latest version will download but i am
On 9/1/06, Douglas Ferguson [EMAIL PROTECTED] wrote:
Are there sql server jars in central, of so what's the groupId?
Are you looking for a JDBC driver for Microsoft SQL Server?
Google turned up jTDS: http://jtds.sourceforge.net/
It's on ibiblio in groupId net.sourceforge.jtds
Hi,
Are there any news about the generation of release-pom.xml with
release:prepare ?
The Mergere book talks about release-pom.xml without even mentioning
generateReleasePoms argument - which anyway seems to be useless since, as
stated below, the related code is not implemented (yet ?).
Has
mvn assembly:assembly -DdescriptorId=jar-with-dependencies
+
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-assembly-plugin/artifactId
configuration
archive
manifest
mainClassmy.package.to.my.MainClass/mainClass
I'm a bit confused by your email description. What happens when you change
the version number? You didn't state how you are trying to get version 1.5,
and the dependency example you gave shows 1.2.
Additionally, I suggest these changes to your example, based on what I
understand from your
On 9/1/06, ben short [EMAIL PROTECTED] wrote:
Ok,
I set the version to 1.4.2 and it works ok.
Heres the output for mvn -X compile...
I wonder whether it pertains to the window long path issue and the
spaces in your project path. Anyway, would you mind reporting an issue
and put it in the
I'll log it right away.
Thank for your help.
Ben
On 9/1/06, Jacek Laskowski [EMAIL PROTECTED] wrote:
On 9/1/06, ben short [EMAIL PROTECTED] wrote:
Ok,
I set the version to 1.4.2 and it works ok.
Heres the output for mvn -X compile...
I wonder whether it pertains to the window long path
Try to add the following dependencies to your POM:
dependency
groupIdjavax.servlet/groupId
artifactIdjsp-api/artifactId
version2.0/version
/dependency
dependency
groupIdtomcat/groupId
What you say is right but my pb is the following:
my plugin is an aggregator style, which means I want only one execution on
the root pom.
If I set a phase this behavior does not happen!
my plugin will be executed once per sub-pom :(
On 9/1/06, Jared Bunting [EMAIL PROTECTED] wrote:
Sounds
Christophe,
That fixed it.
Thanks
Ben
On 9/1/06, Christophe DENEUX [EMAIL PROTECTED] wrote:
Try to add the following dependencies to your POM:
dependency
groupIdjavax.servlet/groupId
artifactIdjsp-api/artifactId
version2.0/version
Interesting, I think I 'll try this one as an alternative :)
Wendy Smoak wrote, On 2006-09-01 4:03 PM:
On 9/1/06, Douglas Ferguson [EMAIL PROTECTED] wrote:
Are there sql server jars in central, of so what's the groupId?
Are you looking for a JDBC driver for Microsoft SQL Server?
Google
FYI: My experience is that the JTDS driver is better than the one from
Microsoft anyway.
-Stephen
On 9/1/06, Geoffrey De Smet [EMAIL PROTECTED] wrote:
Interesting, I think I 'll try this one as an alternative :)
Wendy Smoak wrote, On 2006-09-01 4:03 PM:
On 9/1/06, Douglas Ferguson [EMAIL
I'm running continuum 1.0.3 on a large multimodule project. On one of my maven2
projects inside continuum, I have a 'clean deploy' build definition recursively
building a large chunk of code, which seems to keep hanging during the deploy
phase. I have to keep restarting continuum so that it can
I've used this. It's pretty fast and stable from what I saw...
-Original Message-
From: news on behalf of Geoffrey De Smet
Sent: Fri 9/1/2006 11:10 AM
To: users@maven.apache.org
Subject: Re: sql server jars
Interesting, I think I 'll try this one as an alternative :)
Wendy Smoak
Takashi,
I got -D args working with the following brute force method. Since it
works, I haven't gone back to simplify. I could probably get rid of the
if/else by adding the -- escape to your original compgen. That alone
made me wonder how you got -D to complete since it wasn't escaped going
Hi,
looking at reproducable builds, I would consider auto updating of
anything as a bug. WDYT?
Bernd
I recently gave a quick hands on introductions to Maven (v2) at the
company I'm currently consulting at. The company is now interested in
testing maven out in a project. There are two major
Hi All
I would like remind you of the twentieth first birds-of-a-feather (BOF
21) of the Java Web Users Group, taking part at the Skillmatters
building, London, England
on Tuesday 5th September 2006
FYI:
http://www.jroller.com/page/javawug?entry=announcement_javabof_xxi_max_a
ntoni
The feature
I asked this question today.
Basically to get the dependency graph, you can run the site goal.
If you have a multi-module project, you will have to run the site goal
within each module directory since the plugin currently does not
collate all the dependency information.
HTH,
Vinod.
On 9/1/06,
Yeah, that's probably 90% of what I want. I'm thinking of something
that draws a visual graph and only shows inter-module dependencies
On 9/1/06, Vinod Panicker [EMAIL PROTECTED] wrote:
I asked this question today.
Basically to get the dependency graph, you can run the site goal.
If you have a
hi Jeff Jensen
thanks to replay ,yes you are write i have to use 1.5 in version
but i need some think that i have not to mention the version no. and it
will download the latestes jar file from the repository ,i am sure that to
do this work we have to use snapshot in version but how i can
Well run mxn -X deploy and you should get all plugins used up to and
including deploy goal. Assuming all your plugins are bound to a proper
lifecycle phase, they should all show up in that list.
Another good component (imo) in guaranteeing a reproducable build is a
Corporate Maven repo and
So I think you are asking how to always get the latest version. If you are
in development mode, then yes use SNAPSHOT for that:
dependency
groupIdcom.daffodil.dak.gwt/groupId
artifactIddakhar/artifactId
version1.5-SNAPSHOT/version
properties
Doesn't the release plugin hard-code the plugin/dependency versions in the
distributed pom, for just the reasons being discussed?
On 9/1/06, Wayne Fay [EMAIL PROTECTED] wrote:
Well run mxn -X deploy and you should get all plugins used up to and
including deploy goal. Assuming all your plugins
Thanks for the feedback Barrie and Wendy. The inclusion of the assembly
worked great, the admins and I thank you. Wendy, I've downloaded the book
and read it, as well as viewed your example pom, but I'm still having a
difficult time getting my mind around how to do this. We run our own custom
On 9/1/06, Todd Nine [EMAIL PROTECTED] wrote:
Most of these questions would best be addressed to the Cargo user list.
http://cargo.codehaus.org/Mailing+Lists
Clustered JBoss configuration is beyond me, but I bet Vincent can help. :)
Just picking out one thing:
Also, what project
What's the difference between
build
directory
outputDirectory
...
I'm using maven-native-plugin, which has identical configuration
elements, but I'm prevented from using them, i.e.
build
plugins
plugin
configure
directory
Hi,
I don't know if what I did is best, so I'm posting for comments. I've read
some of the postings on this list regarding resource filtering in war
plugin. I've been able to get it to work using version 2.0.1 of the
plugin.
In some other posting, the point is made that web resources are
I just wrote a script to build a couple of modules in a specific order,
for dev purposes.
Once I did this, I thought that it might be handy to make it an ant
script.
Anybody call mvn from ant before? Just wondering if there are any tasks
for this already?
Heres my shell script
pushd
I do it all the time. It's allowed us to start migrating our Ant build
project-by-project to Maven without retraining our dev monkeys during
the transition ;-). Projects that have been converted to Maven now have
bare-bones build.xml files for per-project customization, but the
majority of
Hi,
I was trying to test the plugin maven-release, and got a
NullPointerException while executing the prepare goal. I've used a
project created with the archetype:create goal, and the only
modifications I have made were to set the properties needed by the
release plugin in the pom.xml:
scm
Hi,
On the Maven page 'The Ten Minute Test - Creating a
Project with Maven 1.x' download page,
http://maven.apache.org/maven-1.x/start/ten-minute-test.html
there is a note with a link to allow you to download
sample code Note that you can download some sample
code instead of creating the
native-maven-plugin''s outputDirectory purposely set to readonly so that all
outputs ( .o, .dll, etc) stay inside
target directory. and mvn clean can clear them as well.
Why do you want the output files outside of project? perhaps there is
another way to accomplish
what you need after the build.
70 matches
Mail list logo