you can do a mvn
org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT:dashboard
As I suggested here:-
http://jira.codehaus.org/browse/MOJO-899
http://jira.codehaus.org/browse/MOJO-899
Dan Tran wrote:
umm, i actually have codehaus snaphot repo thru my maven-proxy, and i do
see
the
thanks Tim
that worked like a charm
Cheers
Priya
Tim Kettler wrote:
Hi,
have you tried excluding xerces explicitly from the
commons-configuration dependency?
-Tim
priyasubu schrieb:
Sorry about that.Its not a complaint I did not know how to figure that
one
out I do know
Hi,I am new to maven,I start with the maven in 5 minutes.
Everything works well,but it takes too much time to download the
plugins.The plugin in the Apache site are in separate directories
which makes them not easy to download.
When I worked at home,I can not connect to the Internet for some
Hi
I have the same identical problem...
Have you resolved in the meanwhile?
Any other hints?
Thanks regards.
Raffaele
Jan Delannoy wrote:
Hi all,
I'm having some problems using properties in the settings.xml. I'm
trying to use properties in the username and password elements of a
Hmm so property inheritance with file paths is a no-no then. I see what you
mean, I guess feasibly, a person might only get out the client, but not
check out any other code and therefore things would break.
That definitely gives me something to think about. Fun fun decisions.
On 9/28/07, Wendy
I think you should use ${project.build.directory} instead of
${basedir} as outputDirectory...
Philippe
On 9/27/07, Seenivasagam, Dhamotharakkannan [EMAIL PROTECTED] wrote:
Hello,
I have few Application related properties file. When I do compile I
expect all goes to the respective
I got it.
thanks a lot.
On 28/09/2007, Gisbert Amm [EMAIL PROTECTED] wrote:
That should work, as long as you invoke Maven with the -o (--offline)
switch and do not add further external dependencies to your project.
-Gisbert
zhongliang zhang wrote:
so,I just copy the ~\.m2\reposity
On 9/28/07, Ryan Moquin [EMAIL PROTECTED] wrote:
I have a multilevel multimodule project that creates servicemix service
archives and also bundles up a client jar for me. This all worked great,
until I decided I wanted to put all my wsdls into a single directory and
then specify that
hi,
my app is from type war so implicitly the war-plugin gets executed as first
plugin in package phase.
problem is that before building the war i need to package my axis2
webservice-app as aar (which exists as own task). aar-plugin must therefore
execute before war plugin. thus i cannot work
I have a multilevel multimodule project that creates servicemix service
archives and also bundles up a client jar for me. This all worked great,
until I decided I wanted to put all my wsdls into a single directory and
then specify that directory and the specific wsdl for inclusion in the
proper
2007/9/28, Paul Duffin [EMAIL PROTECTED]:
Damien,
The majority of my OSGi bundles don't yet provide a service (although
they will eventually), I am just porting them from a non OSGi
environment in which we typically used reflection to load an
implementation of a factory (defined in the API).
actually, what I'm trying to accomplish is that I still want this module to
go through all phases except the deploy one along with other modules in a
single run of mvn deploy. Just like we can skip test-compile or test
phase, is there the other way to configure to by-pass only deploy phase?
On
this does not work because tomcat plugin not looks on the archive-name,
merely to the packaging type defined in the head of pom.xml.
Wayne Fay wrote:
I'm not sure if it would work, but could you use finalName to
specify a .war, and leave packaging as type jar?
Wayne
On 9/28/07, aldana
hi,
is it possible to reuse plugins in that way that i can call them through a
new plugin (composing plugins). that means define dependency in pom.xml to
respective plugins and being able to call them with certain configurations
inside a new developed custom plugin.
an alternative is to define
What would be the better way to package JS libs ?
- option 1 : use existing WAR packaging with war overlay
good : Works today with no change, just requires us to agree on a
common folder for scripts
bad : cannot be used with jetty:run as the weapp is not packaged
- option 2 : use js
nicolas de loof wrote:
What would be the better way to package JS libs ?
- option 1 : use existing WAR packaging with war overlay
good : Works today with no change, just requires us to agree on a
common folder for scripts
bad : cannot be used with jetty:run as the weapp is not packaged
-
Hi All,
I'm using continuum beta-3 so far its going great,i really love this
i just need to figure out few things, i hope to get some answer from here in
user forum
1. Is there a way to customize the contents of notification email?
2. i use clearcase how is release function will work with that?
I agree with the js packaging.
It works fine for js libs like prototype that is build based on
multiple JS but pakcage as a single file.
It works less with scriptaculous, dojo or yahooUI that comes with
multiple JS with a internal JS-level dependency loading strategy. For
those one, this would
Hi ,
Ive set up an internal repository with archiva.
The repository is available via http because
I have made several deployments via WEBDAV without problems,
but when I declare this repository in a pom.xml to get the deployed
dependecies
something is happening:
On 27/09/2007, at 11:16 PM, Mika Hänninen wrote:
Hi,
Clover is claiming Not instrumenting sources with Clover as this
is not a Java project. When pom.xml has packagingesb/
packaging. When I change packaging to jar then there is no problem.
Question is, how I can generate Clover report
I started tinkering with the war overlay method just a few days ago, so I
may be missing some things. But so far it seems like a flexible enough
solution that it would be a good way to go.
I like it because:
* can use it today
* flexibility to put resources anywhere in the app one might need
*
Graham Leggett wrote:
On Thu, September 27, 2007 8:09 pm, Stefan Prange wrote:
2. I want my EAR file named after a predefined pattern. It shall be name
like appname.ear_timestamp, e.g. appname.ear_20070927. I tried to
achieve this with Maven before (with build/finalname) but with no
Note that this doesn't yet work for plugins not explicitly listed in your poms
(like the ones bound to the standard lifecycles) but I recently wrote some code
in enforcer to do this, so I can finally fix it here.
-Original Message-
From: zhongliang zhang [mailto:[EMAIL PROTECTED]
Sent:
All,
According to this article
(http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html?page=6), this
should work:
project
...
profiles
profile
idtest/id
activation
file
exists${java.home}/test1.properties/exists
/file
/activation
On 9/28/07, melpelotones [EMAIL PROTECTED] wrote:
Ive set up an internal repository with archiva.
The repository is available via http because
I have made several deployments via WEBDAV without problems,
but when I declare this repository in a pom.xml to get the deployed
dependecies
I'm not sure if it would work, but could you use finalName to
specify a .war, and leave packaging as type jar?
Wayne
On 9/28/07, aldana [EMAIL PROTECTED] wrote:
hi,
as described in post (see link
On 9/28/07, Kevin Jackson [EMAIL PROTECTED] wrote:
Hi,
Regarding the XML thing (OT wrt documentation - sorry).
XML basically sucks as a human readable format, it's a more verbose
form of tree/list syntax (like s-expr).
One problem I have with mvn that I don't have with Ant is that there
This is definitely I'm struggling with at the moment:
We have 2 artefacts for each js module:
1) one compressed module.js file
2) the source in multiple files, containing a module.js that
document.writes out script tags for each file. This is used for
debugging.
Currently I package with a zip
Damien,
Thanks very much for all your help. That is very similar to what I
want to do. The use of scopeprovided/scope is probably the bit I was
missing but I just need to check that it will work as I think it does.
The majority of my OSGi bundles don't yet provide a service (although
Thanks for the help guys ... scp is not an option for me, but at least I
was able to confirm my suspicion that this currently is not an easy thing
to do with Maven.
This would definitely be a feature wish for maven, that would help in the
ant/maven comparison stakes. I'm just sorry I haven't
http://maven.apache.org/guides/introduction/introduction-to-plugins.html
On 9/28/07, Johannes Haase [EMAIL PROTECTED] wrote:
Hello folks!
In each books and references about maven2 the mojo term has to be
an important meaning. But nowhere is an description what it implies
pertain to maven2.
Why don't you break your project up into 2 modules? One for your arr and
one that is for your war. Then make your war depend on the arr.
I'm not familiar with arr, so this is only a guess...
HTH
Jim
On 9/28/07, aldana [EMAIL PROTECTED] wrote:
hi,
my app is from type war so implicitly
That should work, as long as you invoke Maven with the -o (--offline)
switch and do not add further external dependencies to your project.
-Gisbert
zhongliang zhang wrote:
so,I just copy the ~\.m2\reposity directory to the offline
environment,and I can use the mvn with no downloading prompt
Hello folks!
In each books and references about maven2 the mojo term has to be
an important meaning. But nowhere is an description what it implies
pertain to maven2. Could anybody explain me its eligible existence please?
Many thanks
Johannes
ok here goes. this is my settings file
settings
profiles
profile
idinside/id
properties
repohttp://192.168.10.60:8080/repo
/properties
repositories
On Thu, September 27, 2007 8:09 pm, Stefan Prange wrote:
there are two reasons.
1. I didn't want to create a new java project only to package an EAR file.
Well, this reason is not quite cogent, I suppose. When using Maven one
should engage with Maven's multi module approach.
We relented and
I'll try to reproduce it.
Can you look at logs the enqueuing lines to see if projects are in the right
order?
Do you have scm changes between each build?
Emmanuel
Damien Lecan a écrit :
It isn't recommended to have the same source tree twice in continuum if pom
files have the same version.
Could you give me an example of how you separate your API and
implementation. Do you use separate poms, or within the same pom ? If
within the same pom how do you check that only the API is used by other
poms ? If in separate poms how do you build the bundle ?
There are 2 things in your
It isn't recommended to have the same source tree twice in continuum if pom
files have the same version.
With this configuration, continuum can't resolve correctly the build order so
a project B that must be built after an other project A is built before, then
when A is built, Continuum
Steinar Bang wrote:
Tomasz Pik [EMAIL PROTECTED]:
Configure plugins in profiles in parent pom and activate profiles in
child poms? This won't be automatic (I do not know if there's a way
to activate profile using packaging, maybe there's?) - you'll need
to add avtivation to child poms but
Sorry, the appropriate forum for this message is down, but I thought I might
be able to get some help here :)
I have just created an internal maven repository using proximity
(http://proximity.abstracthorizon.org). Everything is great, its acting as a
proxy and getting the jars from the internet
On 28-Sep-07, at 1:10 AM, owen_moony wrote:
I have just created an internal maven repository using proximity
(http://proximity.abstracthorizon.org). Everything is great, its
acting as a
proxy and getting the jars from the internet and caching them -
brilliant!
My only question is how do I
hi,
as described in post (see link
http://www.nabble.com/how-to-disable-implicit-plugin-execution-order-of-inherited-poms--tf4534393s177.html)
i cannot use the packaging type war, because inherited plugin execution
makes war packaging of axis2 app fail.
my workaround is to use the packaging
I just merged in the questions from the main FAQ on the maven site
(http://maven.apache.org/general.html) into the 'Answered Questions'
portion of the Wiki FAQ
(http://docs.codehaus.org/display/MAVENUSER/FAQs-1). The latter is a
*lot* bigger, but is also really, really buried. I promised to
http://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html
-Gisbert
zhongliang zhang wrote:
Hi,I am new to maven,I start with the maven in 5 minutes.
Everything works well,but it takes too much time to download the
plugins.The plugin in the Apache site are in separate
Hi,
We have a strange issue when building the war module. We have a
couple of common modules that are built by continuum and used as
dependencies in our project. Somehow these dependecies sometimes end
up twice in the war file (WEB-INF\lib), ie:
[DEBUG] adding entry
Actually, the model of 'shortcut translates to raw maven' may really
be the crux in getting maven really usable --- syntactic sugar can be
really effective.
--
H. Lally Singh
Ph.D. Candidate, Computer Science
Virginia Tech
-
so,I just copy the ~\.m2\reposity directory to the offline
environment,and I can use the mvn with no downloading prompt or no
build_failture prompt.
is it right?
On 28/09/2007, Gisbert Amm [EMAIL PROTECTED] wrote:
http://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html
2. i use clearcase how is release function will work with that?
not sure it will work with that, have only used it with svn tbh
3. is there any clearcase listener available from continuum to listen for
modification in source repository?
you can use the xmlrpc interface with continuum to
Dennis Lundberg wrote:
The Maven team is pleased to announce the release of Maven Doxia,
version 1.0-alpha-9.
Are you sure this works? I set up a simple pom because I wanted to try
the twiki site renderer and get:
[INFO]
The jar crimson-1.1.3 is causing an exception. When I manually remove
the jar from my WEB-INF/lib the exception goes away. I can't find where
the dependency for crimson-1.1.3 is coming from. Below is the
exception, maven version, jdk version, and pom.xml.
Exception:
Blake:
Analyzing the Project Site Dependency report or running dependency:tree (if
available :( )
should be able to tell you which dependency is causing crimson to be included.
Barrett
::
Barrett Nuzum
Sr. Consultant
Direct: 918.640.4414
Fax: 972.789.1340
Valtech Technologies, Inc.
Can you look at logs the enqueuing lines to see if projects are in the
right order?
It seems.
They are always in the same order for each build definition
executions, but not exactly as the same as it is this displayed by
Reactor when builing from parent pom.
Subprojects with pom packaging are
Hmmm. Gotta love it. Required goal not found: dependency:tree
Maven downloaded maven-dependency-plugin-2.0-alpha-4.jar, but the goal
still won't work.
Forgive me for not loving the transitive dependencies when I can't even
track down where the dependencies are coming from.
Thx anyway Barrett.
I've only written one pom.xml with only a several dependencies clauses but
I'm feeling a lot of dismay.
I'm using the Q eclipse maven plug in to select dependencies from the
repositories. I am spending a lot of time getting jar files that will
download. Since the eclipse plugin gives several
dependency:tree is only supported by
maven-dependency-plugin-2.0-alpha-5-SNAPSHOT currently... you can add the
SNAPSHOT repository by adding the following to your pom.xml
pluginRepositories
pluginRepository
idmaven.shapshot/id
THANK YOU Iker! I used the dependency tree on the dependencies report.
I added an exclusion to the dependency that required crimson.
Sorry for the simple question. I truly appreciate the help.
-blake
-Original Message-
From: Iker Almandoz [mailto:[EMAIL PROTECTED]
Sent: Friday,
I myself like the war overlay idea as this allow not just JS to be
packaged, but also any static resources, like css stylesheets :
consider webapp skins, maanged as separate projects, and applied to
all apps in a company !
BUT I don't like that it cannot be used with lightweight servlet
engine
For help on debugging the changelog-plugin see:
http://maven.apache.org/plugins/maven-changelog-plugin/faq.html
On how to specify a Perforce scm url, see:
http://maven.apache.org/scm/perforce.html
Yan Huang wrote:
Hello,
Is there any example as to how to configure changelog plug-in for
The version of maven-site-plugin that uses the new version of Doxia is
2.0-beta-6-SNAPSHOT. We are working on getting that released as well.
maven-site-plugin 2.0-beta-5 uses a previous version of doxia.
Dirk Olmes wrote:
Dennis Lundberg wrote:
The Maven team is pleased to announce the
The standard for how we document the plugins within the Maven project
can be found here:
http://maven.apache.org/guides/development/guide-plugin-documentation.html
It has been a long way and a lot of work to get this in place for all
our plugins. The purpose of the standard was to document
You can see the various options for the site:stage on this page:
http://maven.apache.org/plugins/maven-site-plugin/stage-mojo.html
Yan Huang wrote:
let me rephrase my 1st question: is there a way to configure the generated
directory name when I run mvn site:stage? It seems to me that it uses
I trudged through configuring LDAP and am now able to log on with my
sign on and password. I think I still have some configuration related
issues that need to be addressed.
When I access the server and am not logged in I have full admin rights.
This applies to anyone.
When I log in it seems I
Lally Singh wrote:
On 9/26/07, Wendy Smoak [EMAIL PROTECTED] wrote:
(There *is* a doc standard that they have to pass prior to being
promoted from the sandbox and released. Does it need to be changed?)
YES.
Right now the docs tend to look 100% autogenerated and be 0% useful.
Well, that's
Hello,
On maven 1, we have this tag eclipse.dependency for a dependency
dependency
groupIdmygroupID/groupId
artifactIdmyexmapleID/artifactId
version1.0.0.0/version
typejar/type
properties
zip.bundletrue/zip.bundle
Lee Meador wrote:
That sounds as easy as herding cats. Trying to get all the people on the
user list to NOT do anything is unlikely.
The fact is, as I see it, its easier to just give a quick answers to
questions that strike my fancy than it is to hunt it down in the docs and
point them to it.
Maven has got some properties (inherent) like
project.build.outputDirectory where can I find the rest of the
properties?
- Nishant
Steinar Bang wrote:
Denis Bessmertniy [EMAIL PROTECTED]:
It is interesting why maven is so hard to understand? Why it is not well
documented? (It is all my own opinions)
I haven't so much probmlems with Ant, for example.
Here are the problems I have had:
- unclear where maven ends and
Did you happen to resolve this issue??? I just started using htis plugin and
ran into the same issue... here is my POM.xml
?xml version=1.0?project
parent
artifactIdWebSend-Application/artifactId
groupIdcom.heartlab.ws/groupId
version0.0.1/version
/parent
In this thread I would like to focus on one aspect of the maven is
hard thread, namely documentation for plugin options.
Here's a quick run down on the different parts that a plugin site
consists of and how they are generated.
1. Navigation
The menu on the left hand side is specified in the
An answer is in the FAQ on the wiki.
Go to here http://docs.codehaus.org/display/MAVENUSER/FAQs and find the
question, How do I get a list of all available properties?
-- Lee
On 9/28/07, Sonar, Nishant [EMAIL PROTECTED] wrote:
Maven has got some properties (inherent) like
2.1 and 2.2 are often non-useful.
Examples that don't show the groupId tag can be confusing. Maybe that's
just me but the artifactId in the example isn't enough. I think it has
something to do with plugins moving around from codehaus to maven to apache
and such.
Sometimes there are example of
Hi,
I am new to maven. Is there a way to control which test classes are called
when I do an mvn install? One of my junit test cases is causing the jvm to
run out of memory, but works fine in eclipse. I would like to be able to
troubleshoot it and was wondering if there is a way to just to call
Lee Meador wrote:
2.1 and 2.2 are often non-useful.
Examples that don't show the groupId tag can be confusing. Maybe that's
just me but the artifactId in the example isn't enough. I think it has
something to do with plugins moving around from codehaus to maven to apache
and such.
Yes I
On 9/29/07, Suneet Shah [EMAIL PROTECTED] wrote:
Hi,
I am new to maven. Is there a way to control which test classes are called
when I do an mvn install? One of my junit test cases is causing the jvm to
run out of memory, but works fine in eclipse. I would like to be able to
troubleshoot it
thanks very much for the quick reply
Suneet
On 9/28/07, Tomasz Pik [EMAIL PROTECTED] wrote:
On 9/29/07, Suneet Shah [EMAIL PROTECTED] wrote:
Hi,
I am new to maven. Is there a way to control which test classes are
called
when I do an mvn install? One of my junit test cases is causing
Kjartan Aanestad wrote:
We have a strange issue when building the war module. We have a couple
of common modules that are built by continuum and used as dependencies
in our project. Somehow these dependecies sometimes end up twice in
the war file (WEB-INF\lib), ie:
[DEBUG] adding entry
I'd love if someone can help me here, I'm about to give up on Maven2, its so
frustrating :)
Anyway, the problem is that I can have everything working one day, then come
back the next day and find out that my project isn't compiling anymore.
It generally comes in the form of a transitive
Are you using a http proxy to reach your artifactory repo?
I faced an issue recently where the proxy was caching requests for
maven metadata, causing similar symptoms to those you are describing.
If that is the case, and if possible, try disabling the http proxy in your
settings.xml
-Olivier
Nope, no http proxy. It's like something is corrupting my local repo, I
wonder if there is indeed issues with artifactory. I'm going to scan their
JIRA.
Olivier Dehon-2 wrote:
Are you using a http proxy to reach your artifactory repo?
I faced an issue recently where the proxy was caching
Hi,all
I have one problem about depended jars. there're two kinds of
jars which couldn't be found in official maven repository. one is
special license jar, another is own jar.
if my project needs these jars, I could install them into my local
repository(.m2), and then add them to POM as
I'm just wondering if I'm experiencing this
(http://jira.codehaus.org/browse/MNG-2289) since I'm running 2.0.6 on my dev
machine and 2.0.7 on my build machine. I'll upgrade and see how it goes
gommo wrote:
I'd love if someone can help me here, I'm about to give up on Maven2, its
so
On 9/28/07, Steve Z [EMAIL PROTECTED] wrote:
I want to know how to embed own jars in project. such as one directory
named lib in project directory.and add them to POM,and could compile
them successfully anywhere. so others don't need install all the own
jars by hand.
Maven is repository
Has anyone successfully included JavaScript in xdoc rendered by the
site plugin? Brian ran into this trying to add Google search to the
Maven site.
If I put this in index.xml
?xml version=1.0?
document
properties
titleHello/title
/properties
body
section name=Test
You should
There is a new search box provided by google to search the maven related
sites for information. Ultimately I'd like to move the box to the banner
so it's available from all pages, but various issues are holding me up.
This is at least a step in the right direction.
--Brian
For those of us unfamiliar with M1 (or who are simply getting old and
forgetful), can you remind us what this tag does for you?
Wayne
On 9/28/07, Yan Huang [EMAIL PROTECTED] wrote:
Hello,
On maven 1, we have this tag eclipse.dependency for a dependency
dependency
86 matches
Mail list logo