On 12/09/2009, at 10:05 AM, jemmer wrote:
We are using a the reactor plugin extensively but have noticed that
it never
installs the master pom to the local repository. We manage all of our
dependency version information in the master pom, so it is important
that it
be updated in the
Folks;
maybe a strange use case again, however: We're using maven2 along with
Spring and some other libraries included to build web applications, deployed
to .war files, usually deployed to contain all the dependent .jars in
WEB-INF/lib. While this is good in most situations, we found that in one
I think you should have scope 'provided'. Your use case is what that's for.
Regarding handling your dependencies for production, that's more of a server
deployment issue isn't it? What I think you can use is the copy-dependensies
mojo of the dependency plugin (
I'm not sure if you got this resolved but I'm told this is a server
side rule to prevent the bad checksums from 2.2.0 getting into the
repository. It may need to be reviewed - in any case you should
contact Atlassian about it as Maven is working with other WebDAV hosts..
- Brett
On
Hi Anders;
and first, thanks a bunch for your comments, much appreciated. :)
Anders Hammar schrieb:
I think you should have scope 'provided'. Your use case is what that's for.
Yes, that's what I thought as well, but, well, it's not always the case -
we're using the same app code base for
Anders Hammar schrieb:
I think you should have scope 'provided'. Your use case is what that's
for.
Yes, that's what I thought as well, but, well, it's not always the case -
we're using the same app code base for various deployments, but in not all
situations the artifacts actually _are_
Anders Hammar schrieb:
You can have one project with a primary artifact (including all
dependencies) and an extra artifact (w/o deps) using a classifier. I don't
think you should worry about have many artifacts. If you do that, then you
will have problems with maven...:-)
I see. :) So by then
2009/9/21 Neil Chaudhuri nchaudh...@potomacfusion.com
I have that book, but it isn't clear to me if the assembly plugin actually
builds and installs all the components. The way it reads, it seems like you
simply describe where existing files live to be included in the assembly. It
doesn't
Hiyas,
I am trying to use the Maven War Plugin to move some resources into the
WEB-INF/xsd directory instead of the WEB-INF/classes directory...
The XSDs exist in the src/main/config directory along with some
descriptive xml files which I do not want copied. I configured the
Maven War
Hi
I am completely new to maven, just running through some ServiceMix
tutorials (completely new to that too).
Tracking down a 'mvn install' failure that said:
[INFO]
[ERROR] BUILD FAILURE
[INFO]
Add a second execution which executes the test-jar goal[1].
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-source-plugin/artifactId
executions
execution
idtest-jar/id
goals
Ahh much nicer... I should have guessed there was a second mojo!
2009/9/22 Nick Stolwijk nick.stolw...@gmail.com
Add a second execution which executes the test-jar goal[1].
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-source-plugin/artifactId
As you are the first one to notice this, I would think it would be or
your local computer or your company repository. Which repositories are
you using for your project?
With regards,
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Tue,
Nick
I have followed the tutorials on the ServiceMix site to the letter.
The repositories in the pom.xml file are:
repositories
repository
releases /
snapshots
enabledfalse/enabled
/snapshots
idapache/id
nameApache Repository/name
ServiceMix need to update their examples since they are pointing to an
old domain name they apparently no longer own - you're going to need
to ask them.
BTW, a more robust set up you can work with is to put a repository
manager in place - you can direct all your maven requests to it and
Hi Minto,
Minto van der Sluis wrote:
Hi Manos,
JavascriptDependencyFilter is a nice feature and a technical showcase,
but I would not allow a feature like that to be activated in projects I
control.
With this feature I have no absolute control over my deliverables. As
far as I can tell
Hi Manos,
It seems I misunderstood the functionality. I thought .js files were
pulled from outside the delivered EAR/WAR file straight from the maven
repository.
In this case the part you didn't get does not apply anymore. The same
counts for my objections.
Regards,
Minto
-Oorspronkelijk
Brett
Would this be something like Nexus?
Thanks
Regards
On Tue, 2009-09-22 at 18:32 +1000, Brett Porter wrote:
ServiceMix need to update their examples since they are pointing to an
old domain name they apparently no longer own - you're going to need
to ask them.
BTW, a more robust
Sluis, M. van der (Minto) wrote:
It seems I misunderstood the functionality. I thought .js files were
pulled from outside the delivered EAR/WAR file straight from the maven
repository.
Truth is I need to make this clearer in the documentation.
To provide an example, suppose you wanted to
Yes, Nexus is one of the repository managers, and the best imho.
Others are Archiva or Artifactory.
With regards,
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Tue, Sep 22, 2009 at 11:46 AM, Richard Taylor
rjtay...@taz.qinetiq.com
PS. Nicolas, 19 open issues in Jira, so there is some community feedback
for your project.
Half of them are Harlan Iverson todo list (also committer in this project)
Some may get fixed quickly, but few of them has patch attached.
By feedback I suggested mailing list activity on user or
Hi,
I have a parent POM with multiple profiles containing dependencyManagements.
profiles
profile
idPROD-1.0/id
dependencyManagement
dependencies
dependency
Greetings:
I found the answer to my question in the maven-source-plugin wiki page here:
http://docs.codehaus.org/display/MAVENUSER/Source+Plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-source-plugin/artifactId
configuration
attachtrue/attach
/configuration
Sorry to ask again, but does anyone have any ideas? Is the question clear
enough/have enough info? I cannot get snapshots to work...
Thanks in advance,
Paul
-- Forwarded Message
From: Paul Thomas-FMT paul.thom...@bbc.co.uk
Reply-To: Maven Users List users@maven.apache.org
Date: Thu, 17 Sep
Hi All,
Is anyone successfully configured UCM clearcase using SCM plugin and created
a source codes changes report from maven??
I couldn't configure nothing working for me, can you please any one point me
to any available examples please!!!
Thanks
Jan
If those projects have no dependencies upon each other... than you are best off
declaring them as separate projects - you will then be able to check them out
and build them as necessary.
If those projects share common dependencies, you will want to establish as
parent project which will
Looking in the Sonatype Maven book I see mention of the ability to
specify the version of a dependency as LATEST or RELEASE
(http://www.sonatype.com/books/maven-book/reference/pom-relationships-se
ct-pom-syntax.html , 9.3.1.3)
However when I try this (I'm using 2.0.9 and Nexus) it doesn't seem
James
they are both versions
so as the same level you have 1.0.0. create a folder called LATEST and a folder
called RELEASE
and put the latest pom and jar into LATEST and release pom and jar into RELEASE
so your directory tree should look something like
Repository/groupId/artifactId/LATEST
these are *deprecated* features
they never do what you think they do!
LATEST picks the last version to be deployed... RELEASE picks the last
non-SNAPSHOT to be deployed
now imagine you have two development streams in progress... 1.x and 2.x
as each stream deploys their releases, RELEASE
The Maven team is pleased to announce the release of the Maven Verifier,
version 1.2
This is a shared library for use in testing various Maven components. It
allows the user to execute Maven builds as part of the testing process,
with methods supporting test preparation and assertion of results.
The Maven team is pleased to announce the release of the Maven Artifact
Resolver, version 1.0
This is a shared library that aims to simplify as much as possible the
task of resolving dependency artifacts for one or more projects
(MavenProject instances) all at once.
The Maven team is pleased to announce the release of the Maven Remote
Resources Plugin, version 1.1
This plugin uses configurable sets of template files stored in the Maven
repository, combined with project and dependency POM information, to
generate files such as DEPENDENCIES or LICENSE
I notice that specifying a pom type dependency on a pom that has child
modules (e.g. it's a pom type) does not include those dependencies nor their
transitive dependencies. However a pom type dependency on a pom that is not
of pom type itself does bring in that dependency and its transitive
Hello all,
I'm in a very mixed environment which has me doing a variety of things on
Native platforms. I have been able to get this to work reliably on Solaris,
HPUX, Linux, Win32, and Win64. However, I am having some trouble with AIX.
I have a local Maven repository which requires
I'm not using a repository manager, just a file system exported via IIS.
Can you set up Nexus (or Archiva, Artifactory, etc) just to see if
that works? Then, if it does, you're all set to run a real MRM instead
of IIS/file system. ;-)
If it doesn't work, that gives some additional useful
I have created my own archetype, to use with google app engine
projects. I have packaged it and installed to my local repository usin
mvn package install command. I've navigated in my repo to test if the
jar is installed, and it is. But when I try to create a project using
my archetype I
Wayne,
I knew this was the answer I was going to get. I should have prefaced with
Use a repository manager answers need not apply. :)
The answer is I would rather not spin my wheels on that exercise as I won't use
it ultimately for a variety of reasons. I suppose your hoping to prove that
You need to specify the archetype repository:
http://maven.apache.org/plugins/maven-archetype-plugin/generate-mojo.html#archetypeRepository
Justin
From: Manuel Grau [mailto:mang...@gmail.com]
Sent: Tue 9/22/2009 5:47 PM
To: users@maven.apache.org
Subject:
I am new in using maven , so some basic problem confusing me:
1 When I create a new maven project how do I know which plugin to use?
2 the artifaceID and groupID respent what?
3 I have not use ant or other build tool before,so the pom.xml is stange to
me .
4 what is the difference between the
Hi all.
I am having all sorts of issues with maven-android-plugin together with
maven-proguard-plugin. I managed to sort out most of them, but I just can't
get rid of this final one. And I just don't understand what's happening
really.
It works well if I call android:dex separately from
Hello,
Thanks for your reply. But if I add the org.apache to the group ID, i am
having the following error:
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[ERROR] BUILD FAILED
[ERROR] Failed to validate POM for project sg.com.star.amrts:amrts-svc at
A good introduction to Maven is this book:
http://www.sonatype.com/products/maven/documentation/book-defguide
It's free!
/Anders
On Wed, Sep 23, 2009 at 04:22, maven apache apachemav...@gmail.com wrote:
I am new in using maven , so some basic problem confusing me:
1 When I create a new maven
A project having (child) modules is a different story than a project having
dependencies. Modules are not dependencies. So, you declaring a dependencu
on an aggregating project (a project with modules) will not add the modules
as transitive dependencies.
If you have dependencies on any of the
43 matches
Mail list logo