-Original Message-
From: Allan Ramirez [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 02, 2006 2:32 AM
To: Maven Users List
Subject: Re: Build date time
Hi Jorg,
I think it is not possible for the moment.
Please file a jira request if it is not yet existing
But with assembly i can zip/copy/unpack only the deps of the pom but the
included modules (A,B,C)
will not be included since the are not deps of the parent pom?.
My solution until now is to create a sepereate module release which
deps (A,B,C) and uses the asssembly.
IMHO this should not be
I have seen that work is going on in this regard:
http://mojo.codehaus.org/cobertura-maven-plugin/
Is there any way to use this with m2.0.2? i have tried:
* Tried to use as specified in
http://mojo.codehaus.org/cobertura-maven-plugin/usage.html. Failed.
* Downloaded the source for the plugin
Lance Bader wrote:
No, I double checked my prototype web site. If a directory does not contain
any xdoc source files (like images or styles in my structure), it is copied
to the base directory but not the language directories. Maybe this is a
defect?
This should be fixed in the current
Hi,
I have some configuration files in my resources directory, which I don't
want to package in the jar. And I don't want to put these files in any
other directory. I am using Maven 2.0.2. Does anyone have an idea how to
do this?
Thanks in advance.
Seema
Hi,
You can use excludes from resources
project
...
build
resources
resource
excludes
excludefile-to-exclude/exclude
/excludes
/resource
/resources
...
/build
/project
-allan
Seema Neb wrote:
Hi,
I have some configuration files in my
Hi all,
looking in some artifacts' pom in ibiblio, I found this:
dependency
groupIdeclipse/groupId
artifactIdjdtcore/artifactId
version[3.1.0,)/version
scopecompile/scope
/dependency
What's the meaning of [3.1.0,)? Maybe version must be greater than or equal
to 3.1.0?
Tnx,
Luca
try mvn -e deploy
On 3/2/06, Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at
Cisco) [EMAIL PROTECTED] wrote:
Hi All,
My build is failing at deploy command. Sometimes it works fine,
sometimes it fails. The error msg says session down.
Any suggestions ??
[INFO] 01 Mar 2006
Hello,
Just finished reading
Get the most out of Maven 2 site generation
http://www.javaworld.com/javaworld/jw-02-2006/jw-0227-maven.html?lastpage=1#talkback
and now I am wondering where can I find an XML Schema (xsd) or DTD for
XDoc format which is used for custom site sections. I Googled
Thanks for response, but this is not working!! Do I need to do some
special configuration for this to work?
Regards,
Seema Neb
-Original Message-
From: Allan Ramirez [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 02, 2006 4:40 PM
To: Maven Users List
Subject: Re: Preventing some files
The format is the same as the one used in maven 1
You can find the documentation here :
http://maven.apache.org/maven-1.x/plugins/xdoc/reference/xdocs.html
and the dtd here :
http://maven.apache.org/maven-1.x/plugins/xdoc/maven-xdoc.dtd
Arnaud
On 3/2/06, Borut Bolčina [EMAIL PROTECTED] wrote:
Henry S. Isidro wrote:
[snipped...]
Have you tried passing it via command line? For example, mvn package
-Dlocal.repo.url=your_local_repo
Why would I want to do this...? That would mean every time I run maven, I've
got to specify loads of options, which defeats the point really. What I want
Thanks Arnaud!
On 2.3.2006 12:41, Arnaud HERITIER wrote:
The format is the same as the one used in maven 1
You can find the documentation here :
http://maven.apache.org/maven-1.x/plugins/xdoc/reference/xdocs.html
and the dtd here :
How to prevent assembly doing another build???
Thanks
Jens Zastrwo
[pom.xml]
plugin
artifactIdmaven-assembly-plugin/artifactId
executions
execution
phasepackage/phase
goals
It looks reds to me too, I just ignore it.
But indeed, the xsd should define that anything goes under configuration.
Mick Knutson wrote:
In the following block:
plugin
artifactIdmaven-assembly-plugin/artifactId
version2.0-beta-2/version
Hi,
Is it possible for maven to download files from a maven repo that can
only be accessed via HTTPS with client certificates?
The privateKey tag in the settings file, seems to only refer to ssh
related uploads.
Thanks in advance,
/Jens
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Pilgrim, Peter
Sent: Monday, February 27, 2006 1:50 PM
====
Hi
I am very proud to announce that three video presentations are
now downloadable from Google Video Beta sites. These presentations
were
Hello,
maven multiproject use a reactor to do the compilation.
Usually, if i do a maven multiproject:install at the root, i get all
project compiled in the order of dependencies (a depends on b so
multiproject compile b before a). At least i have always seen this
behaviour.
However, today i
I want to use an external entity in an xdoc file as part of my site
generation.
I have the following code in my xdoc file.
?xml version=1.0?
!DOCTYPE document [
!ENTITY entityExample Hello entity is working
]
document
properties
titleMy Doc/title
/properties
body
section name=My
[EMAIL PROTECTED] a écrit :
Hi All
How multi module maven2 project works with continuum(either 1.0.2/1.0.3
Snapshot) and clearcase
i have my project in clearcase has
Modules
+ Module A
+SubModuleA
-pom.xml
+SubModuleB
-pom.xml
Hello,
I'm working under Eclipse 3.1.0 and Maven 1.1-beta-2.
When I install the mevenide plugin for Eclipse, and that I try to launch a
maven goal, I have the following exception :
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl not found
at
Hi,
I am added a FAQ to an existing project that is using maven to generate its
documentation. The xdocs all generate fine, but when I add a file with the
.fml extension nothing happens. Any idea what I am doing wrong?
This is maven.xml I am using. Maven 1.0.2, maven-docbook-plugin 1.2
AFAIK mevenide for eclipse doesn't work with maven 1.1-beta-2.
Milos
On 3/2/06, Blaise Gosselin [EMAIL PROTECTED] wrote:
Hello,
I'm working under Eclipse 3.1.0 and Maven 1.1-beta-2.
When I install the mevenide plugin for Eclipse, and that I try to launch a
maven goal, I have the following
Hi,
What you need is a xerces parser for maven.
Create a new directory under %MAVEN_HOME%/lib, called endorsed
Copy into it the last version of XercesImpl .
Enjoy !
Blaise Gosselin a écrit :
Hello,
I'm working under Eclipse 3.1.0 and Maven 1.1-beta-2.
When I install the mevenide plugin
The recommended way is to use the maven-scm api (that will be release as 1.0
final very soon)
You can look at this file for a sample of use :
-Original Message-
From: Jens Zastrow
Sent: Thursday, March 02, 2006 2:03 PM
To: 'Maven Users List'
Subject: [assembly] assembly:directory in phase package invokes whole
build twice
How to prevent assembly doing another build???
Thanks
Jens Zastrwo
[pom.xml]
plugin
Did you add the maven-faq-report in your project.xml ?
Arnaud
On 3/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I am added a FAQ to an existing project that is using maven to generate
its
documentation. The xdocs all generate fine, but when I add a file with
the
.fml extension
sorry it's maven-faq-plugin
Arnaud
On 3/2/06, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Did you add the maven-faq-report in your project.xml ?
Arnaud
On 3/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I am added a FAQ to an existing project that is using maven to
I found a gotcha with using the Eclipse Webtools Project to deploy my
webapp after using the Maven Eclipse plugin. It's a bug with the
Webtools Project, but I thought I'd let Maven users know, as it's
possible to affect them.
As you may know, https://bugs.eclipse.org/bugs/show_bug.cgi?id=116783
I have a problem runing tests under m2. I can compile my sources
successfully but for some reason runing tests is a problem:
here is my output with -X flag on
[INFO] Setting reports dir:
c:\eclipse\workspace\domain-driven-aj\target/surefire-reports
[DEBUG] Test Classpath :
[DEBUG]
Hi.
I have a test case that uses a signed jar file (bouncy castle JCE
provider). This test case works fine from the command line, but fails when
run via Maven:
Testcase: testFunctionality(crypto.BCImplTest): Caused an ERROR
The provider BC may not be signed by a trusted party
Thanks for your reply,
Yes my working directory for sub modules are empty
I just have my scm url only at my parent module like here in my directory
structure i have it in Modules,Module A Module B pom.xml
so when i added this has maven2 project and pointed the pom url to
Modules-pom.url,
Hi !
I'm new to Maven and i need some help to launch Jmeter from Maven using
Antlib. I have already a build.xml which works fine, and i would like to call
it from Maven at package phase. My problem is that i dont manage to add the
ant-jmeter.jar to the classpath from Maven. (I'm
You need to add your ant-jmeter.jar as a plugin dependency.
build
plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasepackage/phase
configuration
tasks
1- your scm urls are wrong, they must start with 'scm:' and not 'scm|'
2- I'm not sure you need to create a view by module, but i don't know because i've never use
clearcase. Check your scm urls in sub-modules by running 'mvn help:effective-pom'.
Emmanuel
[EMAIL PROTECTED] a écrit :
Thanks
I have a project that contains about 8 different modules, and sub-modules.
When I run site:site, the docs seem to get run for the whole project, but
the main index.html does not tie the docs together like they did in m102.
What am I missing to get a cohesive set of docs?
---
Thank You
Mick
I'm writing a mojo which, among other things, needs to add dependencies to the
project at runtime. At first, this seemed straightforward enough:
Dependency dep = new Dependency();
dep.setGroupId(groupId);
dep.setArtifactId('artifactId);
dep.setVersion(1.0);
dep.setScope(compile);
I'll throw this out with the disclaimer that this is not best
practices.
The toughest part of a migration to m2 IMO is the reordering of the
source tree in order to deal with the single artifact per project.
I've found that in my particular case, there are certain instances of
this where
I have a master pom that has zero java classes, and no ./target/classes DIR
Then under my dependencyManagement, I have the following plugin:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
I have the following scm declaration:
===
scm
connection${svn.connection}/connection
developerConnection${svn.connection}/developerConnection
url${svn.url}/url
/scm
This is valid as I have checked this with the assembly plugin and it works
fine.
Dear List,
I have a cocoon project that I am building with Maven 2. The project
consists of a parent project, a sub-project containing the content, a
sub-project for Cocoon-specific classes, and a sub-project containing
Spring Framework DAO's. All tests pass using the Eclipse JUnit test
runner.
I did try that...
No additional information even with -e option.
-Jagan
-Original Message-
From: luca rasconi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 02, 2006 3:08 AM
To: Maven Users List
Subject: Re: deploy failing- error msg :session down
try mvn -e deploy
On 3/2/06,
Solved this issue.
It seems that using the '|' delimiter verse the ':' does NOT work. You MUST
use the ':' delimiter
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
Washington Mutual (WAMU) (Emeryville, California)
---
I would love to be able to generate diffs from svn into my site
documentation.
is this possible? The changelog is not what I am looking for.
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
Washington Mutual (WAMU)
I do have another issue now though.
I have an existing non-maven project I am integrating with that I just added
a ms DIR to add my new Maven to.
This is:
./app_home
./app_home/core
./app_home/m2
./app_home/m2/core
Now all my maven configuration is to ./app_home/m2/*
but my svn main trunk
try jdiff plugin at mojos site
In data Thu, 02 Mar 2006 20:15:34 +0100, Mick Knutson
[EMAIL PROTECTED] ha scritto:
I would love to be able to generate diffs from svn into my site
documentation.
is this possible? The changelog is not what I am looking for.
---
Thank You
Mick Knutson
Sr.
I'm helping someone writing a JAXB plugin for Maven2, and one thing we'd
like to do there is to read mojo configuration in a custom way --- not
by using the default field injection.
I was reading the code and it seems like I should be able to do so if I
write a custom ComponentConfigurator,
Kohsuke Kawaguchi wrote:
I'm helping someone writing a JAXB plugin for Maven2, and one thing we'd
like to do there is to read mojo configuration in a custom way --- not
by using the default field injection.
I was reading the code and it seems like I should be able to do so if I
write a
Hi guys,
Been using Maven2 for a while but never used the SCM features
previously. Decided to look into SCM for a project.
I got a working scm:checkout etc just now by configuring the SCM in my
pom.xml. But the files land in /target/checkout. And of course I want
them to land in my current
You're using SCP... This is secure copy which uses SSH for the
secure part... Your error seems to indicate that for some reason,
your SSH tunnel is not always available when the scp process attempts
to copy the files.
From your description of the error, it sounds like a random network
issue. If
I'd like to use continuum to generate my documentation for build a head of
time and store it in a maven repository like structure.
I already have an automated process using python and WebWorks/Automap, but
doc gen takes about 30 minutes per build and I'm about to encounter
localization into 11
Hello All,
I'm having some trouble accessing the classpath references described at
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html.
Here's a snippet from my pom.xml:
execution
idcompile/id
phasecompile/phase
configuration
Sorry - my problem was not w/ maven, but with my use of ant. Changing
the ant target to include:
property name=path.string refid=maven.dependency.classpath/
echo${path.string}/echo
demonstrates that the path is being correctly passed by maven.
-- john
John Cartwright wrote:
Hello All,
Hi all,
I am trying to build a custom archetype and faced two problems:
1) Generate a Flat Package Directory Structure
---
E.g., supposing groupId=com.acme, generate:
com.acme
+-foo.xml
+-goo.xml
instead of
com
+-acme
Hi, I am getting
[ERROR] svn: PROPFIND request failed on '/svn/repository/project/trunk'
svn: PROPFIND of '/svn/repository/project/trunk': authorization failed
(http://acme.com)
while trying to make maven (2.0.2) reports with maven-change-log plugin
(developer activity,...).
plugin
Hello:
I would like to be notified everytime that continuum builds m2 projects.
Currently, If 'Same state' meaning the last build was a success and
current build was a success, it will 'not sending message.'
Is there a forceful way to send messages everytime?
Christiaan
DISCLAIMER
The
Immagine Google Base + Maven repository, a match made in heaven :)
Srgjan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Btw in the mean time, if you have Maven proxy installed, there is
already a web-based search engine :)
On 3/2/06, Srepfler Srgjan [EMAIL PROTECTED] wrote:
Immagine Google Base + Maven repository, a match made in heaven :)
Srgjan
Usually when I have this kind of behaviour it is because I have made a
typo somewhere in my poms (dependencies, modules or parent tags). From
your output, I can't tell Maven is trying to download one of your
project because it can't find it. Check carefully the output and see
where the dependency
I don't think spring class is missing, it seems to be another class.
Check BeanUtils.java:364, maybe there is a mistake in spring 2 pom
file.
On 3/2/06, Alex Shneyderman [EMAIL PROTECTED] wrote:
I have a problem runing tests under m2. I can compile my sources
successfully but for some reason
Why don't you use the dependencies annotations? See
http://maven.apache.org/developers/mojo-api-specification.html.
On 3/2/06, Matthew Beermann [EMAIL PROTECTED] wrote:
I'm writing a mojo which, among other things, needs to add dependencies to
the project at runtime. At first, this seemed
Whoops I mean why don't you provide them in your plugin pom file and
then use the plugin mojos to generate and install your custom plugin?
On 3/2/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
Why don't you use the dependencies annotations? See
Any way to access other elements in your settings.xml? Say via an XPath?
${servers/server[id='myServer']/username/text()}
or something like that?
J
On 23-Nov-05, at 2:33 PM, Brett Porter wrote:
Yes, you should be able to put properties in aprofile in settings.xml
and use them from the
instead of specifyind -D on the command line you can define it in your
settings.xml
a usefull aproach for sharing project information, including properties, is
using inheritance
make your project inherit from a common pom and define there the properties
you want to share
but if you think ant
Hey all,
My company uses javadocs and external sources extensively in IntelliJ, and
it was driving me crazy to have to manually reconstruct them every time
someone regenerated the intellij module files using the idea plugin for
maven 1.x.
Here's the idea I started to put together.
project.xml:
M2_HOME = C:\maven\maven-2.0.1\bin
should be
M2_HOME = C:\maven\maven-2.0.1
-Max
On Fri, 2005-12-23 at 09:51 +, Abbs, David A wrote:
The machine has no internet connection its on a closed network, should
it still not reference the local plug-in store?
I have another problem when
Whoops, had mail sorted by something other than date (hence my reply to
such an old message). Sorry. And sorry again for sending this sorry
message. :-0
-Max
On Thu, 2006-03-02 at 16:44 -0800, Max Cooper wrote:
M2_HOME = C:\maven\maven-2.0.1\bin
should be
M2_HOME = C:\maven\maven-2.0.1
Hello Mick,
MK I have a project that contains about 8 different modules, and sub-modules.
MK When I run site:site, the docs seem to get run for the whole project, but
MK the main index.html does not tie the docs together like they did in m102.
MK What am I missing to get a cohesive set of docs?
68 matches
Mail list logo