2009/9/21 Neil Chaudhuri
> 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 seem to actually build the d
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 Plug
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].
org.apache.maven.plugins
maven-source-plugin
test-jar
test-jar
[1] http://maven.apache.org/plugins/maven-s
Ahh much nicer... I should have guessed there was a second mojo!
2009/9/22 Nick Stolwijk
> Add a second execution which executes the test-jar goal[1].
>
>
>org.apache.maven.plugins
>maven-source-plugin
>
>
> test-jar
>
>
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, Sep
Nick
I have followed the tutorials on the ServiceMix site to the letter.
The repositories in the pom.xml file are:
false
apache
Apache Repository
http://people.apache.org/repo/m2-ibiblio-rsync-repository
false
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
t
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 th
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 ro
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 inc
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
wrote:
> Brett
>
> Would this
All,
I am unable to build M3 from trunk. It complains about a bunch of
Plexus bundles that don't seem to exist in central. What am I doing
wrong?
Regards,
Rob Harrop
SpringSource
-
To unsubscribe, e-mail: users-unsubscr..
> 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
The final release of "Apache Maven 2: Effective Implementation" is now
available online! It is available in both eBook and printed + eBook
versions, and is written by Deng Ching and myself with help from our
reviewers Wendy Smoak, Emmanuel Venisse, and Carsten Ziegler.
http://www.packtpub
On 2009-09-22, at 2:28 AM, Rob Harrop wrote:
All,
I am unable to build M3 from trunk. It complains about a bunch of
Plexus bundles that don't seem to exist in central. What am I doing
wrong?
You're not doing anything wrong. We wander back and forth between some
snapshots and we use re
Hi,
I have a parent POM with multiple profiles containing dependencyManagements.
>
>
> PROD-1.0
>
>
>
>
> group
Hello,
Could someone please confirm or dismiss (preferably the latter) the following,
from
http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-multi-module.html
(Maven: The Definitive Guide):
"The directory structure on the file system would also mirror the module
relati
I'm looking for a Maven plugin (or some other way, we use Teamcity) to make my
build fail if the build log contains a keyword (let's use an example:
"BadSqlGrammarException"). I searched for "maven log analyzer" and "maven
fail exception" and didn't find anything useful. I acknowledge that so
Greetings:
I found the answer to my question in the maven-source-plugin wiki page here:
http://docs.codehaus.org/display/MAVENUSER/Source+Plugin
org.apache.maven.plugins
maven-source-plugin
true
install
jar
test-jar
Now when I
The documentation is correct... the structure must follow a predefined
layout. Maven uses convention over configuration and requires you to
use a defined directory structure (it's possible customize in some cases
but not worth it). Why you would want a root level pom in a sibling
directory is bey
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-FM&T
Reply-To: Maven Users List
Date: Thu, 17 Sep 2009 17:09:06 +0100
To: Maven Users List
S
> I'm looking for a Maven plugin (or some other way, we use Teamcity)
> to make my build fail if the build log contains a keyword (let's use an
> example: "BadSqlGrammarException").
This sounds like something that would be implemented as a Teamcity
module, not a Maven module... And it sounds like
It seems we all suffer from the same.
A day only has 24 hours and a few of them are required for hibernation.
Why don't we all state that a day has a 100 hours then we would at least
be ably to do 4 times as much ;-)
On the otherhand, we could also try to improve our efficiency, but that
is much
The documentation is correct w.r.t. sections
however, this does not apply to sections.
The section does not have to contain any at all.
In fact some people maintain that it is better if the parent-child
relationship is "functional" while the modules-child relationship is
"structural"
The ot
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
Let me be more explicit about my requirements..
I have a set of legacy projects, each belonging within a sub-directory of
$DEV_ROOT, say: $DEV_ROOT/A; $DEV_ROOT/B; etc.
>From an empty $DEV_ROOT, I would like to be able to checkout from SCM a POM
>(which lists A, B, etc. as modules), into either
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 decla
Indeed the projects share common dependencies.
It seems to me, though, that you conflate the "structural/functional"
relationships referred to by Stephen below (or is that perhaps imposed by
Maven?). Surely a parent POM containing common dependencies can live in
$DEV_ROOT/parent, without requir
With all due respect, why do you care?
The parent project is only a POM... It effectively declares the structure of
the project. If there is a core piece of logic that all other modules are
built around, you define a module for that logic and then declare it as a
dependency of all other modul
I care, because the legacy nature of the project means that any changes I make
to the existing structure of codebase on filesystem entails a lot of thought,
and risks a veto. This is surely not an uncommon scenario.
I understand what is involved in, and (directly) implied by, declaring one
proj
In my mind... those are governance issues and are inherent in the
decision to port to maven. Maven will simplify your life in terms of
code and dependency management and if those legacy projects are still in
active development - it's not an unadvisable port.
For the most part, your codebase shoul
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
Repo
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 wil
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.
http://maven.apache.org/share
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 statemen
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
depend
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 authentica
> 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 inform
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 g
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: using
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 maven
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 progua
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
C:\GAN
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 wrote:
> I am new in using maven , so some basic problem confusing me:
> 1 When I create a new maven project how do I know
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 modul
Hi,
I am using Maven 1.0 and my jdk is 1.5. Now when i am trying to build my
application jar i am getting some strange errors.
warning: unmappable character for encoding UTF8
[javac] /**
[javac] ^
this is just a warning but still the build is failed.
I have added
maven.compile.sour
Hi, I have the following scenario. I have a WAR type project which uses the
WAR overlay feature. The WAR overlay is added as dependency as described
http://maven.apache.org/plugins/maven-war-plugin/overlays.html here . Now I
have the problem, that when building the WAR artefact for production, I
52 matches
Mail list logo