Thanks Wayne, It worked.
I have been trying with jsch instead of ant-jsch.
Maruf
Wayne Fay wrote:
Add this to the bottom of your plugin node:
/executions
dependencies
dependency
groupIdant/groupId
artifactIdant-optional/artifactId
Hi,
I'm using the sandbox Tomcat Maven Plugin 1.0-SNAPSHOT.
I have some questions concerning the deployment of a war file.
I have a directory where, from time to time, new Builds are stored.
The dir looks like:
DIR
| Build_001_Dir
|
Hi there,
In my continuing experimentation with maven I was just checking out the
release plugin and how it worked but got hit with 'svn' is not recognised
as an internal or external command on my windows laptop. I have no
subversion installed as every application I'm using (hudson, idea etc.)
hi all
i am using JDK 1.5 and Maven 2.0.4
I have written a simple program but its not working
pom.xml
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
Hi Raj
I don't think you need the maven.xml file.
Try running
mvn package
This should compile your program and build a jar file which will be
placed into the target folder.
Let me know if it works.
Patrick
On 15/02/07, Rajmahendra [EMAIL PROTECTED] wrote:
hi all
i am using JDK 1.5 and
There's no maven.xml in maven2, this is maven1 specific. You should
take some time to read the mini guides on the maven web site first.
Are you behind a firewall? It sounds like maven can't access the repository.
Stéphane
On 2/15/07, Rajmahendra [EMAIL PROTECTED] wrote:
hi all
i am using JDK
Hi
we are using the maven 2 eclipse plugin with eclipse:eclipse to create our
eclipse project files. Unfortunately there seems to be no way to create a
classpath entry with an excluding attribute. This would be very helpful to
exclude .svn files form source path.
Has anybody an idea on how to
Check out the following post:
http://www.nabble.com/How-to-upload-3rd-party-source-jars-to-external-repository-tf2594844.html#a7240886
-Stephen
On 2/14/07, Dave Hoffer [EMAIL PROTECTED] wrote:
What I meant was is there a way to use deploy:deploy-file [with all the
parameters] to handle source
Good day to you, Raj,
Aside from the maven.xml that's already been mentionedtry running with
-cpu to check for plugin updates (i.e. mvn clean install -cpu ).
Cheers,
Franz
Rajmahendra wrote:
hi all
i am using JDK 1.5 and Maven 2.0.4
I have written a simple program but its not
Good day to you, Wilko,
I don't think that's supported. You may want to file a jira issue for that
in [1].
Cheers,
Franz
[1] http://jira.codehaus.org/browse/MECLIPSE
Wilko.kempa wrote:
Hi
we are using the maven 2 eclipse plugin with eclipse:eclipse to create our
eclipse project files.
Thanks much! That works great!
It amazes me that things like this are un-documented on the plug-in web
site. This seems like basic plug-in behavior, why not tell people that
it exists?
-dh
-Original Message-
From: Stephen Duncan [mailto:[EMAIL PROTECTED]
Sent: Thursday, February
Hi,
With new maven-ear-plugin 2.3 version i get unwanted java modules is
application.xml.
We have module structure where ejb module has another ejb module as
ejb-client dependent. Now with this 2.3 version this dependents
ejb-client dependent shows up is application.xml. If i exclude this
Hey dear maven users,
I got a question. I have one person in our team that updates the pom.xml and
creates the .classpath files namely MYSELF. But i attach sources to our own
project artifacts but i want the other members of our team to get the attached
sources when they download dependencies
Hi all,
I've got a problem that's brought our Maven adoption to a standstill. We've
included a dependency in our POM that, as usual, is causing a load of other
JARs and so on to be brought in. So far so good. Unfortunately, one of the
files is dependent on something which doesn't appear to
Done - please see http://jira.codehaus.org/browse/MECLIPSE-232
Wilko
-Ursprüngliche Nachricht-
Von: franz see [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 15. Februar 2007 13:00
An: users@maven.apache.org
Betreff: Re: [m2] Excluding attribute for eclipse maven 2 plugin
Good day to
eclipse:eclipse can handle dependencies with other eclipse projects if it is
ran from the top-level project. It will create .classpath .project files
for all modules and respect inter-projects dependencies
(see
On 2/13/07, Patrick Kimber [EMAIL PROTECTED] wrote:
Hi Ute
You can use the Maven 2 Exec plugin...
http://mojo.codehaus.org/exec-maven-plugin/
Although there is a bug which will prevent you passing parameters to
the application.
Patrick
can you say more about the mexec bug ? Maybe an
I used the new Maven 2.0.5 release to verify that the following bug still
exists:
I have multiple executions of the same plugin at the same life cycle phase
in a multi-module parent POM. I need to extract these plugin executions to
a profile in this parent POM. Now the executions are not
historically, maven scm started to develop pure java provider based on
svnkit.
However svnkit also now has a new license scheme that no longer
compatible with apache, and therefor the effort stopped.
http://svnkit.com/licensing/index.html
There is also effort to branch off svnkit but i dont
I know but it's not all project that are set to interproject dependencies
which causes a problem. It's also the mapping of generated foldes as source
folder in eclipse.
I'm trying to limit the knowledge people need about maven internals just
operational knowledge is required. We split up the
http://maven.apache.org/plugins/maven-dependency-plugin/sources-mojo.html
On 2/15/07, gc134728 [EMAIL PROTECTED] wrote:
I know but it's not all project that are set to interproject dependencies
which causes a problem. It's also the mapping of generated foldes as source
folder in eclipse.
I'm
I also try to limit maven knoledge requirement in my development team.
We only use [svn checkout] + [mvn eclipse:eclipse] + [import existing
projects into wrokspace].
This is the only thing required by developpers to get the project configured
in eclipse.
They code/test in eclipse and package all
Hello
Is there a maven2 webpshere plugin ?
thanks
-
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are
I'm using 'mvn jetty:run', and trying to get it to work with rapid
application development where the application has the following
structure :-
myproject-core (jar)
myproject-weblib (jar)
myproject-web (war) - mvn jetty:run from here
Jetty starts ok, and the application works fine at
Hi,
Let ejb plugin generate client ejb jar. Then use dependency on this
client jar (with type jar and classifier client) instead of the
dependency on the server ejb jar (which has type ejb). This works fine.
Regards,
Jan
-Original Message-
From: Markku Saarela [mailto:[EMAIL PROTECTED]
Hi Jerome
The JIRA issue ID is:
http://jira.codehaus.org/browse/MEXEC-5
Patrick
On 15/02/07, Jerome Lacoste [EMAIL PROTECTED] wrote:
On 2/13/07, Patrick Kimber [EMAIL PROTECTED] wrote:
Hi Ute
You can use the Maven 2 Exec plugin...
http://mojo.codehaus.org/exec-maven-plugin/
Although
Fixed in 2.3.1, about to be released.
Stéphane
On 2/15/07, Markku Saarela [EMAIL PROTECTED] wrote:
Hi,
With new maven-ear-plugin 2.3 version i get unwanted java modules is
application.xml.
We have module structure where ejb module has another ejb module as
ejb-client dependent. Now with this
To me these look the same, can you point out where I went wrong?
-Original Message-
From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 14, 2007 2:47 PM
To: 'Maven Users List'
Subject: RE: [m2] Integration-test target runs integration tests
twice...
Sorry, I
Just a bit of an update, I've tidied up my repository and tried again. I can
now see that its managing to download the POM but its then trying to download a
JAR file that doesn't exist in the repository (i've checked on a couple of
repositories and there's a pom.xml but no .jar file)
Final update!
I've tracked the problem down to Maven ignoring the packaging tag in the pom
xml. For example in maven-plugins-8.pom we have :
packagingpom/packaging
Yet my Maven instance (it was 2.0.4 but I've just tried it with 2.0.5) is still
trying to download a file called
Hmm i didn't know that it could also map generated-sources as source folders.
This could come in handy. But that still won't handle all my problems. I
also have to refer to a couple of projects (on different scm systems) that
aren't maven projects.
Maven would depend on a deployed binary version
You shouldn't need to configure anything in the pom, just do mvn
dependency:sources
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Running mvn dependency:sources results in the following error for me
[ERROR] BUILD FAILURE
[INFO]
[INFO] Required goal not found: dependency:sources
Donnchadh
On 2/15/07, Tomislav Stojcevich [EMAIL PROTECTED] wrote:
They are not the same, try making this change to your profile section:
profiles
profile
iditest-blah/id
activation
property
namerewardEngine.iTest/name
/property
/activation
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
___ __ __ _ __
/ ___/__ ___ ___ _/ /___ __/ /__ _/ /_(_)__ ___ ___ / /
/ /__/ _ \/ _ \/ _ `/ __/ _ `/ __/ // / / _ `/ __/ / _ \/ _ \(_-/_/
\___/\___/_//_/\_, /_/ \_,_/\__/\_,_/_/\_,_/\__/_/\___/_//_/___(_)
Well it can't because then he resolves to the depencency-maven-plugin from the
codehaus. which causes a problem because it doesn't contain the sources goal.
Can't seem to fix this? any ideas ?
You shouldn't need to configure anything in the pom, just do mvn
dependency:sources
Try -cpu or a -U option with that, maybe that'll trigger the download
of the maven version.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I am trying to add some common resource files to all of my jars in a
multimodule project, without having to copy the files to all the
src/main/resources directories in every single module. (In particular
this is for LICENSE and NOTICE files that are required in the jars for
our Apache
Adam,
On Thursday 15 February 2007 11:36, Adam Lally wrote:
I am trying to add some common resource files to all of my jars in a
multimodule project, without having to copy the files to all the
src/main/resources directories in every single module. (In particular
this is for LICENSE and
On 2/15/07, Daniel Kulp [EMAIL PROTECTED] wrote:
Basically, you can add:
plugin
artifactIdmaven-remote-resources-plugin/artifactId
version1.0-alpha-2-SNAPSHOT/version
executions
execution
goals
goalprocess/goal
/goals
Hi!
While trying to update mvn from 2.0.4 to 2.0.5 I discovered that
site-deploy fails with a proxy error message although scp is used (see
below).
The site-deploy stuff worked perfectly for my project with the old mvn
2.0.4.
settings.xml:
...
proxy
idmy-proxy/id
Hi,
I am using an Eclipse launch configuration to process resources with a clean
in Eclipse. The .project file has the build command shown below. When
running eclipse:eclipse, this build command gets erased. Is there a way I
can automatically have this build command added when I run
Thx that seems to fix the resolving issue.
But it doesn't help with the downloading of the sources.
The command succeeds but doesn't download one source package any ideas ???
I think it isn't fully functional this plugin.
It seems to be in alpha status.
Try -cpu or a -U option with that, maybe
Better yet, I just realized I can add a few lines to my pom and always
generate source jars alongside the binary ones:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-source-plugin/artifactId
executions
On Thursday 15 February 2007 12:18, Adam Lally wrote:
Thanks, that worked. However, is there a way to override the name of
the project that is written to the NOTICES and DISCLAIMER files?
Currently each jar file uses its own artifact name (e.g. Apache UIMA
Java Framework Core) when really we
Those configuration options are for surefire, not maven.
-Original Message-
From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 11:39 AM
To: 'Maven Users List'
Subject: RE: [m2] Integration-test target runs integration tests
twice...
They are not the
This is discussed now and then on this list with various approaches
posted, so search the Archives.
Also, this is discussed in the Wiki:
http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Different+JDK+Versions
I have to imagine you could utilize various configurations in multiple
Hi,
That is useful trick.
Thanks,
Markku
Janecek Jan wrote:
Hi,
Let ejb plugin generate client ejb jar. Then use dependency on this
client jar (with type jar and classifier client) instead of the
dependency on the server ejb jar (which has type ejb). This works fine.
Regards,
Jan
Try mvn dependency:sources -U, the -U will force the check, if it
already checked once today, it won't check again unless you force it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
So? Surefire plugin is what runs the tests.
Bashar
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 11:39 AM
To: Maven Users List
Subject: RE: [m2] Integration-test target runs integration tests twice...
Those configuration options are
Thanks but I think that doesn't allow me to put complicated stuff like what
I've shown before.
On 2/15/07, Tom Huybrechts [EMAIL PROTECTED] wrote:
Maybe this helps:
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#additionalBuildcommands
On 2/15/07, Thomas Van de Velde
On 15 Feb 07, at 5:10 AM 15 Feb 07, Mark Derricutt wrote:
Hi there,
In my continuing experimentation with maven I was just checking out
the
release plugin and how it worked but got hit with 'svn' is not
recognised
as an internal or external command on my windows laptop. I have no
On 15 Feb 07, at 1:32 AM 15 Feb 07, Jochen Wiedmann wrote:
On 2/15/07, Jason van Zyl [EMAIL PROTECTED] wrote:
live. That's where we're planning the official IDE integration for
Maven.
What about M2Eclipse?
What about it? I work on that too and that's what we're planning on
moving to
On 15 Feb 07, at 2:28 AM 15 Feb 07, Subhash Chandran wrote:
I track Apache Foundation project releases using this site:
http://www.apachenews.org/
I am surprised not to find the mvn 2.0.5 release mentioned here.
Never seen that site before. And don't know who runs it so that's why
we've
Never seen that site myself either... Seems like Tetsuya Kitahata is
responsible for it, who ever that is. ;-)
So Subhash, I guess you should ask Tetsuya why the new Maven release
was not mentioned on that site...
Wayne
On 2/15/07, Jason van Zyl [EMAIL PROTECTED] wrote:
On 15 Feb 07, at 2:28
On 2/15/07, Wayne Fay [EMAIL PROTECTED] wrote:
Never seen that site myself either... Seems like Tetsuya Kitahata is
responsible for it, who ever that is. ;-)
So Subhash, I guess you should ask Tetsuya why the new Maven release
was not mentioned on that site...
snip/
Bah, no.
Just copy
We have Ant stored in CVS as part of our project so that after a
checkout everything is available for a build (it also facilitates
reproducible builds). I would like to setup Continuum to build our
project but I don't see how I can get Continuum to use our Ant.
As we will be moving to Maven in
In your case, I see only one solution. You need to use the Shell project.
In your project, you create a little shell script that run your ant/maven for
the build, and use it as the command line to run.
Emmanuel
Hilco Wijbenga a écrit :
We have Ant stored in CVS as part of our project so that
Our project consists of two modules (say, A and B) in CVS. Both are
necessary for the build and until we move to Subversion I don't have
the option of changing this setup.
I don't see how I can check out both modules in Continuum. Or would
that be possible with a special SCM URL?
Obviously, I
On 2/15/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
In your case, I see only one solution. You need to use the Shell project.
In your project, you create a little shell script that run your ant/maven for
the build,
and use it as the command line to run.
Too bad. :-(
I discovered that
Adam,
Thanks, that worked. However, is there a way to override the name of
the project that is written to the NOTICES and DISCLAIMER files?
Currently each jar file uses its own artifact name (e.g. Apache UIMA
Java Framework Core) when really we want just the name of our project
(Apache
I have three artifacts (war files) that need deployed to two servers.
I currently have a profile for each (to apply filters) and I am able to
build them individually using the -P profile option.
I have one antrun task in the build section that deploys one artifact
based on the profile that is
I have three artifacts (war files) that need deployed to two servers.
I currently have a profile for each (to apply filters) and I am able to
build them individually using the -P profile option.
I have one antrun task in the build section that deploys one artifact
based on the profile that is
Is it possible to implement your own packaging like the
packagingjar/packaging?
Brandon
I was thinking of asking the same thing actually.
In our current Ant based build we're unjaring the Apache James .sar file,
copying in our own .jar file along with our custom configuration files, and
then rejaring the .sar as our own application.
I could see this being a good use of a custom
On 15 Feb 07, at 5:05 PM 15 Feb 07, Daniel Kulp wrote:
Adam,
Thanks, that worked. However, is there a way to override the name of
the project that is written to the NOTICES and DISCLAIMER files?
Currently each jar file uses its own artifact name (e.g. Apache UIMA
Java Framework Core) when
On 15 Feb 07, at 5:39 PM 15 Feb 07, Mark Derricutt wrote:
I was thinking of asking the same thing actually.
In our current Ant based build we're unjaring the Apache James .sar
file,
copying in our own .jar file along with our custom configuration
files, and
then rejaring the .sar as our
On 15 Feb 07, at 5:25 PM 15 Feb 07, Brandon Goodin wrote:
Is it possible to implement your own packaging like the
packagingjar/packaging?
There is a lifecycle associated with making a JAR, which is the
default, if you want to stick different things into the JAR then you
could make a new
Hello everyone,
I'm new to this list, and I had sort of a general question. I've been on a
project before where Maven 1.x was used as strictly a build tool, so I know
the basics of the project.xml file, running tasks and what not. Now, I'm on
a project where we are building a brand new web app
On Thursday 15 February 2007 17:49, Jason van Zyl wrote:
On 15 Feb 07, at 5:05 PM 15 Feb 07, Daniel Kulp wrote:
Adam,
Thanks, that worked. However, is there a way to override the name of
the project that is written to the NOTICES and DISCLAIMER files?
Currently each jar file uses its
The pom.xml configuration documentation is wrong (
http://maven.apache.org/plugins/maven-eclipse-plugin/examples/prevent-module-references.html
);
should be useProjectReferences not eclipse.useProjectReferences -- where
do doc bug reports go?
The free e-book Better Builds With Maven is available on
www.mergere.com and covers many of these topics in detail.
Wayne
On 2/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello everyone,
I'm new to this list, and I had sort of a general question. I've been on a
project before where
Hi All,
Java Power Tools is a new book that I'm currently working on for publication
by O'Reilly. It is basically about software tools and techniques that can
contribute to improving the SDLC (Software Development Lifecyle). This includes
build tools such as Maven and Ant, CI tools, code
I want to replace the jar test phase goal binding from surefire to cobertura
since cobertura fires off surefire on it's own there is no need to run
surefire in the test phase. I've tried every permutation known to man to
prevent the tests from running twice. That's all i want to change. How would
I just want to say a major thanks for the entire Maven team.
Maven 2.0.5 is pretty exciting in itself, but all the other behind the
scenes stuff that was developed to support/produce this release is fantastic
work and doesn't get the attention it deserves in this announcement. The
work
We're in the process of migrating from Maven 1 to Maven 2. Currently we have
a database.properties file that contains all of our database connection
information. Is there any easy to make those properties accessible from
within pom.xml so that I can do:
driver${jdbc.driver_class}/driver
I tried
Hello, Maven experts.
Here is additional information about my troubles with building offline.
To recap: a build which completed successfully has failed when re-run
offline
immediately afterward, using the same local repository. The failure
was due to
missing artifacts related to
Hi Everyone,
Where can I download standard.jar (taglib related)? I ned it as part of my
dependency and I can't find the artifact in maven repository.
Thanks.
Cheers
I know this is a very simple question, but I'm lost on how to solve it.
I want to add an antrun task to my pom.xml that I can execute outside of
any lifecycle phase. In short, I want to run it much like a normal ant goal.
What I currently have is:
plugin
http://repo1.maven.org/maven2/taglibs/standard/
On 2/15/07, lemon dumpling [EMAIL PROTECTED] wrote:
Hi Everyone,
Where can I download standard.jar (taglib related)? I ned it as part of my
dependency and I can't find the artifact in maven repository.
Thanks.
Cheers
Hello,
I am confused - what is mvnrepository.com vs the ibiblio.org?
I need the latest and greatest of hibernate 3.2.2.ga. I see the
settings for it on mvnrepository.com but retrieval fails when going
against repo1.maven.org.
This has been confounding me for about a day now.
Thanks,
mvrepository.com is like Google for Maven artifacts, simply a search
engine. And the Maven Dev team has nothing to do with that site -- I
don't even know who owns/runs it.
As for Hibernate 3.2.2.ga, I can see the Jar, pom, sources, and
javadoc all available in repo1.maven.org, so I'm not sure
Any particular reason why you don't just put those in an external
build.xml file and call them directly from Ant, rather than attempting
to make it work by embedding inside your pom.xml etc?
That's how I handle these kinds of situations, personally.
Wayne
On 2/15/07, Mike Darretta [EMAIL
You can add properties directly into the pom.xml:
http://maven.apache.org/pom.html#Properties
I personally prefer to use profiles for this kind of thing, though.
Wayne
On 2/15/07, thuss2 [EMAIL PROTECTED] wrote:
We're in the process of migrating from Maven 1 to Maven 2. Currently we have
a
On 2/15/07, Mike Darretta [EMAIL PROTECTED] wrote:
I know this is a very simple question, but I'm lost on how to solve it.
I want to add an antrun task to my pom.xml that I can execute outside of
any lifecycle phase. In short, I want to run it much like a normal ant goal.
Half of me wants to
Hi
Yes. There is one in the sandbox at codehaus.
Grab it from svn: https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/mojo-was
Hermod
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 3:06 PM
To: users@maven.apache.org
Subject:
Hi
Your trying Maven1 stuff on Maven2
Hermod
-Original Message-
From: Rajmahendra [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 11:23 AM
To: users@maven.apache.org
Subject: Mavan2 simple program not working.
hi all
i am using JDK 1.5 and Maven 2.0.4
I have written a
'lo all, I'm just trying to get the release:prepare to work on my maven test
project but can't seem to get past a final subversion failure that's
tripping up over the ./target not being in subversion. the log is:
C:\Documents and Settings\Mark
your need to tell release plugin where to place your tag.
take a look at the root pom of
http://svn.apache.org/repos/asf/maven/scm/trunk/
for example. Makesure you have svn tag folder ready( ie
http://svn.apache.org/repos/asf/maven/scm/tags )
-D
On 2/15/07, Mark Derricutt [EMAIL PROTECTED]
http://repo1.maven.org/maven2/taglibs/standard/
Nico.
2007/2/16, Dan Tran [EMAIL PROTECTED]:
http://repo1.maven.org/maven2/taglibs/standard/
On 2/15/07, lemon dumpling [EMAIL PROTECTED] wrote:
Hi Everyone,
Where can I download standard.jar (taglib related)? I ned it as part of
my
Please note this configuration still exist in maven superPom.
Simply add -DperformRelease=true and you will generate sources and javadoc
jar.
Nico.
2007/2/15, Steve Shucker [EMAIL PROTECTED]:
Better yet, I just realized I can add a few lines to my pom and always
generate source jars
91 matches
Mail list logo