Hi,
In my mojo I have written following code to start the container:
package sample.plugin;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.codehaus.cargo.container.Container;
/**
* Says "Hi" to the user.
* @goal sayhi
*/
public clas
Can someone please tell me what I am doing wrong. I've read that menu
items, by default, do not get inherited. I'm using Maven 2.0.9. I
have a parent project with two child modules. The parent's site.xml
file looks like
you need to use 1.0-beta-2 of the ftp wagon with 2.0.9. 1.0-beta-3
will work with 2.0.10.
Cheers,
Brett
2008/7/18 Enrique Gaona <[EMAIL PROTECTED]>:
>
>
> Hi,
> I'm running into problems building my projects using maven 2.0.9. The
> error message returned by Maven, java.lang.AbstractMethodError:
I want to merge two xml files using xslt.
Both the faces-config xml files have a faces-config tag. If I put the complete
faces-config tag, the merge fails. Why?
the single faces-config tag is
the complete faces-config tag is
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/w
Hi,
It's funny you asked, I just went through this recently. Do you already have a
private key setup with your ssh prog? maven will automatically search for your
private key in known locations such as ~/.ssh/id_dsa, ~/.ssh/id_rsa.
Then you may have to setup a passphrase in your ~/.m2/settin
That's a fair question. This may very well be a "Doc, it hurts when I do
X", "Well, dont' do X" case.
However, we currently have things set up to include the Maven version in UI
for one of the web components, so that would still say SNAPSHOT, whereas
doing a real-release would help indicate the v
Hi,
> Hello Danilo, I think you might be looking for using a parent POM. Something
> like:
Actually what I'm trying to achieve is to configure my site deploy to
upload the site via scp to a directory that is defined by the groupId,
artifactId and version. Something like this:
Thanks a lot John ! It worked wonderfully well (and was elegant too) and
I have become a fan of maven :P
- Ravi
-Original Message-
From: John Casey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 2:53 PM
To: Maven Users List
Subject: Re: Iterating through the build based on act
you can pass -Dmaven.repo.local=.
That´s very usefull too, if you have a Continuous Build system running,
where each build should work on its own "local repository".
Torsten
thomas2004 <[EMAIL PROTECTED]>
17.07.2008 17:15
Bitte antworten an
"Maven Users List"
An
users@maven.apache.or
Thank you very much Raphaël! I was missing the "-DarchetypeCatalog=local" ...
Now it works fine.
-Original Message-
From: Raphaël Piéroni [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2008 12:40 PM
To: Maven Users List
Subject: Re: How to use an archetype I installed locally
Hi,
O
Hi,
One can install an archetype (a project with packaging=maven-archetype)
by calling mvn install. One can see a goal 'updateLocalCatalog' in this process.
Then in a fresh drectory, One can just call mvn archetyppe:generate
-DarchetypeCatalog=local
Hope this helps
Raphaël
2008/7/17, Archamba
Hello Danilo, I think you might be looking for using a parent POM. Something
like:
pom
some-directory-name
another-directory-name>
then..
s in POM in the subdirectories that reference the parent POM.
see the: maven-definitive-guide.pdf
HTH, David.
Danilo Tuler wrote ..
> Hi,
>
> Is the
That's right! Many thanks!
Jörg Schaible wrote:
>
> HI Thomas,
>
> Add a build.properties file to your user.home containing th line:
>
> maven.repo.local=
>
> - Jörg
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For
> Hi,
> We noticed some strange behaviour when switching to Maven 2.0.9. The
> background is:
>
> We have a patch for maven-javadoc-plugin that we applied internally
> and built a new version - 2.4.1 (while wating for the official 2.5
> release with our patch applied).
> The 2.4.1 version is de
Hi,
I'm running into problems building my projects using maven 2.0.9. The
error message returned by Maven, java.lang.AbstractMethodError:
org/apache/maven/wagon/StreamWagon.openConnection()V.Has anyone
encountered this error before? How do I fix this problem?I've provided
the screenshot
Julien Simon wrote:
> Hi,
>
> In your maven installation directory, you have to modify the
> settings.xml file under the conf directory. You can specify your
> local repository like that:
>
>
> c:\localRepository ...
>
>
> Regards.
that's M2, but question was for M1 ...
---
HI Thomas,
thomas2004 wrote:
> Hi all,
>
> Sofar I know, If I run maven command, maven will first look
> up the local
> repository and then the remote repository. I know also, the
> default local
> repository is "${user.home}/.maven". How can I change this to another
> directory, assumed to "c:\p
forget about it: I forgot to mvn clean...
it works as expected
Andy Pahne schrieb:
I have a resource folder that contains some JPEG images. Each of the
images is altered after process-resources.
I tried to exclude jpgs from filtering like that:
Hi,
In your maven installation directory, you have to modify the settings.xml
file under the conf directory. You can specify your local repository like
that:
c:\localRepository
...
Regards.
I have a resource folder that contains some JPEG images. Each of the
images is altered after process-resources.
I tried to exclude jpgs from filtering like that:
src/main/resources
true
**/*.jpg
Hi,
I have created a simple archetype and installed it on my own machine (PC
running Windows XP). I can see that it is installed in C:\Documents and
Settings\\.m2\repository\org\apache\maven\archetypes\. However, when I tried to use it with the goal "mvn
archetype:generate" I get the list below of
I've found out after some googling that the paper was published recently
(in 2007), and is not available for reading unless you subscribe to ACM
http://portal.acm.org/citation.cfm?id=1294338
As far as I can tell, FSMC+ is a tool that *can* be integrated with
Maven, i.e. it can be included in th
Hi all,
Sofar I know, If I run maven command, maven will first look up the local
repository and then the remote repository. I know also, the default local
repository is "${user.home}/.maven". How can I change this to another
directory, assumed to "c:\projects\mvexe" ?
Besides, my project called
Hi.
I would like to avoid site plugin to launch test with any target and
run the integration-test phase instead.
right now, if I run mvn site:stage the reports (cobertura, jdepend...)
runs and after I have this output:
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filter
Hi Sam,
Thanks for the link. I'll give it a try today.
Enrique
"Samuel Le
Berrigaud"
Why don't you test the snapshots ? You can configure a cron to deploy
nightly-buils, and SNAPSHOTS to have a unique timestamp number. You can also
configure the cron to tag if required, or (simplier IMHO) to include the SVN
revision in MANIFEST files.
Nicolas
2008/7/17 Stephen Duncan Jr <[EMAIL P
On Thu, Jul 17, 2008 at 9:40 AM, nicolas de loof <[EMAIL PROTECTED]> wrote:
> For comparable use case I use the release:stage goal (in place of
> release:perform) to create the release but not remove the "rolback" files.
> I
> can then create a 1.0 release to get tested, and return to 1.0-SNAPSHOT
Dear all,
our policy requires different artifacts (jars, sources, javadocs, etc.)
to be deployed to possibly different repos.
I guess this is possible through deploy:deploy-file, but I would
actually like to encode such policy in profiles, so that everything is
more streamlined and easy for the p
For comparable use case I use the release:stage goal (in place of
release:perform) to create the release but not remove the "rolback" files. I
can then create a 1.0 release to get tested, and return to 1.0-SNAPSHOT if
some issues are found. I just have to rename the tag from 1.0 to 1.0-rcX (or
dele
On Thu, Jul 17, 2008 at 8:46 AM, Stephen Duncan Jr <[EMAIL PROTECTED]>
wrote:
> I want to use the release plugin to make testing releases, without
> interrupting ongoing development. So, for example I want to take a project
> that is at 1.0-SNAPSHOT, and has dependencies that are at 1.0-SNAPSHOT.
If you are attempting to filter resources in src/main and src/test, there
are a few "gotchas" to look out for. Generally, the format of your pom.xml
should be as follows:
// START POM.XML SNIPPET //
src/main/filters/.properties
src/test/filters/.properties
Hi,
Is there any property that contains the "directory name" of the groupId?
I mean, if the groupId is "org.springframework.spring-core" I would
like to get the string "org/springframework/spring-core" and use that
in my site distributionManagement section.
Thanks,
Danilo
---
On Thu, Jul 17, 2008 at 8:49 AM, Stephen Connolly <
[EMAIL PROTECTED]> wrote:
> why not use mvn scm:branch to move to a branch and then make the
> release from the branch and finally remove the branch
>
>
> -
> To unsubscribe, e-m
why not use mvn scm:branch to move to a branch and then make the
release from the branch and finally remove the branch
On Thu, Jul 17, 2008 at 1:46 PM, Stephen Duncan Jr
<[EMAIL PROTECTED]> wrote:
> I want to use the release plugin to make testing releases, without
> interrupting ongoing developme
I want to use the release plugin to make testing releases, without
interrupting ongoing development. So, for example I want to take a project
that is at 1.0-SNAPSHOT, and has dependencies that are at 1.0-SNAPSHOT. I
want to make a release for 1.0-beta-1, with the dependencies at 1.0-beta-1
(assum
My previous suggestion about ${dollar}{basedir} does not work, the end result
still contains the *value* of basedir (apparently there are two escaping
rounds).
Am I out of options?
Karel Vervaeke wrote:
>
> Hi, is there a way to escape ${...} in filtered resources? My (filtered)
> resource sh
Hi, is there a way to escape ${...} in filtered resources? My (filtered)
resource should contain
${basedir} once literally and once substituted.
I have tried various escaping methods:
$${basedir}
${$}{basedir}
${'$'}{basedir}
${{basedir}}
But none seem to produce the desired result. I can
problem is still remaining in surefire-2.4.3, see my last posting.
- torsten
Jörg Schaible <[EMAIL PROTECTED]>
17.07.2008 11:47
Bitte antworten an
"Maven Users List"
An
"Maven Users List"
Kopie
Thema
RE: own classes and test-classes at the end of test classpath running
surefire-2.4
[EMAIL PROTECTED] wrote:
> Hi,
>
> if I´m running JUnit Tests with Surefire-2.4 I got the following
Use latest surefire plugin.
- Jörg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
SurefirePlugin#constructSurefireBooter changes the classpath by doing:
...
getLog().debug( "Test Classpath :" );
// Check if we need to add configured classes/test classes
directories here.
// If they are configured, we should remove the default to avoid
conflicts.
Hi everybody,
Has anybody seceeded in creating a site in several languages for a multimodule
project ?
I've filed some time ago an issue on JIRA following Denni's advice that
decribes the problem :
http://jira.codehaus.org/browse/MSITE-322 but nobody commented on this.
In brief, links for the
Hi,
I am using the maven ant task.
I need to extract some information from the pom file.
As the documentation explains, I load the pom like this:
Then, I get some info from the pom like this, for example:
Which is also in the doucmentation.
Hi guy,
how do I configure and/or the scm-plugin so it will use a private key
for authentication ?
Is their a cheat sheet somewhere ?
mit freundlichen Grüßen/best regards
Wolfgang Schrecker
"Der Inhalt eines Begriffs nimmt ab, wenn sein Umfang zunimmt; wird dieser
allumfassend, so muß der Inh
Hi,
if I´m running JUnit Tests with Surefire-2.4 I got the following
classpath:
[DEBUG] Adding managed dependencies for unknown:surefire-junit4
[DEBUG] org.apache.maven.surefire:surefire-api:jar:2.4
[DEBUG] org.apache.maven.surefire:surefire-booter:jar:2.4
[DEBUG] org.codehaus.plexus:plex
Hi!
On Wednesday 16 July 2008 rundmsef wrote:
> I have used Mavens filtering mechanism to substitute test vs.
> production properties in my packaged web application with no problem.
> However, I would like to be able to not only substitute values within the
> properties files, but also substitu
Unfortunately, it is only the JBoss 5 stuff that has proper maven repository
and projects etc... I guess it is doubtful that it is JBoss 5 he wants?
(even though it is soon to have a release candidate)
I suggest he does what we did:
1, Create a local company repository (we use nexus, completely a
46 matches
Mail list logo