Don't know of any specific Maven email plugin, but you could use the Ant
plugin to execute the Ant Mail task. It shouldn't be too difficult to
gather up all of your Surefire reports into a file to send in an email.
urir wrote:
Hi,
I am using maven2 for building and testing a multi-project
Hi,
I think this'll do the trick:
make differrent directories like src/main/dev, src/main/prod etc. and
set up the POM:
profiles
profile
iddev/id
build
resources
resource
directorysrc/main/dev/directory
/resource
/resources
/build
/profile
Thanks.
Maria Odea Ching-5 wrote:
You can put your project documentation in src/site and it would get
included
when you generate the site for your project.
Please note that your documents should be written in APT format and when
you
run 'mvn site', their corresponding html files
will
Doh... Note to self: Don't post when you're tired. ;)
But I see artifactory also can work with the webdav wagon. [1] Could you try
that?
Hth,
Nick S.
[1]
http://www.jfrog.org/confluence/display/RTF/Using+Artifactory#UsingArtifactory-CLIDeployment
-Original Message-
From: Brian E.
Take a look at the Maven Build Lifecycle page [1]. This page lists for each
type of packaging which plugins and goals are added automatically to the
lifecycle. All other goals you have to add yourself explicitly. Or in a parent
pom file if you need them for many projects.
Hth,
Nick S.
[1]
I'm sorry if this msg is getting to the list several times but since this is
my first post here I don't have a way to tell. Please someone just hit a
reply to see if I'm ok, please?
---
Hello:
I'm trying to do some war overlay but I can't seem to include just the files
I want using the include
Dmitry Beransky wrote:
Hi,
I'm aware of the webstart plugin, but what I can't figure out if it's
possible to use maven to do the end-to-end automated deployment of an
app. In other words, can maven build, package, and deploy to tomcat a
webstart application?
Thanks
Dmitry
Yes - see
Hi all,
I've bound the resources:resources goal to the package phase of my build
and I wanted it to copy certain resources to a directory but it's
ignoring my configuration:
plugin
groupIdorg.apache.maven.plugins/groupId
Hi,
the plugin is here [1]. However, there seems to be no release of it yet.
You can subscribe to the mojo project's mailinglist and ask the there
for an release. Or you can grab the sources from here [2] and and just
make an internal release of the plugin.
-Tim
David Delbecq schrieb:
Hello,
Hello,
I migrated a projet from maven1 to maven2. Compile, package and
deployement process ahve now been successfully migrated. We have however
some problems with reports. We can't find what's the maven2 equivalent
of maven1 simian report plugin? We get this:
[INFO] The plugin
Hallo,
That is also my question, I am using the WTP 2.0 setting but I am not sure it
does an effect or not???
In snapshot version of the plugin, the log statements are mentioning the which
setting is in use but that had dissappered.
And I have a remark on the second point also. In a
En l'instant précis du 10/04/08 12:21, Tim Kettler s'exprimait en ces
termes:
Hi,
the plugin is here [1]. However, there seems to be no release of it yet.
You can subscribe to the mojo project's mailinglist and ask the there
for an release. Or you can grab the sources from here [2] and and just
scm framework? You mean scm tag in pom.xml? I have no idea how can I
configure this using scm tag.
Dirk Olmes-4 wrote:
DCVer wrote:
Hi all. I use maven-buildnumber-plugin to retrieve svn revision number of
the
local working copy. But I noticed, that it isn't configured in a way I
Can I set a timeout for downloading dependency jars?
--
View this message in context:
http://www.nabble.com/Can-I-set-a-timeout-for-downloading-dependency-tp16608218s177p16608218.html
Sent from the Maven - Users mailing list archive at Nabble.com.
No, not the scm tag. As you can see here [1] the buildnumber-plugin uses the
scm-api and implementations of Maven.
Hth,
Nick S.
[1] http://mojo.codehaus.org/buildnumber-maven-plugin/dependencies.html
-Original Message-
From: DCVer [mailto:[EMAIL PROTECTED]
Sent: Thu 4/10/2008 13:23
My pom.xml has many dependencies and repositories. Maven will try to download
each of them in each of the repository. It will waste a lot of time for
downloading. How can I specify a dependency from a specific repository?
--
View this message in context:
The main problem you would have with a multi-cpu build would be
understanding the console output. Since maven isn't threaded already
the output would be interwoven and impossible to understand.
Agree...
Will only be readable on separated text logs.
Or multi column output (just a joke =D).
Hi,
what´s the official group and artifactId of xmlsec-1.4.1jar ?
http://repo1.maven.org/maven2/xml-security/xmlsec/ = ends up
at 1.3.0
http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/ = ends up
at 1.4.0 (without pom), directory 1.4.1 is empty
Anyone have thoughts on what's behind the following error?
...
[ERROR] BUILD FAILURE
[INFO] --
[INFO] The assembly id null is used more than once.
...
I see this error when testing a garden-variety assembly from the command
line
% mvn assembly:assembly
Hi,
I'm maven'izing a large enterprise project (from ant) and am looking
for any recommendations on how to do releases to non-maven environments.
After doing the maven build (multi-module) and producing all the
artifacts in the repository, I need to deploy them to different
environments.
I don't think Maven was meant to solve application deployment issues.
The whole field of installers deployment is very complex. Sometimes
you need to install certain files as root, install cron/timer jobs, stop
and restart services, create directory structures, and so on.
I have been able to use
Yes, I'm using the assembly plugin to create the structure, where the
missing link for me is to deploy to other environments outside a maven
repository as explained below.
I'll add a shell script for now to do the final steps (eg. unpacking)
after the assembly built jar has been transferred to
The Apache Maven team would like to announce the availability of Maven
2.0.9.
This release went through a new process that saw 8 release candidates tested
by the user community before the final release and we expect it to be more
robust than previous versions. There are several important fixes
To me at least, this sounds like functionality I might expect out of
my Continuous Integration server, not my build tool. Look at
implementing Continuum, Hudson, etc rather than creating an email
plugin.
Wayne
On 4/10/08, David C. Hicks [EMAIL PROTECTED] wrote:
Don't know of any specific Maven
No. Ctrl-X to cancel the build and run again with mvn -o ... for
offline mode.
Wayne
On 4/10/08, youhaodeyi [EMAIL PROTECTED] wrote:
Can I set a timeout for downloading dependency jars?
--
View this message in context:
You cannot. You should consider implementing a Repo Manager like
Archiva, Nexus, Artifactory, etc instead, and set it up as a proxy for
the other various repos you need to access.
Wayne
On 4/10/08, youhaodeyi [EMAIL PROTECTED] wrote:
My pom.xml has many dependencies and repositories. Maven
Who produces xmlsec? I'd ask them where to find it/where it should be
located in the Maven repos.
Wayne
On 4/10/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
what´s the official group and artifactId of xmlsec-1.4.1jar ?
http://repo1.maven.org/maven2/xml-security/xmlsec/ =
I think, if someone was able to hack something together (that worked!)
and it demonstrated real added value to Maven, then the dev team would
be more likely to hear this request and consider adding it. But there
are so many interactions between poms, plugins, etc that I don't
honestly believe it
On Thu, Apr 10, 2008 at 5:04 PM, Wayne Fay [EMAIL PROTECTED] wrote:
I think, if someone was able to hack something together (that worked!)
and it demonstrated real added value to Maven, then the dev team would
be more likely to hear this request and consider adding it. But there
are so many
Hello,
I am trying to specify the Sure Fire additionalClasspathElements
Additional elements to be appended to the classpath. and being a
Maven2 newbe I am a bit lost when I'm told to set the plugin values as
a java.util.List.
=== FROM:
xmlsec is produced by http://santuario.apache.org/
the jars can be downloaded from
http://xml.apache.org/security/dist/java-library/
Maybe someone of the copy-recepcients can fix that?
Thanx, Torsten
Wayne Fay [EMAIL PROTECTED]
10.04.2008 17:16
Bitte antworten an
Maven Users List
I have a bunch of schemas that I would like to upload to a web server
and would like to known if there any best practices for doing so using
maven.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Brandon Enochs wrote:
I have a bunch of schemas that I would like to upload to a web server
and would like to known if there any best practices for doing so using
maven.
An Ant Task bound to a phase or simply Ant.
Maven is not designed to fullfil tasks the way Ant does.
--
NO OOXML - Say NO
Brandon Enochs wrote:
I have a bunch of schemas that I would like to upload to a web server
and would like to known if there any best practices for doing so using
maven.
Is the idea to make these schemas available within a maven repository?
If so, the deploy:deploy-file should help getting
Lets just think...
Today someone is reporting maven doesn't your his 2 cores.
Tomorrow 4 cores.
Next year 6 cores. 8, 10, what ever
Mono threaded maven will not get the max power from a multi-core machine.
So, I still dreaming, may be I can pull a developer to dream together.
VELO
On
VELO wrote:
Lets just think...
Today someone is reporting maven doesn't your his 2 cores.
Tomorrow 4 cores.
Next year 6 cores. 8, 10, what ever
Mono threaded maven will not get the max power from a multi-core machine.
So, I still dreaming, may be I can pull a developer to dream
I'm looking for something beyond
http://maven.apache.org/guides/mini/guide-embedding-m2.html
as I want to do things like read pom.xml (done), add a jar to the
repository, and get the URL for the
location of a jar in the local repository given the artifact.
Thanks,
Bill
Here's an issue that wasted a few hours of my time before I found the
solution. I'm just posting it to help others that may hit the same thing.
I was trying to make my own link; here's my simplified site.xml:
project
body
menu name=Other Documents
item name=MPA Plan
The situation below (deploying to multiple J2EE platforms in the build)
is already easily supported: you're using ant to do it, and ant supports
a parallel section http://ant.apache.org/manual/CoreTasks/parallel.html
So, inside a maven-antrun-plugin section you can do a parallel with
no
Hi Bill,
The newest version of the embedder was not released yet.
Look here [1]. I think you can find a way to solve your problems without
having to make use of the Maven embedder.
[1]http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook
Cheers,
Henrique
Bill Rye wrote:
I'm
Trent Larson wrote:
Here's an issue that wasted a few hours of my time before I found the
solution. I'm just posting it to help others that may hit the same thing.
I was trying to make my own link; here's my simplified site.xml:
project
body
menu name=Other Documents
item name=MPA
The Maven *Findbugs* team is pleased to announce the release of the Maven
*Findbugs* Plugin version 1.2
This plugin allows the developer to run *Findbugs* analysis against a
Maven project and produce site output in HTML to match other site
reports. There are option to produce other XML outputs
At least continuum [1] uses the configured maven information and hudson
supports it a little [2] [3].
Hth,
Nick S.
[1] http://continuum.apache.org/docs/1.1/user_guides/notification/index.html
[2]
http://www.nabble.com/ciManagement-notifications-for-a-maven-2-build-td15006168.html
[3]
So, the dream was killed?
VELO
On Thu, Apr 10, 2008 at 2:31 PM, Lacoste, Dana (TSG Software San Diego)
[EMAIL PROTECTED] wrote:
The situation below (deploying to multiple J2EE platforms in the build)
is already easily supported: you're using ant to do it, and ant supports
a parallel section
Yes - but all these dependencies are calculable from the POM files. I
think about this every time my machine sits with 7 idle cores...
The biggest initial issue is that the local repo is not threadsafe (2
mvn instances running in parallel can crash in interesting ways).
That's the first thing to
Hi,
Is it possible to embed the maven engine in a java program?
I think of using it as plugin management for an application.
I want to define an artifact (my pointing to a pom or giving
an group:artifact:version string. Then I want maven to resolve, download
and add the artifact+dependencies to
I've just started using Maven, and I'm struggling with a few things.
I took one our our components I build with Ant, and created a Maven
build for it. This is a set of foundation classes that several of our
projects use, so I called it foundation.jar. So far, so good, I
specified a set of JARS
hi everyone
i have a project with three sub-projects which are web apps...
i am currently using cargo to deploy each web app project and have the
individual pom.xml and profiles.xml configured...
i am trying to figure out what command i can use when building the parent
project that will be the
On Thu, Apr 10, 2008 at 6:55 PM, Graham Leggett [EMAIL PROTECTED] wrote:
maven-surefire-plugin could be taught to run tests in parallel: that will
make a huge difference.
Has anyone looked at using Parallel Junit [1] through surefire ? .
Jorg
[1] https://parallel-junit.dev.java.net/
Very good idea...
The same thing I'm thinking for maven itself, but if we got fastest junit is
good =D
VELO
On Thu, Apr 10, 2008 at 5:22 PM, Jorg Heymans [EMAIL PROTECTED]
wrote:
On Thu, Apr 10, 2008 at 6:55 PM, Graham Leggett [EMAIL PROTECTED] wrote:
maven-surefire-plugin could be taught
Hello:
I'm trying to do some war overlay but I can't seem to include just the files
I want using the include tag on the overlay. In this case I only want what's
under WEB-INF, but what I get is everything that's inside the war.
overlay
groupIdbirt-runtime/groupId
You should ask this question on the Cargo Users list.
Wayne
On 4/10/08, Urooj Khan [EMAIL PROTECTED] wrote:
hi everyone
i have a project with three sub-projects which are web apps...
i am currently using cargo to deploy each web app project and have the
individual pom.xml and profiles.xml
The dependencies of your dependencies are called transitive dependencies.
Normally, Maven2 is able to figure out what you need and build/package
things properly. So, you must be doing something wrong to get these
results.
Can you send the 2 pom.xml files you created, 1 for foundation, and 1
for
On Thu, Apr 10, 2008 at 7:31 PM, Lacoste, Dana (TSG Software San Diego)
[EMAIL PROTECTED] wrote:
The situation below (deploying to multiple J2EE platforms in the build)
is already easily supported: you're using ant to do it, and ant supports
a parallel section
That's an interesting build you have there, care to tell us what the longest
running tasks are (hope it's not the compiling :-P)
In short, it's Compare new dataset vs. old dataset
It takes a very long time because it has to take the newly built binaries and
data, get them up and running (the
It sounds like a bug to me. File a Jira in the MWAR plugin. It will at least
get the attention of the war developers.
-Original Message-
From: António Mota [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 10, 2008 4:45 PM
To: users@maven.apache.org
Subject: war overlaying
Hello:
I'm
Not sure if i agree here. Why can the building of different artifacts
not be parallelized if they completely don't depend on each other? If
my build contains 1 war and 5 completely independent jars that are
used in the war, why can those 5 jar artifacts not be built in
parallel ? Sure enough,
I want to use the latest version of this plugin:
http://snapshots.repository.codehaus.org/org/codehaus/mojo/jboss-maven-p
lugin/1.3.2-SNAPSHOT/
What's the procedure for getting this into my local repository, and then
into my company's Artifiactory?
Thanks,
Richard Brewster
Senior Associate
If you have an artifactory install, you should just be able to ask the
maintainer to add the snapshot repo. I don't know if artifactory groups
like nexus, I think so, if yes than that should be all you need.
-Original Message-
From: Brewster, Richard [mailto:[EMAIL PROTECTED]
Sent:
Realistically you will need to talk to the Santuario/XML Security team
about this. It is their responsibility to pick the groupId,
artifactId, and version for their artifacts. And since its an Apache
project, there is no reason why the latest version would not be
available in Central
Sure: Here's the POM for the Foundation:
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
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
Whoops, this was a local repository error. I am manually doing the
repository, and copying the JARS, creating the POMs, etc. I accidently
called the POM for the foundation JAR file, foundation-0.1.xml instead
of foundation-0.1.pom and that caused the problem.
Changing the name fixed the issue.
Hello,
My company has an internal maven repo that I would like to have accessible from
the outside. The problem is that it's a private repo - so we want to at least
have basic auth on it when it is externally accessible. Up until now we've been
just using vpn - but we we've been having issues
ok. thanks.
Wayne Fay wrote:
No. Ctrl-X to cancel the build and run again with mvn -o ... for
offline mode.
Wayne
On 4/10/08, youhaodeyi [EMAIL PROTECTED] wrote:
Can I set a timeout for downloading dependency jars?
--
View this message in context:
Yep, that would do it!
Wayne
On 4/10/08, David Weintraub [EMAIL PROTECTED] wrote:
Whoops, this was a local repository error. I am manually doing the
repository, and copying the JARS, creating the POMs, etc. I accidently
called the POM for the foundation JAR file, foundation-0.1.xml instead
This bug went away (really, it just vanished) when I upgraded to
Artifactory 1.2.5
-Josh
On Apr 10, 2008, at 3:24 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Doh... Note to self: Don't post when you're tired. ;)
But I see artifactory also can work with the webdav wagon. [1] Could
By default, Maven will package all the classes under target/classes directory
into a jar file. But some classes are not generated by compiling, by running
a Java application. How can I let Maven run a java application before
packaging?
--
View this message in context:
You may also need to specify the additional repository as a
pluginRepository with snapsots enabled. The exact setting depends on
your environment (i.e. if you use a repository manager and how it is
configured)
Henry.
On Fri, Apr 11, 2008 at 12:54 AM, Brian E. Fox [EMAIL PROTECTED] wrote:
If you
68 matches
Mail list logo