Hi,
Any best practice for continuum-ly building two separate branches of
a code line?
Thanks,
Craig
Begin forwarded message:
From: Brett Porter [EMAIL PROTECTED]
Date: August 30, 2007 5:25:16 PM PDT
To: Craig L Russell [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Post-1.0.0
The best practice is to create two groups, one by branch. So you can identify easily all projects in a branch and you can build all projects of the branch by building the group. When you want to
delete the branch from Continuum, you only need to remove the group that contain the branch.
I isn't possible actually. We're looking at a solution and will try to include
it in 1.1
Emmanuel
mfs a écrit :
Dear All,
Is there a way i can configure Continuum to send email notifications just to
1) the committer of the code
2) administrator
Write now the emails are being sent to the
Thanks Brett, will do so..but do you think thats the only option for
atifactory users ?
Farhan
Brett Porter wrote:
You should change the Maven goals to be deploy instead of install,
and configuration the distributionManagement appropriately. It's best
to just let Maven handle it :)
So you should vote for http://jira.codehaus.org/browse/MECLIPSE-252 too :P
Regards,
Marcin
Dan Tran wrote:
You poms are fine. I have seen this in my projects too.
-D
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hello,
I have a unit test which tests a shell script. This shell script
calls java code, so it fails under Maven, because the java coded
launched by the shell script doesn't have a complete classpath. I can
work around this by using useSystemClassloader, but it turns out
this was
Thanks Wayne, that -U appeared to work.
Now I started out the tutorial with the command
mvn -U archetype:create \
-DgroupId=sample.plugin \
-DartifactId=maven-hello-plugin \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DarchetypeArtifactId=maven-archetype-mojo
because the tutorial
You need to run mvn install to install your plugin into the local repo cache.
Then you can test your plugin in another project by specifying mvn ...:sayhi.
Wayne
On 8/31/07, siegfried [EMAIL PROTECTED] wrote:
Thanks Wayne, that -U appeared to work.
Now I started out the tutorial with the
Hello William,
I don't need the files in the resources folder for my .war.
There is only the components.properties (my filter file):
jndi.pattern=trilobita-1.0...
embeddedEjb=true
I filter the web.xml.
...
webResource
directory
${basedir}/src/main/webapp
/directory
Hi,
a few days ago, I have made available a new (snapshot) release of a
Castor module using Maven 2. A user just pointed out to me that the JAR
file in question
http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-orm-1.1.jar
includes a few resources at the root level
I have a deployment problem with maven 2 and WebDav protocol.
My context :
---
I have corporate repositories (inhouse and inhouse.snapshot) with Proximity
proxy.
As Proximity seems to not support efficiently WebDav protocol, I also have a
apache frontal allowing access to my
wagon-webdav does create directories and it's being widely used, i
even use it with svn
I'd look for something specific to your configuration that may not be
the typical configuration or an error in your server setup
On 8/31/07, Rémy Sanlaville [EMAIL PROTECTED] wrote:
I have a deployment
i have webdav working without problems... using digest authentication
i might have a had a few issues but nothing that was not resolved by watching
the apache logs...
much faster than ssh/sftp IMO
On Friday 31 August 2007 21:50, Rémy Sanlaville wrote:
I have a deployment problem with maven 2
Hi,
Project C has project P as parent. Is it possible in the pom of P to
refer to its own version?
If I use ${pom.version} or ${project.version} in the pom of P it will
evaluate to the version of C when building C. I need a way to refer to the
version of P.
Peter
--
View this message in
Hi Peter,
You can access all POM information by specifying the elements in a dot
notation.
E.g. the parent version is defined in your pom.xml as follows:
project
parent
version
/...
The property notation to access this value would be: ${
project.parent.version}.
Cheers
Jo
On 8/31/07,
Andy
are you having problems with the hsqldb dependency anymore?
I assume, since you haven't said otherwise, that you now get a Unable
to get resource 'jcalendar-etc' from repository. Is that correct?
Is anything working? Can you build any project successfully with maven?
Did you modify
Yes, but if I use ${project.parent.version} in my parent pom then it would
only work when building the child, not when building the parent (or a
grandchild).
What I would like is a way to refer to the version of this pom (ie the
same as the reference) not relative to the pom from which the build
hi,
i am using assembly:assembly to pack my release. inside jar plugin i enable
classpath setting with addClasspath. this way when working with snapshots
inside MANIFEST.MF lib-xx-SNAPSHOT.jar gets added.
conversely when executing assembly goal i get a timestamp added to libary.
mainJar
-lib/
Hi
I've got a problem. When I'm running invoker:run with active profile
defined in settings.xml evrything works fine.
But when i want to activate profile through commandline -P profile,
invoker don't get it.
Is there a way to get current profile name from some varible like
Hi
I have a question regarding the use of the install:install-file goal for
instalation of a Codehaus mojo. I managed to install the Cobertura mojo,
but I am sure I didn't do it in the intended manner.
From the page
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html
I
I have a single web project which requires three distinct .war endstates,
where the only difference between each are the runtime dependencies (some
configuration files may also be different in the future). Are there any
recommendations for accomplishing this?
Some background:
* The assembly
Hi Everyone,
Is it possible to use the maven hibernate plugin with Maven2? Is there a
replacement for this Maven1 plugin?
Thanks,
David
I think this is simply an incorrect assumption on your part.
I'm not surprised Maven doesn't like URLs specified for install-file.
You are welcome to file an RFE in Jira and perhaps someone will add
that feature, it sounds reasonable.
Same goes with expecting Maven to get the groupId etc fields
I'd take the overlays approach with an abstract web project,
resulting in 3 separate poms and projects, and thus 3 separate war
endstates as you called it.
Wayne
On 8/31/07, Shelley [EMAIL PROTECTED] wrote:
I have a single web project which requires three distinct .war endstates,
where the
Thanks Wayne.
I tried that but no luck! The tutorial does not specify where to put
c:/dev/sandboxes/maven/sample-mojo/maven-hello-plugin/src/main/java/sample/p
lugin/GreetingMojo.java. I suspect I don't have this in the correct
directory. Since I did the steps out of order, I already had a
Hi,
here's the Maven2 plugin [1].
-Tim
[1] http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/
David Williams schrieb:
Hi Everyone,
Is it possible to use the maven hibernate plugin with Maven2? Is there a
replacement for this Maven1 plugin?
Thanks,
David
I'm working on a simple HelloWorldEJB stateless session bean that I want to
run in Weblogic. I'm using the xdoclet plugin and xdoclet is able to
generate the home/remote classes. Should xdoclet be able to generate the
weblogic-ejb-jar.xml descriptor? If so, how do I do this? Is there a
special
Hi,
perhaps it would be better if you would start from scratch, to have a
clean state.
Then just do this:
1.
mvn archetype:create \
-DgroupId=sample.plugin \
-DartifactId=maven-hello-plugin \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DarchetypeArtifactId=maven-archetype-mojo
I think we're talking past each other here.
I don't believe you can USE a plugin in the same pom you're using to
BUILD the plugin.
You need to REMOVE the plugin node in the pom, run mvn install,
then make another pom/project and USE the plugin there.
Wayne
On 8/31/07, siegfried [EMAIL
Yes, I recently switched from Torque to Hibernate3 and am using this:
http://tinyurl.com/2rqanm
On 8/31/07, David Williams [EMAIL PROTECTED] wrote:
Hi Everyone,
Is it possible to use the maven hibernate plugin with Maven2? Is there a
replacement for this Maven1 plugin?
Thanks,
David
Have you looked at the XDoclet plugin to create Hibernate mappings?
On 8/31/07, Tim Kettler [EMAIL PROTECTED] wrote:
Hi,
here's the Maven2 plugin [1].
-Tim
[1] http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/
David Williams schrieb:
Hi Everyone,
Is it possible to
Thanks Carlos and Michael for your reply.
I try to find what's wrong with apache. I will tell you if I find something
wrong.
Did you have a specific configuration of apache for the WebDav protocol ?
Rémy
Thanks for the response Wayne.
This was pretty much a learning exercise. I let my misreading of some
documentation guide me. Now that you say it, seems pretty obvious now that
a third-party plug-in is just like a Maven-provided plug-in, but from
another repository. So I need to define the
All,
Do you have recommendations on a good Maven2 plugin for Eclipse? I just
tried M2 Eclipse from Codehaus (http://m2eclipse.codehaus.org) and it seems
a little klunky - my Eclipse projects have build errors (they didn't prior
to the plugin, and compiling using the poms from the command line
Hi,
I am using Netbeans 6 M 10 with maven 2.0.7 configured for external build.
Normal compile and build uses the external IDE. But if I try to run or
debug my application then it shows the message
WARNING: Project Run execution within Netbeans requires running the build
within the same VM
Hello,
I am using cargo-maven2-plugin for deploying my webapp into my webcontainer.
I have no problems using tomcat5x profile but when I use the jetty6x
profile with:
container
containerIdjetty6x/containerId
First, I believe this question may not relate to maven, but I believe
lot of users
on this forum use Selenium for webtesting.
I am running into a problem where selenium server does not shut down b/c
a webtest encounters a http 500 error. I use a combination of
selenium-maven-plugin, cargo for
Hello,
I have a multi-module maven2 project. I am trying to deploy my modules
to a remote m2 repo without including the timestamp suffix in file names.
I use maven-deploy-plugin and the deploy phase using the command:
mvn deploy -DuniqueVersion=false
on the top level project. This is
Dan Tran wrote:
First, I believe this question may not relate to maven, but I believe
lot of users
on this forum use Selenium for webtesting.
I am running into a problem where selenium server does not shut down b/c
a webtest encounters a http 500 error. I use a combination of
Hi,
What I would like is a way to refer to the version of this pom (ie the
same as the reference) not relative to the pom from which the build is
invoked.
What about ${project.version}? AFAIK this should work.
HTH
Thorsten
the HTTP 500 comes from my tomcat throwst back to selenium web browser due
to a application error.
However once in that mode, the browser does not terminate itself just
like any other
test.
My test case's tearDown does instruct Selenium to close its session,
however since the browser does not
I am running eclipse 3.3 witht eh codehause maven integration. When I run
mvn clean install at the command line, it runs fine. But when I run through
eclipse it gets this error:
[INFO]
[INFO] Building
Thanks Tim!!! I tried to use the plugin but the schema-export goal doesn't
exist in the 2.0-alpha-2.jar. Do you have any suggestions? In the meantime
I'll look at the XDoclet plugin.
Thanks,
David
On 8/31/07, Tim Kettler [EMAIL PROTECTED] wrote:
Hi,
here's the Maven2 plugin [1].
-Tim
On 8/31/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
I am using Netbeans 6 M 10 with maven 2.0.7 configured for external build.
Normal compile and build uses the external IDE. But if I try to run or
debug my application then it shows the message
WARNING: Project Run execution within
Hi Milos,
Even if you set the entire IDE global preference to use external maven, if
you click the execute ot debug button of the IDE it switches to the
internal plugin I get this warning too.
WARNING: Automatically falling back to embedded Maven despite project
setup.
The symbol error I
This is the expected behavior.
Cameron Jones wrote:
Hi,
In my maven project when i generate the site for the parent and all
sibling modules the module's inherited menus have default context
paths from their deployment location and not the relative path from
the parent site. Is this expected
This is a classic, but really has nothing to do with Maven.
The root cause is that commons-logging and log4j are in different class
loaders. The best way to track down what is going on is to install
commons-logging 1.1 (if you are not already using that version) and to
turn on diagnostics
Some pom.xml and site.xml examples would be helpful...
Martin Alejandro Villalobos wrote:
Hello, I have a question.
I'm executing mvn site site:deploy on a project with several modules ,
but... when the site is deployed, the links in the Modules section
are right for the parent index, but
Thanks Tom,
I'll bring this up with the commons developers and we'll see what
happens. Probably won't be in this release though.
Tom Huybrechts wrote:
This is the OSGi technical whitepaper:
http://www.osgi.org/documents/collateral/OSGiTechnicalWhitePaper.pdf .
Most relevant here is the
Hey,
it's switching to the IDE's own embedder (if I recall correctly) in
6.0 M10 only if the netbeans-run-jar plugin is invoked on Run Project
action. If it's not, (after you change that setting in the project
dialog), it shall invoked the command line version.
BTW: I've got a fix for the
I would like to extend a big Thank you to the Maven community for
helping us out with this review.
--
Dennis Lundberg
on behalf of the Apache Commons Logging team
Dennis Lundberg wrote:
Hi all
The poms for commons logging has taken some beating on this list over
the years. The reason for
We hit the same problem. maven 2 plugin uses maven 2.1 and we prefer using
hte command line tool.
You can setup a launch configuration in eclipse which relies on variables
${project_loc} and ${maven_bin} which gives the launch the context of the
current project and maven_bin is user defined to
Dave,
What I do for some large projects is use the Codehaus plugin to resolve
dependencies which it does alright (it has its bugs no doubt but I find it
usable) and actually use the Ant view to execute Maven. This allows me to
essentially do similar things as an External Launch configuration and
On Thu, Aug 30, 2007 at 04:52:05PM -0500, Wayne Fay spake thus:
On 8/30/07, Alan D. Salewski [EMAIL PROTECTED] wrote:
Hope that cookbook is helpful to someone,
This is a great contribution. I don't suppose I could get you to post
it in the Maven User Wiki?
Hi all,
I have a lot of multi-module projects that I need to release in an
automated way. To help me with that, I wrote an alternative release
plugin based on the release-manager infrastructure;
Features/Limitations:
- svn only
- no separate prepare/perform. POMs are modified locally, and if the
That worked! Thanks! Can someone make changes to the tutorial on the website
with the directions below? I'd be glad to if someone gives me the password.
Thanks,
siegfried
-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED]
Sent: Friday, August 31, 2007 9:39 AM
To: Maven Users
What version of Weblogic are you using? You can use the weblogic tag
to generate the XML files but as far as I know xdoclet can only
generate xml files for 8.x and prior. 9.x and 10.x are not supported
but then maybe you should be using JPA, EJB 3.0 or Hibernate by then.
Scott Ryan
CTO
Hi Farrukh,
The uniqueVersion is not a parameter of the deploy:deploy goal (which is
what's being executed when you do 'mvn deploy'). This parameter is for
the deploy:deploy-file goal. And since you did 'mvn deploy', the
uniqueVersion parameter is ignored..
There's an open issue for this
Maria Odea Ching wrote:
Hi Farrukh,
The uniqueVersion is not a parameter of the deploy:deploy goal (which
is what's being executed when you do 'mvn deploy'). This parameter is
for the deploy:deploy-file goal. And since you did 'mvn deploy', the
uniqueVersion parameter is ignored..
There's
Np :-)
I don't think it's already fixed yet.. the issue is still open.
-Deng
Farrukh Najmi wrote:
Maria Odea Ching wrote:
Hi Farrukh,
The uniqueVersion is not a parameter of the deploy:deploy goal (which
is what's being executed when you do 'mvn deploy'). This parameter is
for the
Hi Dan,
This is just from my experience with selenium..
The browser is never closed whenever there is a problem (like the HTTP
500), and there have been times when I've been left with 20+ Firefox
windows open :-( What I usually do is just figure out what the cause of
the problem and fix it
a, i am stucked then.
and your selenium hangs as well?
Thanks
-D
On 8/31/07, Maria Odea Ching [EMAIL PROTECTED] wrote:
Hi Dan,
This is just from my experience with selenium..
The browser is never closed whenever there is a problem (like the HTTP
500), and there have been times when
actually, my continuum box ( 1.0.3 with windows ) hang due to open
browsers, not the selenium server.
any solution to this?
-D
On 8/31/07, Dan Tran [EMAIL PROTECTED] wrote:
a, i am stucked then.
and your selenium hangs as well?
Thanks
-D
On 8/31/07, Maria Odea Ching [EMAIL
You are right, the plugin website seems to be out of date. Have you
looked at the hbm2ddl goal?
You should ask specific questions about the plugin on the mojo-user list
[1].
-Tim
[1] http://mojo.codehaus.org/mail-lists.html
David Williams schrieb:
Thanks Tim!!! I tried to use the plugin
64 matches
Mail list logo