Once the build is done, I want the application (.war
file ) to be deployed on a server running on different
machine. How do I do this? Please help.
thanks
--Prashanth
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Use plugin which corresponds to your server of choice, or check out
cargo (not sure how far along this is). Mojo has some weblogic, jboss
and tomcat plugins.
Do me a favor and feed back whether or not you successfully remote
deploy. I'm curious about the status of this type of action.
kris bravo
Sounds like a job for the Cargo M2 plugin:
http://cargo.codehaus.org/
Wayne
On 7/21/06, Prashanth Krishnamurthy [EMAIL PROTECTED] wrote:
Once the build is done, I want the application (.war
file ) to be deployed on a server running on different
machine. How do I do this? Please help.
thanks
is it with maven 1.0.X ?
In this case, did you updated your maven script as it is noted on the web
site.
cheers
arnaud
On 7/21/06, Gabriel Page [EMAIL PROTECTED] wrote:
Hi
I have a continuum build that is executing multiproject:install on a
Maven 1 project. Continuum reports the builds to
We tried this with Cargo but, ran into some problems with the way it
was starting the Tomcat server during the build and not allowing a
Continuum build to finish because the server was running in the build.
We eventually wrote a Maven Plugin that did this for us. I think
there is a maven:tomcat
Sounds like a very usefull tool. I recently had the same problem, this would
have been a great help.
On 7/20/06, Tim Kettler [EMAIL PROTECTED] wrote:
Hi,
I recently had to add a bunch of 3d-party artifacts to our repository and
creating the
poms with all the transitive dependencies by hand
Sure,
But if your point is to add up to wars, you can just use the war plugin:
http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html
And no need for zips or whatever else.
Denis.
ben short-3 wrote:
I mentioned zips as the assembly plugin page
On 7/20/06, Arnaud HERITIER [EMAIL PROTECTED] wrote:
I never tried
Maven 1.1 bundles ant 1.6.5. I don't know if it can fix your problem. Did
you test ?
Based on your suggestion, I downloaded ant 1.5.3-1 (the version
bundled with maven), 1.5.4 and 1.6.2 and ran the following sample
build.xml
On 7/20/06, Mike Perham [EMAIL PROTECTED] wrote:
Is it JavaSource or JavaSources? You use both below.
I'm sorry , that was a typo.It's JavaSource
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Can we have a look at your parent pom?
Looks like maven is trying to build a war out of your parent project
Sure thing.There goes :
project
modelVersion4.0.0/modelVersion
groupIdza.co.mycompany.eportal/groupId
artifactIdmycompany-eportal/artifactId
namemycompany ePortal/name
Hi all,
as newbie I am just playing around with maven2 in a multi-project
environment. While setting up the documentation for our project I discovered
that maven when executing the site goal generates everything fine including
the javadoc. But as soon as I use the stage goal, maven seems not
Hi all,
I set up my project so far and I wanted to include the findbugs in the
reporting section. Reading the Mailing list archives I discovered several
hints. Executing the goal findbugs:findbugs does not result into any errors.
But as soon as I start the mvn site:site goal, I will get the
Title: Prevent maven from adding pom file to jar
Hi all,
Is there a way of preventing maven from adding the effective pom to the generated JAR?
Thanks
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual
http://maven.apache.org/guides/mini/guide-archive-configuration.html
[EMAIL PROTECTED] wrote:
Hi all,
Is there a way of preventing maven from adding the effective pom to the
generated JAR?
Thanks
Jeff Mutonho wrote:
Can we have a look at your parent pom?
Looks like maven is trying to build a war out of your parent project
Sure thing.There goes :
Ok, that was not the interesting parent. Guess I wanted to say the eportal
pom (which is the parent of the eportal-web module,
Care to show the reporting section fo your pom?
Most of the time, these NPE comes from mispelled plugin names/groups (which
can explain that the plugin is working fine when launched from command
line).
Denis.
--
View this message in context:
Have a look at the maven-assembly-plugin. It basically does what you're
looking for.
http://maven.apache.org/plugins/maven-assembly-plugin/predefined.html
The jar-with-dependencies descriptor creates a single big jar with all of
your dependencies.
If you only want your own jars bundled
Hi Denis,
Thanks for your answer.
Here is the out commented line of the reporting section:
reporting
plugins
!--plugin
groupIdmaven-plugins/groupId
artifactIdmaven-findbugs-plugin/artifactId
Sorry, I didn't explained the context.
I use Maestro 1.0 so Continuum 1.0.3.
I try to send notification mail with the real Continuum and it's working.
I will search the difference between both.
Arnaud.
Emmanuel Venisse a écrit :
What is your continuum version?
Emmanuel
Arnaud Daroussin
That's it, you're using the Maven 1 plugin, with Maven 2.
The correct M2 plugin is:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdfindbugs-maven-plugin/artifactId
/plugin
And that is the plugin you're lanching when using the command line
Hi
I have a continuum build that is executing multiproject:install on a
Maven 1 project. Continuum reports the builds to be successful even when
they fail.
Is this a known issue?
Thanks
Gabriel
Communications on or through ioko's computer systems may be monitored or
recorded to
On 7/21/06, dcabasson [EMAIL PROTECTED] wrote:
Jeff Mutonho wrote:
Can we have a look at your parent pom?
Looks like maven is trying to build a war out of your parent project
Sure thing.There goes :
Ok, that was not the interesting parent. Guess I wanted to say the eportal
pom
Matt Raible wrote:
Any idea how big /maven2 is?
16GB when I did the last rsync before ApacheCon.
--
Trygve
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm sure this question has been asked a thousand times before but I
can't see a clear answer on the maven site or through google
(Unfortunately the mailing list archives aren't searchable either).
I'm converting a project to use maven as the build tool and I've set up
most of my
Hi Denis,
Is this helpful ?
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html
- Yann
2006/7/21, Denis McCarthy [EMAIL PROTECTED]:
Hi,
I'm sure this question has been asked a thousand times before
Hi Nathan,
I don't know if this is what you are looking for, but :
http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution
- Yann
2006/7/18, Beyer,Nathan [EMAIL PROTECTED]:
Is there a guide, document or piece of code that I can look at to
determine the precedence
It doesn't work I also tried
siteSourceDirectory/path/to/site/dir/siteSourceDirectory
but no luck.
Thanks
Vinay
- Original Message
From: Tim Kettler [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Friday, 21 July, 2006 12:45:55 AM
Subject: Re: Default dir fo site
Yann Le Du wrote:
Hi Denis,
Is this helpful ?
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html
- Yann
2006/7/21, Denis McCarthy [EMAIL PROTECTED]:
Hi,
I'm sure this question has been asked a
Hi Denis,
The mailing lists are searchable, see the link below:
http://www.nabble.com/Maven---Users-f178.html
The search area can be found on the top right.
Have fun,
Arne
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von Denis McCarthy
Hi,
I've been using site:deploy with success to send my generated website to a
server.
The plugin always asks me this:
The authenticity of host 'hostname' can't be established.
RSA key fingerprint is 83:7c:87:14:56:bb:4a:46:02:e8:56:dd:c8:5c:34:22.
Are you sure you want to continue connecting?
Sebastien Pennec wrote:
Does anybody know how to be able to answer 'yes' to that question? Or just
to get rid
of it?
Try adding an empty file ~/.ssh/known_hosts
Latest version of maven-wagon plugin will add the fingerprints of your hosts
there.
As you're using external ssh/scp
Vinay Kumar-5 wrote:
It doesn't work I also tried
siteSourceDirectory/path/to/site/dir/siteSourceDirectory
but no luck.
Try the parameter siteDirectory of maven-site-plugin:
http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html
(you can put it in your dependencies or
I am newbie to Maven, and now want to write a custom plugin. But I get
confuse on maven's transitive dependency handling. My poms' dependencies
setting is something like:
Project A
...
saxpath
saxpath
1.0-FCS
${compile}
jaxen
jaxen
Hi!
I've declared a entry like this in my POM:
plugin
artifactIdmaven-war-plugin/artifactId
version2.0/version
!-- version2.0.1-SNAPSHOT/version --
configuration
archive
manifest
Arne Sutor wrote:
Hi Denis,
The mailing lists are searchable, see the link below:
http://www.nabble.com/Maven---Users-f178.html
The search area can be found on the top right.
Have fun,
Arne
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von
I have a multi-module project with two levels of transitive
dependencies like this :
pom.xml
- module1 - project1 depends on project2
- module2 - project2 depends on project3
- module3 - project3
in my parent pom I specify in my dependency management section my
modules dependencies with
Hi dcabasson ,
Will it not work by placing below mention part either in build or report:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
configuration
siteDirectory/path/to/site/dir/siteDirectory
/configuration
plugin
I tried this but
Hello Denis,
It helped: the host is now accessible without having to answer to the question I
mentionned. The known_hosts file does the trick, just like you said.
The site:deploy goal works flawlessly.
But when I run release:perform, it gets stuck at site:deploy, at the moment when the
hello,
i have a multi-module site. the parent project site.xml declares something
like:
project
body
links
item name=Maven 2 href=http://maven.apache.org/maven2//
/links
menu name=My Project
item name=Introduction href=index.html/
item name=Download href=download.html/
/menu
ah, that was a bug we found in maestro that is actually fixed in a
patched version of 1.0.1 maestro.
if you download maestro 1.0.1 I can get you that patched version of
the continuum app until we figure out a better way to distribute it or
release 1.0.2
jesse
On 7/21/06, Arnaud Daroussin
strange, I'm getting exactly 7.0G now in the m2 repo
On 7/21/06, Trygve Laugstøl [EMAIL PROTECTED] wrote:
Matt Raible wrote:
Any idea how big /maven2 is?
16GB when I did the last rsync before ApacheCon.
--
Trygve
-
To
Hello,
I apologize if this is not the correct mailing list for this question. I
tried the codehaus mailing list for the plugin, but it seems that list
is dead.
Is there any word on the integration of the plugin with callisto / 3.2's
Dynamic Content Web project? I was hoping to use maven 2 along
Hi,
I'm in the process of trying to get a project going with maven. The
project in question uses spring 2.0 and acegi security 1.0 (The latest
major versions of both projects). I was getting NoSuchMethodErrors when
running my tests. I noticed that in my eclipse classpath (which I
generated
Acegi 1.0 was compiled against Spring 2.0, so there are some known
issues with the release. I'd suggest using Acegi 1.0.1 instead.
Matt
On 7/21/06, Denis McCarthy [EMAIL PROTECTED] wrote:
Hi,
I'm in the process of trying to get a project going with maven. The
project in question uses spring
Matt Raible wrote:
Acegi 1.0 was compiled against Spring 2.0, so there are some known
issues with the release. I'd suggest using Acegi 1.0.1 instead.
Matt
On 7/21/06, Denis McCarthy [EMAIL PROTECTED] wrote:
Hi,
I'm in the process of trying to get a project going with maven. The
project in
I'm going through chapter 6 .Running mvn install for the
examples(as instructed on page 158) is giving me build failure due to
PMD violations.The offending projecting is proficio-store-xstream:
[INFO] [surefire:test]
[INFO] Surefire report directory:
Vinay Kumar-5 wrote:
Hi dcabasson ,
Will it not work by placing below mention part either in build or report:
I tried this but doesn't work. how we can put these in dependencies . In
dependencies we put jars on which our project depend.
Well, sure, this has nothing to do in the
Hi,
I'm going through chapter 6 .Running mvn install for the
examples(as instructed on page 158) is giving me build failure due to
PMD violations.The offending projecting is proficio-store-xstream:
What exactly is your question? You have several options: remove the PMD
errors by correcting
You will want to use an excludes, something along the lines of:
dependency
groupIdacegi
artifactIdacegi
version1.0.1/version
scopecompile/scope
exclusions
exclusion
groupIdspring
artifactIdspring
/exclusion
This is obviously not a
Did you read this ? May be it helps.
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
- Original Message
From: Roy Siu [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Friday, 21 July, 2006 3:50:09 AM
Subject: Want explain on Dependencies Scope
I
Valerio Schiavoni-2 wrote:
but they are not there. why is maven-site used ?
if i look into parent/foo/target/site/index.html i can see the index for
Foo
(same for other submodules).
Which version of the maven-site-plugin are you using? I have got the
2.0-20060528.195659-9, and
Can you be a little more explicit about what exactly is the source of
your confusion? What about Maven's transitive dependency handling is
hard to understand and causing you troubles?
Wayne
On 7/21/06, Roy Siu [EMAIL PROTECTED] wrote:
I am newbie to Maven, and now want to write a custom
Not sure where exactly this is documented but I believe the order
would/should be:
1.0-alpha-1
1.0-RC1
1.0.0
1.1-alpha-1
1.1.0
1.2.0
2.1.10
10.0.0
At least, this is how I would expect it to work. I generally do not
use alpha and RC and instead use SNAPSHOT and full versions (1.1.2)
instead.
Do you have a pre-existing MANIFEST.MF in your webapp source? The first
example doesn't look like it was generated by Maven 2; you should see a
Plexus Archiver entry. If you remove the custom manifest entry, does
the Class-Path entry appear?
-Original Message-
From: David J. M. Karlsen
Hi Valerio,
this is due to the fact that maven generates the pages in the directory
parent\foo\target\site
parent\bar\target\site
parent\target\site
You have to view each module separately. In order to test the full website
try:
mvn site:stage -DstagingDirectory=C:\fullsite
Maven first creates
Jeff Mutonho wrote:
I'm going through chapter 6 .Running mvn install for the
examples(as instructed on page 158) is giving me build failure due to
PMD violations.The offending projecting is proficio-store-xstream:
Are you sure your archive file is unaltered? Maybe you're missing
That works. Thanks.
Wayne Fay wrote:
You will want to use an excludes, something along the lines of:
dependency
groupIdacegi
artifactIdacegi
version1.0.1/version
scopecompile/scope
exclusions
exclusion
groupIdspring
artifactIdspring
The book was probably written against pmd-plugin 2.0 or earlier. We've
upgraded the PMD version several times since then and they add new rules
to our default rulesets all the time. In other words, you might not
have done anything wrong and still see errors due to new rules being
triggered.
That's exactly what I was looking for, thanks. Do you, or anyone, happen
to know what Maven component implements this resolution? I'm curious.
Thanks.
-Nathan
-Original Message-
From: Yann Le Du [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 4:43 AM
To: Maven Users List
Subject:
I do try to avoid them, but I want to understand them, as they seem to
be used by the Maven plugins themselves quite often.
-Nathan
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 9:35 AM
To: Maven Users List
Subject: Re: [m2] version resolution
Hi,
Can I configure Continuum to build project and send mail only if there
are any code changes (cvs commits)?
Right now, it sends mail either always or on state change but I would
like it to build my project and send mail only when there is change in
source code
Thanks,
Kapil
Yeah I have the same issue. Could you please tell me how I can get patched
versions? From mergere or I can built by myself? If second could you please
point to the sources of maestro?
Best regards,
Juri.
-Original Message-
From: Jesse McConnell [mailto:[EMAIL
Not positive but this seems to be a good bet:
maven-artifact-jar \ org \ apache \ maven \ artifact \ versioning
Wayne
On 7/21/06, Beyer,Nathan [EMAIL PROTECTED] wrote:
That's exactly what I was looking for, thanks. Do you, or anyone, happen
to know what Maven component implements this
The build start only if there is changes. Mail sent are independant of the
changes.
Kapil Gupta(CT) a écrit :
Hi,
Can I configure Continuum to build project and send mail only if there
are any code changes (cvs commits)?
Right now, it sends mail either always or on state change but I
Ok thank you all !
Emmanuel Venisse sends me the lastest version.
Arnaud.
Jesse McConnell a écrit :
ah, that was a bug we found in maestro that is actually fixed in
apatched version of 1.0.1 maestro.
if you download maestro 1.0.1 I can get you that patched version ofthe
continuum app until
Thanks Mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I just want to know how can my [plugin] project use [jaxen], [saxpath]
properly with only set dependency on [CommonLib].
Or more general, if there is artifact C, B, A, X-Z
- artifact A has a function dynamic load (Class.forName) some of the class
appeared in project X-Z
- artifact B wrap
Thanks. I have read it yet. But the samples do not suit my case. What I want
is how to let project A use project B's wrapper function of project C, in
which the function use Class.forName or more specific that how can my
[plugin] project use [CommonLib]'s wrapper of [JDom's XPath]'s function
I was wondering if anyone has developed any best practices for performing a
release with maven when using continuum? To cut things down to the basics,
seems you pretty much have to:
1. Stop continuum
2. Perform the release (including deployment of jars to repository)
3. Restart continuum
Is
In my development environment i use tomcat with my exploded war in
/src/main/webapp.
Within this directory apart from the contents of WEB-INF i have jsp's,
htmls, gifs, jpgs.
In production i use separate application and web servers.
When i generate my war to export to my application server in
you can add a build defintion to you current project that do this.
mvn scm:bootstrap -Dgoals=-B,release:prepare,release:perform
schedule it to somewhere in far future and run it ( one click) later
never try it thou ;-)
-D
On 7/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I was
Hi,
I am currently working one the same thing that you are, trying to get the
release to work. I just found this website online with some information
that may be helpful. To summarize don't create a release in the trunk but
in a branch in svn because it will erase all the previous versions and
Hi. I have a multi-module project. My parent pom specifies the dependencies
that are used by practically everything. I have an ear module that's sole
purpose is to package up two war files (in other modules), but nothing else.
It does this but includes jar's specified by my parent pom. But I
Hi,
Try the following syntax:
excludes
excludegroupId:artifactId/exclude
...
/excludes
For example:
excludes
excludecommons-logging:commons-logging/exclude
excludelog4j:log4j/exclude
/excludes
Ian
|
Hi All,
I have been having this problem for long time, i use continuum 1.0.3.1 and
stil i couldn't make jabber notification working, so coz of this i had
switch to cruisecontrol where jabber notification works fine same set of
configuration, but i really like it to see work with continuum
C pom
depjdom
B pom
depC
A pom
depB
Isn't this what you want?
Wayne
On 7/21/06, Roy Siu [EMAIL PROTECTED] wrote:
Thanks. I have read it yet. But the samples do not suit my case. What I want
is how to let project A use project B's wrapper function of project C, in
which the function use
We build official releases manually. But Dan's suggestion seems reasonable.
Wayne
On 7/21/06, dan tran [EMAIL PROTECTED] wrote:
you can add a build defintion to you current project that do this.
mvn scm:bootstrap -Dgoals=-B,release:prepare,release:perform
schedule it to somewhere in far
That didn't work Ian. And even if it did... this solution would mean I need
to keep this list in sync with my parent pom's dependencies.
~ David
--
View this message in context:
http://www.nabble.com/Excluding-jars-from-my-ear-tf1981474.html#a5439615
Sent from the Maven - Users forum at
William Kinney wrote:
Hello,
I apologize if this is not the correct mailing list for this question. I
tried the codehaus mailing list for the plugin, but it seems that list
is dead.
I did reply to you on the codehaus list, didn't you get my reply there?
Is there any word on the
I would simply specify all the deps in EAR pom with
scopeprovided/scope. This should prevent them from being copied
into the EAR lib.
And yes, you will need to sync the list etc. Its really not that painful imo.
Personally, I go the other route -- specify all deps in my WARs as
provided and
Wouldn't doing so prevent me from using the Jetty plugin to test the webapp?
Jetty wouldn't know to load the dependencies since it sees provided.
Even if that wasn't an issue... I wonder about the total XML / config that
needs to be typed and synchronized between those files. No thanks.
I
The only place I specify ejb is in the packagingejb/packaging
element of the projects pom.
I can not change this and get maven 2.0.4 to generate the ejb-client
jars.
Why would the weblogic deployer assume a .ejb extension unless maven was
somehow passing this to the deployer?
-Original
Geoffrey De Smet wrote:
In the central repo there are 2 jars for commons-logging.
On which one should I depend or should I depend on both?
dependency
groupIdcommons-logging/groupId
artifactIdcommons-logging-api/artifactId
That's a question for the Jakarta commons-logging mailing lists.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet
Sent: Friday, July 21, 2006 10:32 AM
To: users@maven.apache.org
Subject: commons-logging-api vs commons-logging
In the central repo
Hi all,
I followed the Developing Ant Plugins for Maven2.x guide and ended
up with a nicely working hello-plugin. I would like to try more daring
things now. :-)
Instead of echoHello world/echo I'd like to execute
echoproperties/. This is part of the optional Ant tasks, however.
How do I
David,
Your ear module should not inherit dependencies that it doesn't need.
One solution is to have your ear module NOT inherit from the parent pom.
Another solution is to use the dependencyManagement section in the
parent pom, and then specify which dependencies each module *really*
uses
Hilco,
I think we did something similar to what you are trying to do: i had
an an ant target that run a junit task, which is an optional task as
well.
I got that to work by adding a dependency on ant-junit in my POM file,
and calling out to the junit task within the same POM:
dependency
short answer:
mvn -DdescriptorId=jar-with-dependency assembly:assembly
On 7/20/06, Eric Zhao [EMAIL PROTECTED] wrote:
my project has 3 modules, one of which depends on the other two. After i
package it with Maven 2, i got 3 jars. This is ok but i want to pack them
into one jar file (so that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there,
As denoted in MSITE-132 my site does NOT work because the site plugin uses the
project names instead of artifact IDs for directory names of the modules
(sub-projects). Since I have Names like MMM::Util, the browser gets them as
relative
Yes, it's what i want
--
View this message in context:
http://www.nabble.com/Want-explain-on-Dependencies-Scope-tf1979614.html#a5442789
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
THe packaging attribute is used to determine what type of object you are
trying to deploy. In weblogic the only types of objects that can actually
be deployed are ears and wars so I am not sure why you are running deploy in
an ejb project since it will not deploy without being contained inside an
Will see that I find a home for it. But this will probably take abaout a week
or two.
Ivo Limmen schrieb:
Sounds like a very usefull tool. I recently had the same problem, this
would
have been a great help.
On 7/20/06, Tim Kettler [EMAIL PROTECTED] wrote:
Hi,
I recently had to add a bunch
92 matches
Mail list logo