Thanks for asking the question Wayne - you're the man.
For the benefit of anybody with the same problem: I was running the
service using the Local System account Log On credentials. I changed
the Log On credentials to specify my NT Login and password and now it
works fine. Looking back at the
Just wondering, did the trace show anything?
Thanks,
Ian
Ok, just did those things. URL for output is
http://rafb.net/p/Kf10Cs17.html
There was no particular reason - I guess I got into the habit of it and
didn't go back! This output was running mvn site -X
Regards,
Ian
- Message
use menu ref=reports/ instead. i'm pretty sure that ${reports}
was deprecated anyway.
On 4/25/07, Curt Arnold [EMAIL PROTECTED] wrote:
I've been working on several log4j related projects with Maven
recently and I've started having errors during site generation start
occurring on projects that
The *only* problem with Artifactory is that it seems to require Java6 and
we're not yet running that on anything.
The required JDK version was changed to Java 5 for 1.2.1rc0 IIRC.
Thorsten
-
To unsubscribe, e-mail: [EMAIL
Not anymore. Starting with 1.2.1rc0 the codebase is compiled against 1.5 and
the war can be deployed inside any java5 servlet container.
(see: https://www.jfrog.org/jira/browse/RTFACT-75)
Kathryn Huxtable wrote:
The *only* problem with Artifactory is that it seems to require Java6 and
we're
Hi,
I'm fairly new to Maven2 and haven't used it much in situations more
complex than those described in the documentation. But now I have hit
an issue that I haven't been able to find much documentation on this
subject[1], so I wanted to confirm what the suggested best practice is
in this area
Jerome Thibaud a écrit :
Hi All,
1.
Assuming several users connecting to a CVS server using ext method and
ssh.
As far as I understand, the pom.xml, checked out from CVS is the same for
everyone.
Only the settings.xml and maybe cvs-settings.xml might have specific
content
for each user,
Since 2.0.6 maven is reacting differently on windows in linux for our poms.
We have some false transitive dependencies: transitive dependencies
that should be direct dependencies.
(We currently do this to avoid having to duplicate the version number as
the different projects don't have a
This dosen't work for multiprojects release. I get a
MultipleArtifactsNotFoundException.
site:site needs to have all the dependencies version of the project compiled
and installed in the local repo to work. After release:perform, the pom are
changed to the next version, but note rebuild.
I
On 4/25/07, Geoffrey De Smet [EMAIL PROTECTED] wrote:
Since 2.0.6 maven is reacting differently on windows in linux for our poms.
We have some false transitive dependencies: transitive dependencies
that should be direct dependencies.
(We currently do this to avoid having to duplicate the
With kind regards,
Geoffrey De Smet
Jerome Lacoste schreef:
On 4/25/07, Geoffrey De Smet [EMAIL PROTECTED] wrote:
Since 2.0.6 maven is reacting differently on windows in linux for our
poms.
We have some false transitive dependencies: transitive dependencies
that should be direct
We have the same with maven 2.0.6. MAven is using the proxy setting for other
protocols than HTTP. As a workaround, we stick to 2.0.4.
-toni
Marcel May-2 wrote:
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
Hi
My application is a jar file and when I run mvn package it generates my jar
ok.
But I need to distribute my app with all the related jar dependencies so I
wonder how could I do it with maven2..
Actually, I did an ant task that at package cycle copy my project
depdenciens from mvnrepository
Javier,
The maven-assembly-plugin can do that for you..
http://maven.apache.org/plugins/maven-assembly-plugin/
Here's a snippet to add to your build plugins:
plugin
artifactIdmaven-assembly-plugin/artifactId
configuration
Thanks and hope you have a good trip !!!
J
Jo Vandermeeren wrote:
Javier,
The maven-assembly-plugin can do that for you..
http://maven.apache.org/plugins/maven-assembly-plugin/
Here's a snippet to add to your build plugins:
plugin
On Apr 25, 2007, at 2:11 AM, Gregory Kick wrote:
use menu ref=reports/ instead. i'm pretty sure that ${reports}
was deprecated anyway.
Using menu ref=reports/ fixes the problem and I have updated my
projects in rev 532304. To get the earlier version, add a -r 532303
to the svn co
ah, you are right, I'm sorry for this : )
On 24/04/07, Lukas Theussl [EMAIL PROTECTED] wrote:
The checkstyle plugin generates several pages, the overview page
(Checkstyle Results, index.html) and the detailed reports (all, error,
warning, info). The first only counts the number of
Hi
I'm trying with this plugin to get what I waht but without success...
I see jar-with-dependencies but I don't want this. With this assembly my 82k
application jar will weight around 6MB (because will include Spring,
Hibernate and so on). If each time I need to make a fix in my app, I'll
Hi Antonio
I'm trying to use the maven-assembly-plugin from within
Netbeans 5.5
(with Mavenide installed), but when executing the goal
assembly:assembly, I get the following message when using the
predefined descriptor
jar-with-dependencies:
Embedded error:
Hi,
I am migrating a project that uses maven1 to maven2 build infrastructure.
In maven1 site generation user can add a search mechanism by adding a
search/
element it its navifation.xml
When I tried to add the same in maven2 site.xml I got the error:
Embedded error: Unrecognised tag: 'search'
I'm fairly new to Maven2 and haven't used it much in situations more
complex than those described in the documentation. But now I have hit
an issue that I haven't been able to find much documentation on this
subject[1]
the possible cause of this error is probably somehow connected with
the embedding of maven in the IDE. the C:/programfiles/netbeans path
is the directory where the IDE's JVM is started at, so any relative
paths are resolved against it (as compared to command line maven which
you basically invoke
2007/4/23, nicolas de loof [EMAIL PROTECTED]:
Archiva downloads artifacts on demand via HTTP using wagon-http. I use a
similar config with no issue, but I don't have any proxy to set to access
repo1.
Ok, I've solved the issue. The problem had nothing to do with archiva,
but with our network
Some of my unit tests are failing wehn I run a maven builf and this results
in a failed build. Is there a way so tht the build doesnt fail and the
surefire reports gets generated even when a few tests fail?
tried a few options but nothings seems to work.
--
View this message in context:
Thanks for that link, that does seem very useful to know.
Any comments on my suggested approach of releasing content? I'm trying
to understand what Maven buys me by using the
mvn release:prepare
approach.
Cheers,
James
On 25/04/07, Damien Lecan [EMAIL PROTECTED] wrote:
I'm fairly new to
On 4/25/07, monsterkhan [EMAIL PROTECTED] wrote:
Some of my unit tests are failing wehn I run a maven builf and this results
in a failed build. Is there a way so tht the build doesnt fail and the
surefire reports gets generated even when a few tests fail?
tried a few options but nothings seems
The direction for using the GPG plugin are:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-gpg-plugin/artifactId
executions
execution
idsign-artifacts/id
phaseverify/phase
goals
goalsign/goal
Hi all,
I am new to Maven and I am using version 2.0.6 on a Windows box.
I configured my POM to access a CVS server using the ext (ssh) method like this:
scm
connectionscm:cvs:ext:[EMAIL
PROTECTED]:/home/cvsroot/myproject:mymodule/connection
developerConnectionscm:cvs:ext:[EMAIL
On 4/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
However, this is going to run the GPG plugin every time I run install (I
tested).
...
How can I ensure that the GPG plugin is only used when I'm using the deploy
goal?
Put the plugin execution config in a profile, and only enable it
Thanks Wendy,
But seems this isnt working, I tried running mvn -N
-Dtest.failure.ignore=true and mvn -N -Dmaven.test.failure.ignore=true
but seems it doesnt work. As for the testFailureIgnore ignore I cant
configure that as I have configure tht as the I am not generating a complete
Its not clear what you want...
First you say you want your jar plus all dependencies. Jo gave that to
you and you were happy.
Now you come back and you've changed your mind.
What exactly are you looking for?
Wayne
On 4/25/07, JavierL [EMAIL PROTECTED] wrote:
Hi
I'm trying with this
I'm not 100% positive, but I don't believe there is any similar
search/ capability with Maven2 site plugin. At least, I've never
seen anyone mention it previously on this list, or ask about it...
you're the first!
What does the maven-site-plugin documentation say about this issue?
Wayne
On
Thanks, I'll give it a shot. Thanks for the quick reply.
On 4/25/07, Wendy Smoak [EMAIL PROTECTED] wrote:
On 4/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
However, this is going to run the GPG plugin every time I run install (I
tested).
...
How can I ensure that the GPG plugin is
You should be referencing the hibernate mappings as
classpath:/path/to/**/*.hbm.xml. Having a path is imoprtant -- do
not just dump the config files for spring or hibernate in the top
level of src/main/resources; then in the resource location specify at
least one folder in the package structure
the build-classpath seems to be broken on windows:
c:\webarch\.maven-local-repo\aopalliance\aopalliance\1.0\aopalliance-1.0.jar:c:\
webarch\.maven-local-repo\asm\asm\1.5.3\asm-1.5.3.jar:c:\webarch\.maven-local-re
Its separating the elements with ':' not ';' -- did someone not use
How would you post process a jar and what phase would that process
be bound to?
On 4/11/07, Jerome Lacoste [EMAIL PROTECTED] wrote:
On 4/11/07, JesseLiu [EMAIL PROTECTED] wrote:
All,
I have a jar project. When packaging, I want some specified class excuded
from the jar file. How should I
Was there any decision as to whether this (ie. surefire configuration
in parent POM causing surefire plugin in child POM that's bound to the
integration-test phase to run twice) is a bug or feature?
Any maven committers out there?
Chris
--
Enterprise POJO consulting -
The Maven team is pleased to announce the release of the Maven Source Plugin
version 2.0.3.
http://maven.apache.org/plugins/maven-source-plugin/
Release Notes - Maven 2.x Sources Plugin - Version 2.0.3
** Bug
* [MSOURCES-6] - Sources plugin ignores resource includes/excludes
*
Hi,
I want to be able to interpolate ${pom.version} in Java source code
before compilation. How can I do this?
I see that there is a simple way to turn on resource filtering, but that
does not appear to be applicable to source code.
I also see that the process-sources phase is where source
I'm trying to eliminate commons-logging from being transitively passed
on to projects that depend on my library and my library uses spring.
Spring uses commons-logging but doesn't mark it as optional or
scope:provided, however when I try to exclude commons logging from a
spring dependency, I no
On 4/25/07, Trevor Torrez [EMAIL PROTECTED] wrote:
I'm trying to eliminate commons-logging from being transitively passed
on to projects that depend on my library and my library uses spring.
Spring uses commons-logging but doesn't mark it as optional or
scope:provided, however when I try to
Wayne Fay wrote:
Its not clear what you want...
First you say you want your jar plus all dependencies. Jo gave that to
you and you were happy.
Now you come back and you've changed your mind.
What exactly are you looking for?
Ouch, sorry, my english is not as good as I would like.
Hi,
Thank you for these advices, I will try them out.
regards
J.T.
On 4/25/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Jerome Thibaud a écrit :
Hi All,
1.
Assuming several users connecting to a CVS server using ext method and
ssh.
As far as I understand, the pom.xml, checked out
Hi,
see the links to the mine-guides below.
-Tim
[1] http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
[2] http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html
Am Mittwoch, den 25.04.2007, 11:12 -0700 schrieb archmarinaro:
I have a project with multiple
Ah! In that case, you want to use the maven-dependency-plugin:
http://maven.apache.org/plugins/maven-dependency-plugin/
Wayne
On 4/25/07, JavierL [EMAIL PROTECTED] wrote:
Wayne Fay wrote:
Its not clear what you want...
First you say you want your jar plus all dependencies. Jo gave that
appassembler-maven-plugin:create-repository
On 4/25/07, Brian E. Fox [EMAIL PROTECTED] wrote:
Probably. Can you file a jira?
-Original Message-
From: Trevor Torrez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 11:39 AM
To: Maven Users List
Subject: Re: Creating a
Not sure if it'd work, but you could try to move the contents of
util/pom.xml into util/build/pom.xml. This would make build your parent
project. Then you would eliminate util/pom.xml.
Yes, that's a good idea. But I need util/pom.xml because I have another
layer above that and I want it to be
Are you sure? I'm getting the following in my catalina.out file:
2007-04-25 12:47:19,655 [INFO ] webapp.servlet.ArtifactoryContextConfigurer
- Starting Artifactory...
2007-04-25 12:47:19,715 [INFO ]
webapp.spring.ArtifactoryWebApplicationContext - Refreshing
[EMAIL PROTECTED]:
display name [Root
but maven-dependency-plugin:copy-dependencies is better ;-)
On 4/25/07, Dan Tran [EMAIL PROTECTED] wrote:
appassembler-maven-plugin:create-repository
On 4/25/07, Brian E. Fox [EMAIL PROTECTED] wrote:
Probably. Can you file a jira?
-Original Message-
From: Trevor Torrez [mailto:
DONE
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 11:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Trouble downloading from local and remote repositories when
running Continuum as a service
On 4/25/07, Williamson, James L [EMAIL PROTECTED]
The problem arises when blah is used as a dependency in a downstream
project that is not using commons logging at all (ie, slf4j); since
that project will not have commons logging as a dependency it gets
resolved and included in the project from the transitive dependency on
spring-dao. Since it
Whats the jira url? I think I tried for something but I couldn't even
figure out how to register.
Thanks
On 4/25/07, Brian E. Fox [EMAIL PROTECTED] wrote:
Probably. Can you file a jira?
-Original Message-
From: Trevor Torrez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007
Hi,
The dependencies are missing because you specified a scope of 'compile',
while the default scope for dependencies is 'runtime'. Just remove the
scope restriction from the assembly descriptor and the dependencies
should be included.
-Tim
Am Mittwoch, den 25.04.2007, 04:10 -0700 schrieb
I have a project with multiple Modules: A, B and Z
Module Z has my source in it but I need a third parties (3Ps) software
delivery of jars in the Classpath in order to mvn compile module Z.
The 3Ps delivers to me a zip file which contains multiple directories (bin,
data, lib, ...) lib contains
Probably. Can you file a jira?
-Original Message-
From: Trevor Torrez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 11:39 AM
To: Maven Users List
Subject: Re: Creating a target/lib with all project dependencies
the build-classpath seems to be broken on windows:
Hi maveners,
I've added an external tool compile (the same problem with compiler:compile)
when I run it I get *ONLY* this :
WARN] While downloading xml-apis:xml-apis:2.0.2
This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
[WARN] While downloading jta:jta:1.0.1B
This artifact
Check your JDK version. I found the following on Java.net forums which
seems to be related (??):
http://forums.java.net/jive/message.jspa?messageID=177256
Wayne
On 4/25/07, Kathryn Huxtable [EMAIL PROTECTED] wrote:
Are you sure? I'm getting the following in my catalina.out file:
2007-04-25
Please show us the relevant portions of your pom.
Wayne
On 4/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi maveners,
I've added an external tool compile (the same problem with compiler:compile)
when I run it I get *ONLY* this :
WARN] While downloading xml-apis:xml-apis:2.0.2
This
here I go :
pom popom :
my pom.xml
#
?xml version=1.0?project
modelVersion4.0.0/modelVersion
groupIdcom/groupId
http://jira.codehaus.org
Wayne
On 4/25/07, Trevor Torrez [EMAIL PROTECTED] wrote:
Whats the jira url? I think I tried for something but I couldn't even
figure out how to register.
Thanks
On 4/25/07, Brian E. Fox [EMAIL PROTECTED] wrote:
Probably. Can you file a jira?
-Original
That's kind of what I suspected. I'm running JDK1.5.0_07. JDK1.6 isn't yet
available in a stable version for Mac OS X. Also, none of my production
RedHat servers are running 1.6.
I rather suspect that a 1.6 dependency has crept into the latest
Artifactory, despite their attempts to fall back to
Wayne Fay wrote:
Ah! In that case, you want to use the maven-dependency-plugin:
http://maven.apache.org/plugins/maven-dependency-plugin/
I've read docs and see this:
--
artifactItems
artifactItem
groupId[ groupId ]/groupId
artifactId[
Same error. Dang. I'll bug the Artifactory people. -K
On 4/25/07 2:13 PM, Kathryn Huxtable [EMAIL PROTECTED] wrote:
That's kind of what I suspected. I'm running JDK1.5.0_07. JDK1.6 isn't yet
available in a stable version for Mac OS X. Also, none of my production
RedHat servers are running
hello,
how can I get the current date (formatted in english) and/or build number ??
i.e : something like a property or a filter or a $mvn.something
Thanks
Nawfel
___
Découvrez une nouvelle façon d'obtenir des
You probably want dependency:unpack-dependencies.
Wayne
On 4/25/07, JavierL [EMAIL PROTECTED] wrote:
Wayne Fay wrote:
Ah! In that case, you want to use the maven-dependency-plugin:
http://maven.apache.org/plugins/maven-dependency-plugin/
I've read docs and see this:
--
I could be wrong about that. Check the other examples. You might
actually want copy-dependencies.
Wayne
On 4/25/07, Wayne Fay [EMAIL PROTECTED] wrote:
You probably want dependency:unpack-dependencies.
Wayne
On 4/25/07, JavierL [EMAIL PROTECTED] wrote:
Wayne Fay wrote:
Ah! In that
When I run mvn package the jar file being generated doesn't have the
version number in it (foo.jar instead of foo-1.0.jar). All my
other projects generate jar files with the version so I'm at a loss.
Anyone run into this problem?
Thanks in advance,
SETH
Once upon a time, in the distant past (Maven 2.0.5 and before), the
instructions found on the Maven User Wiki (at
http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party+Jars+With+WebDAV)
had a section at the bottom that allowed us to modify our maven installation
and allow command-line
You have copy/unpack that lets you specify certain artifacts to
manipulate that may not necessarilly be part of your dependencies (think
zip files).
You also have copy-dependencies/unpack-dependencies that starts with the
list of all dependencies and provides ways to filter that list down by
Someone has probably set finalName/ in the pom file, or something
along those lines.
Wayne
On 4/25/07, Seth Mason [EMAIL PROTECTED] wrote:
When I run mvn package the jar file being generated doesn't have the
version number in it (foo.jar instead of foo-1.0.jar). All my
other projects generate
That fixed it. I looked for finalName before sending and didn't find
it. But it magically appeared in the time I sent the email and now.
Very strange.
Color me embarrassed.
Thanks for the prompt reply,
SETH
On 4/25/07, Wayne Fay [EMAIL PROTECTED] wrote:
Someone has probably set
On 4/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
hello,
how can I get the current date (formatted in english) and/or build number ??
i.e : something like a property or a filter or a $mvn.something
check ${project.artifact.version}
Regards,
Tomek
You might look into the buildnumber plugin:
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/index.html
Patrick
On 4/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
hello,
how can I get the current date (formatted in english) and/or build number
??
i.e : something like a
I would like to know how to version my site documentation. I have a nightly
build that I use for generating snapshots and promoting them to our internal
maven repo along with deploying site docs to apache. In addition, when I
create a release of a particular artifact I generate site
On 4/25/07, jp4 [EMAIL PROTECTED] wrote:
I was wondering if there is a way to deploy the site documentation to two
different locations so that it is versioned properly...
For example,
http://www.foo.com/project1/1.0-SNAPSHOT
http://www.foo.com/project1/1.1/
Try using ${version} in your
Hi guys,
We have a multi-module M2 project, and we're trying to aggregate our Clover
test coverage reports. We've followed the documentation [1], and it seems to
work, but only one level down (ie, children modules are aggregated into the
parent module, but grandchildren modules are not). What do
I am using the Eclipse plugin for Maven to add a builder so that upon every
clean the resources:resources goal gets invoked. This avoids the tedious
process of keep filtered resources up to date after a clean in Eclipse. The
output for this in the .project file looks as follows:
buildCommand
Wendy,
I tried what you suggested, but it appears as though none of the child
modules for the parent projects are linked properly. It creates directories
/project-parent-1.1-SNAPSHOT/project-parent/
/project-moduleA-1.1-SNAPSHOT/project-parent/moduleA
Hi Users,
One the first things the charming and happy folks at Sonatype want to
do is give you a Maven book. It's just in HTML right now, but free,
and no registration required (we won't spam you, promise).
It's your for the taking!
http://www.sonatype.com/book
Thanks,
Jason.
On 25 Apr 07, at 7:10 PM 25 Apr 07, Mark Derricutt wrote:
Just had a quick look - looking nice! Is there only the online
HTML version
or a downloadable one as well?
We can make a download for you. PDF will be coming soon.
Jason.
On 4/26/07, Jason van Zyl [EMAIL PROTECTED] wrote:
and
No rush them :) PDF will be better anyway.
On 4/26/07, Jason van Zyl [EMAIL PROTECTED] wrote:
We can make a download for you. PDF will be coming soon.
On 25 Apr 07, at 7:10 PM 25 Apr 07, Mark Derricutt wrote:
Just had a quick look - looking nice! Is there only the online
HTML version
or a downloadable one as well?
Here you go:
www.sonatype.com/MavenTheDefinitiveGuide.zip
Thanks,
Jason.
On 4/26/07, Jason van Zyl [EMAIL PROTECTED]
Great work!
I like this HTML version since it is truly handy and just a click away :)
And I question i cannot resist to ask: Gatekeeper? ;)
~t~
On 4/26/07, Jason van Zyl [EMAIL PROTECTED] wrote:
On 25 Apr 07, at 7:10 PM 25 Apr 07, Mark Derricutt wrote:
Just had a quick look - looking
Oops, I guess I got a little ahead of myself... forget you saw that ;)
Not to spread rumors, but there might be something cool coming down the pipe
and it might be named Gatekeeper and it might make Maven easier to manage...
of course, this might not be true, so stay tuned :-P
Eric
On 4/25/07,
build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-gpg-plugin/artifactId
executions
execution
idsign-artifacts/id
phaseverify/phase
goals
My mistake; appears to be inherited!
On 4/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-gpg-plugin/artifactId
executions
execution
On 4/25/07, jp4 [EMAIL PROTECTED] wrote:
I tried what you suggested, but it appears as though none of the child
modules for the parent projects are linked properly. It creates directories
...
But the modules directories are at the same level as the parent... Any
ideas?
Without seeing your
Is there a way to specify the versions and tag information for a
batch-mode release:prepare, instead of accepting the defaults? I'm
hoping there's some way to specify the properties on the command like
similar to the -DdryRun property.
Thanks,
Dave
Sorry if this is a niave question, but I haven't had much success
Googling it.
We have a plugin that uses Velocity to generate some of our source.
The plugin needs to look for overridden Velocity templates in a project
specific location before using those contained within the plugin.
At this
Thomas,
As I expected, I can't reproduce your problem. I put the buildCommand
that you've included into the .project file for an eclipse project,
run eclipse:eclipse and it stays put. Are you running eclipse:clean?
That would completely remove and regenerate the .project file.
Otherwise, I'm
90 matches
Mail list logo