Erik Husby [EMAIL PROTECTED] writes:
What would be the best way to generate the module menu?
Hello,
There seems to be complex interactions between site generation and
various parts of the poms. Something I have seen worked is:
- set URL for all modules to the right 'final' one, so that they
Hi!
On Friday 07 March 2008 Brian E. Fox wrote:
If this is the case for you, please reply and state the version you're
using and why (preferably referring to a Jira). We will use this
information to prioritize issues for 2.0.10 and beyond.
We are using maven 2.0.7. I wanted to upgrade to
Use com.oracle:ojdbc14:RDBMS-version instead of ojdbc:ojdbc:14 because
ojdbc14 is different according to your Oracke RDBMS version
___
Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 95
To be more precise I will describe more in detail.
I have some resources located on the filesystem of my PC that isn't inside
my scm, because they are platform dependent (i.e.: configuratoin files for
db connection).
When I release the project these resources should be copied into the
released
Dear Sir/Madam,
We would like to use JUnit4 in our projects, and we were already using Maven
2.0.9. Currently we are using JUnit 3.8.1. Is there a way that we can start
using JUnit4 with the release version on Maven. We would not like to go with
the snapshot version. But, kindly let me know if
I use JUnit 4.4 with Maven 2.0.8 and havent had any problems. Just
change the JUnit version in your pom.
Regards
Ben
On Tue, Mar 11, 2008 at 2:47 AM, Nitin Agrawal [EMAIL PROTECTED] wrote:
Dear Sir/Madam,
We would like to use JUnit4 in our projects, and we were already using Maven
2.0.9.
You must specify the classifier in your dependency (jdk14 or jdk15).
Jeff MAURY
On Tue, Mar 11, 2008 at 10:28 AM, David Delbecq [EMAIL PROTECTED] wrote:
Hello,
If you look at
http://repo1.maven.org/maven2/fop/fop/0.93/
You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14.
David Delbecq schrieb:
Hello,
If you look at
http://repo1.maven.org/maven2/fop/fop/0.93/
You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14.
How do i tell maven that there is such variation?
use
classifierjdk15/classifier
in the dependency declaration.
Regards, Simon
As I remembered, apart from having Junit dependecy being 4.x, you should
also make sure the
Surefire plugin is at least 2.3. Older version of surefire plugin seems
unable to kick off junit4 test cases
Adrian
-Original Message-
From: ben short [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Hello,
If you look at
http://repo1.maven.org/maven2/fop/fop/0.93/
You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14.
How do i tell maven that there is such variation?
Using:
dependency
groupIdfop/groupId
artifactIdfop/artifactId
version0.93-jdk14/version
What is difficult???
On Mon, Mar 10, 2008 at 6:51 PM, Nicolas Loison [EMAIL PROTECTED]
wrote:
Ouc,
It's too much difficult
2008/3/10, Emmanuel Venisse [EMAIL PROTECTED]:
You can't except if you start a derby server plugged to your db.
Emmanuel
On Mon, Mar 10, 2008 at
Hi Herve,
Thanks for this response. I have replaced my old maven-ant-tasks-2.0.8.jar with
the one you pointed me to. The substitution of the property works fine now,
however, it keeps giving me a 401 error (access denied).
I am specifying my authentication details (username and password)
Finally with your explication, it's very simply.
I work on...
Thanks
2008/3/11, Emmanuel Venisse [EMAIL PROTECTED]:
if you don't want, you must connect to your db locally. A derby db is a
directory so you can copy it on your computer, modify it, then copy back
it
to the server.
On Tue,
I would like to REUSE elements defined in my Parent POM. For example, I
defined all developers of the company, writing down the first and last
name, email adress and company name of each developer. Now, for each
individual project, I would like to use the id of a developer as a reference
to
Hi all,
I am trying to make Archiva be able to download the dashboard report
plugin.
In my pom.xml :
plugin
groupIdorg.codehaus.mojo/groupId
artifactIddashboard-maven-plugin/artifactId
version1.0-SNAPSHOT/version
/plugin
Because this plugin is in codehaus snapshot, I added
if you don't want, you must connect to your db locally. A derby db is a
directory so you can copy it on your computer, modify it, then copy back it
to the server.
On Tue, Mar 11, 2008 at 11:00 AM, Nicolas Loison [EMAIL PROTECTED]
wrote:
starting a derby server plugged to my db.
how can I use both buildNumber and timestamp?
but I had just set the buildNumber as below:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuildnumber-maven-plugin/artifactId
executions
execution
phasevalidate/phase
I don't know for certain if this is gonna work, but you can give it a try:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuildnumber-maven-plugin/artifactId
executions
execution
idgenerate-buildnumber/id
En l'instant précis du 11/03/08 10:43, [EMAIL PROTECTED]
s'exprimait en ces termes:
David Delbecq schrieb:
Hello,
If you look at
http://repo1.maven.org/maven2/fop/fop/0.93/
You will see 2 jars for fop 0.93, one build on jdk15 et one on jdk14.
How do i tell maven that there is such
well org.apache.maven.model.io.xpp3 does all the stuff, but now i experience
that the pom.xml it generates using a Model object constructed by myself is
just empty o.O. are there any requirements on that?
--
View this message in context:
Hi,
desperately, I am trying to integrate a subversion connection into maven 2.08.
I read: http://maven.apache.org/scm/plugins/usage.html
Then I added to my parent pom:
developerConnection
scm:svn:https://MYSECRET_INTERNAL_IP:443//THE_MAIN_PROJECT/TRUNK/MY_SUB_PROJECT
/developerConnection
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: 10 March 2008 23:00
To: Maven Users List
Subject: Maven / Repository / SVN
8
the problem is that people here want to store artifact /
external libraries in svn rather than in an internal repository
These
Hi All,
I'm trying to exclude some files from the built jar by using the
maven-jar-plugin exclude feature.
Here's my configuration:
excludes
exclude**/*.properties/exclude
exclude**/*.xml/exclude
exclude**/*.xsd/exclude
/excludes
Although all the specified files are actually excluded
Hi,
I have a problem which seems to be easy to resolve but I have difficulties
with it.
I am developing a custom plugin that contains a Mojo that doesn't requires a
project.
The Mojo is invoked from an empty working directory.
What the Mojo does is get a parameter defined in the plugin's POM
Thank you for your suggestion,
but it seems not working correcttly for the bug of this plugin.
the results as below:
[buildnumber:create {execution: generate-buildnumber}]
Storing buildNumber: 16 at timestamp: 1205242293453
[buildnumber:create {execution: generate-timestamp}]
Storing
Post an issue in jira.
And attach a simple project test case to reproduce the issue.
Thanks,
--
Olivier
2008/3/11, Patrizio Munzi [EMAIL PROTECTED]:
Hi All,
I'm trying to exclude some files from the built jar by using the
maven-jar-plugin exclude feature.
Here's my configuration:
John Coleman schrieb:
the problem is that people here want to store artifact /
external libraries in svn rather than in an internal repository
These people have some bad thinking. There is simply no point putting
guaranteed static objects into VCS, which is all about tracking changes.
I have a multi module project that I would like to declare as a dependency
of another project.
-Project 1:
--Module A
--Module B
-Project 2
Modules A and B do not depend on each other. However, I would like project 2
to depend on both modules. Is there a way to create Module C in Project 1
whose
Thanks for your answer,
so is it a real problem...?
Thanks
Olivier Lamy wrote:
Post an issue in jira.
And attach a simple project test case to reproduce the issue.
Thanks,
--
Olivier
2008/3/11, Patrizio Munzi [EMAIL PROTECTED]:
Hi All,
I'm trying to exclude some files from the built
I know Kohsuke @ sun has a wagon that deploys to a svn server (as they run
the sun maven2 repository off a svn repository)
The advantage to storing a maven2 repository in svn is that mirroring
becomes low on bandwidth, as svn update will only pull the changes since the
last update where as rsync
It doesn't surprise me too much that the maven-jar-plugin still creates
empty directories even when all files that were in that directory have
been excluded. I haven't checked myself, but it sounds like a situation
that the plugin author could easily have overlooked.
But it doesn't cause any
[EMAIL PROTECTED] wrote:
For example, the jspwiki project currently under apache incubation
stores its dependencies in the version-control system and will not
change. And they are not stupid people; it is just the way they like to
work.
The core problem is one of disk space - storing
Hello,
Does anyone know why the earlier version of plugin works, but the latest failed?
SUCESS:
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-basic \
Hi,
I think there is a problem when a java line starts with a comment
which opens and closes :
/* comments */java statement... ;
The following java statement appears in green just like the comment...
Salutations,
Cyriaque,
I
Yes,
you're right. Not a so heavy issue.
Just a correctness remark.
I've already filed a jira issue for it with simple project test case.
Regards,
Patrizio
[EMAIL PROTECTED] wrote:
It doesn't surprise me too much that the maven-jar-plugin still creates
empty directories even when all
On Tuesday 11 March 2008 [EMAIL PROTECTED] wrote:
Then I added to my parent pom:
developerConnection
scm:svn:https://MYSECRET_INTERNAL_IP:443//THE_MAIN_PROJECT/TRUNK/MY_SUB_PROJECT
/developerConnection
[...]
Did you miss the repository part in your URL? Andy why do you have two
slashes?
If these resources are one of these:
resources
−
resource
filteringfalse/filtering
directory${basedir}/conf/directory
/resource
−
resource
filteringfalse/filtering
directory${basedir}/src/main/resources/directory
/resource
/resources
Then you have a problem. Basedir is the folder
The plugin properties are injected at runtime from the project they run
on. The properties defined in the plugin's pom are used to build the
plugin not run it. You could do this, just in a different way. Make a
property file in your plugin project and filter the value into it. Then
when your
On Tue, Mar 11, 2008 at 7:48 AM, thebugslayer [EMAIL PROTECTED] wrote:
Does anyone know why the earlier version of plugin works, but the latest
failed?
Not without seeing some of the build output. Is it able to find the
archetype (is -DremoteRepositories working?) Is it some other
problem?
Unrelated to the thread, but I had to comment...
Nitin, I think including your full address, cell phone number, and
personal plus work email is probably a bad idea when it comes to
emailing this list. These emails are archived and indexed by multiple
servers including Google, Nabble, Apache,
Alpha-2 restored backwards compatibility so we need to see the logs to
assist.
-Original Message-
From: thebugslayer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2008 10:49 AM
To: Maven Users List
Subject: maven-archetype-plugin 2.0-alpha-2 failed
Hello,
Does anyone know why the
Yeah, I found the two slashes too, and already removed them, but this didn't
improve it either. Also, I've already tried ALL scm goals I found on the scm
maven site, including scm:list, but it never worked.
Currently I am at home so I can't provide you the exact error message untill
tomorrow
The command I stated doesn't require any project setup. You should
able to just run it on your terminal and you get error.
On my Mac10.5, I get this:
~ thebugslayer$ mvn org.apache.maven.plugins:maven-archetype-plugin:
2.0-alpha-2:create -
DarchetypeGroupId=net.liftweb
here is more logging using -X option if you needed
+ Error stacktraces are turned on.
Maven version: 2.0.8
Java version: 1.5.0_13
OS name: mac os x version: 10.5.2 arch: i386 Family: unix
[DEBUG] Building Maven user-level plugin registry from: '/Users/
thebugslayer/.m2/plugin-registry.xml'
On Tue, Mar 11, 2008 at 2:29 PM, Graham Leggett [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
For example, the jspwiki project currently under apache incubation
stores its dependencies in the version-control system and will not
change. And they are not stupid people; it is just the
The reason I'm getting my team to switch to maven2 is beacuse it makes
life easier to do it the 'right way' and more difficult (if not
impossible) to do it the 'wrong way'.
But alas, when all one knows is a source code management tool, every
build artifact looks like source code.
Keep patience
I need to create an intermediate directory under target. The only
method I've seen, so far, to do this is using the antrun plugin. Is
that the accepted method, or is there something more Maven-like? (Seems
to me that using Ant to accomplish these things is rather ironic.)
If you want to be really Maven-ish, build a plugin. Other than that,
the Antrun plugin is perfectly acceptable.
Wayne
On 3/11/08, David C. Hicks [EMAIL PROTECTED] wrote:
I need to create an intermediate directory under target. The only
method I've seen, so far, to do this is using the antrun
Usually plugins will create the folder when they have something to put
there. Why do you want a random empty folder in target?
-Original Message-
From: David C. Hicks [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2008 1:20 PM
To: users@maven.apache.org
Subject: How to create
Stephen Connolly wrote:
But then you would be breaking the old builds and bye-bye reproducibility!
I was referring to local repositories, not the central ones.
With snapshots, plus assemblies, ears and Eclipse product archives a
local repository fills up very quickly. When diskspace is a
Hi Everyone,
I got a quick question. Is it by design that the install plugin overwrite a
custom build finalName and installed the artifact with the name listed in
the artifactId tag?
Thanks,
David
On Tue, 2008-03-11 at 09:59 -0400, Steve Chernyak wrote:
I have a multi module project that I would like to declare as a dependency
of another project.
-Project 1:
--Module A
--Module B
-Project 2
Modules A and B do not depend on each other. However, I would like project 2
to depend
Hi all,
I've a strange problem when I try to activate more than one profile
simultaneously, maven seems
to activate only the last one.
For example, I've two profiles one named ant-archive, and one other named
ant-common-archive.
If I type mvn -Pant-archive package or mvn -Pant-common-archive
Perhaps they overwrite each other (the inside of the profiles). What's inside
the profiles. If for example, you have two ant-run plugins, without id's I
think it will go wrong.
With regards,
Nick S.
-Original Message-
From: Yann Davin [mailto:[EMAIL PROTECTED]
Sent: Tue 3/11/2008
I now know that I was seeing the wrong error in my build. I thought I
could use targetPath in the resource tag to direct the output to a
different place than target/classes, but that doesn't appear to be the
case. I need to filter some Jasper report sources prior to pre-compile,
but I don't
I have an interesting situation where we have one test project
that wants its parent to be an external project pom.
I don't want that, because it means I can't have it inherit from a common
parent we have described locally.
I.e. let X be the external pom, L be the local parent, and T be the
At home, I tried the same (with a not existing svn url somerepository.com)
and I got:
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] The command svn is either mispelled or could not be found (translated
from german)
So trying the scm command with a not
That error means that svn is not installed on your home machine.
Type svn at a command prompt. If it doesn't work, Maven can't help you.
Wayne
On 3/11/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
At home, I tried the same (with a not existing svn url somerepository.com)
and I got:
[ERROR]
Can you explain more what the problem is. What do you see and what did
you expect to see?
Cyriaque Dupoirieux wrote:
Hi,
I think there is a problem when a java line starts with a comment
which opens and closes :
/* comments */java statement... ;
The following java statement
Yes, the name format must be known in order for files to be found in the
repository.
-Original Message-
From: David Williams [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2008 1:44 PM
To: Maven Users List
Subject: Maven Install Plugin Overwrites Custom Artifact Names
Hi Everyone,
I'd like to exclude all classes in the /test directory from the target
jar file. The following does NOT work:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
configuration
excludes
I am writing a custom Maven plugin that wraps a code generation tool (BEA's
Java Web Service Compiler for Weblogic Server). The tool takes in java
source files and generates java class files (i.e. it is a compiler). The
class files are different from what the normal Java compiler generates. I
not quite sure I understand, are you saying you have test files
in your buildsourceDirectory that you want to exclude?
if so, then the convention is to exclude them in the buildresources..
section.
classes in buildtestSourceDirectory are by default excluded from the final
jar.
At 2:30 PM
You could try to use an include and exclude policy for both plugins based on
some pattern. You could also try a lifecycle approach and sort the
lifecycle steps properly.Also we are adding that capability to the
Weblogic plugin at codehaus but just trying to get it checked in and into
the
I verified the problem and created an issue:
http://jira.codehaus.org/browse/JXR-58
feel free to comment...
-Lukas
Dennis Lundberg wrote:
Can you explain more what the problem is. What do you see and what did
you expect to see?
Cyriaque Dupoirieux wrote:
Hi,
I think there is a
On Tue, 2008-03-11 at 12:15 -0700, Russ Tremain wrote:
I have an interesting situation where we have one test project
that wants its parent to be an external project pom.
I don't want that, because it means I can't have it inherit from a common
parent we have described locally.
I.e. let
That error means that svn is not installed on your home machine.
Of course, svn isn't installed on my pc -
I just got a svn client - tortoise ( http://tortoisesvn.tigris.org/)
to connect to a svn server. Isn't that what scm is used for?! Why would anyone
install a svn server on a developer pc?!
I see the problem. Eclipse was mistakenly putting all of my test classes
into /target/classes instead of /target/test-classes. Must fix the
Eclipse project.
Russ Tremain wrote:
not quite sure I understand, are you saying you have test files
in your buildsourceDirectory that you want to
I never said that you were literally running an SVN server on your PC.
Why would you make that assumption?
I simply said that the svn binary is not available in your path. Fix
that problem.
Wayne
On 3/11/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
That error means that svn is not installed
Subversion is the default client (svn), the default server(svnserve) and
the default tools (svnadmin, svnlook) in one package. There is no server
edition. (Or maybe the apache mod could be called the server edition.
So subversion is your client. Tortoise is just a GUI, with the svn
libraries
Maven scm does not implement the svn client software, it calls the
command-line svn executable instead. You will need to install the command
line client available at http://subversion.tigris.org, and have it available
in the path.
Ken
On 3/11/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
At 9:10 PM +0100 3/11/08, simon wrote:
It's rather odd to want to inherit anything except (transient)
dependencies from an external pom.
I agree - it is an odd case as well as an interesting one. :)
Normally, you don't want an external pom to dictate how *your* project
is built, or what
/target/test-classes are not included in the jar by default.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sent: Tuesday, March 11, 2008 3:30 PM
To: users@maven.apache.org
Subject: How to exclude all test classes from jar?
I'd like to exclude all classes in
I was suspecting something like that
I will try your suggestion tomorrow at work.
Thanks
Luca
Brian E Fox wrote:
If these resources are one of these:
resources
−
resource
filteringfalse/filtering
directory${basedir}/conf/directory
/resource
−
resource
On Tue, 2008-03-11 at 13:52 -0700, Russ Tremain wrote:
At 9:10 PM +0100 3/11/08, simon wrote:
It's rather odd to want to inherit anything except (transient)
dependencies from an external pom.
I agree - it is an odd case as well as an interesting one. :)
Normally, you don't want an
Hi,
Eugene, and crew have made huge strides with the release of the
m2eclipse 0.9.0. You can find Eugene's blog entry about it here:
http://www.jroller.com/eu/entry/m2eclipse_0_9_0
Among the very cool features
- Integration with Archetype 2.x
- Full integration with Remote Maven
Hi all -
I am looking for a plugin that can query a jira repository and produce a
report. I found an existing plugin, but that appears to be for maven 1.
Anyone know of a plugin that is compatible with maven2?
Ken
At 10:37 PM +0100 3/11/08, simon wrote:
On Tue, 2008-03-11 at 13:52 -0700, Russ Tremain wrote:
At 9:10 PM +0100 3/11/08, simon wrote:
It's rather odd to want to inherit anything except (transient)
dependencies from an external pom.
I agree - it is an odd case as well as an interesting one.
Hello,
I've had good success deploying my application to a single oc4j instance
using 'mvn install'.
Now I have two instances to deploy to and I'm wondering how to do this.
Initially I tried to add another tasks entry in that pom file.
!-- this is the original task that is
Ken Liu wrote:
Hi all -
I am looking for a plugin that can query a jira repository and produce a
report. I found an existing plugin, but that appears to be for maven 1.
Anyone know of a plugin that is compatible with maven2?
Ken
Have a look at maven-changes-plugin
Ignore the first post. The issue was actually with the use of
admin_client.jar and I understand the port numbers that I need to use now.
BTW, for those who need it, I got the port numbers from Oracle
Enterprise Manager and clicking on the Runtime Ports link.
Now thats cleared up, I see me
Nice! I stumbled on the ability to use external installations, including
2.0.x. This is awesome since 2.1-SNAPSHOT isn't quite ready for
primetime.
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2008 6:16 PM
To: Maven Users List
Subject: [ANN]
How to run a perl or batch file at the beginning of the build?
Is there is a command or a plugin I can use to run an external process
then come back to the build when this process is complete?
I'm using:
Maven version: 2.0.7
Java version: 1.6.0_02-ea
OS name: windows xp version: 5.1 arch: x86
Look for the exec plugin.
-Olivier
On Tue, 2008-03-11 at 19:45 -0500, Tawfik, Sameh E wrote:
How to run a perl or batch file at the beginning of the build?
Is there is a command or a plugin I can use to run an external process
then come back to the build when this process is complete?
How soon they forget..
Is it possible to create an archetype that contains a src/it directory
with the old (1.0-alpha-7) archetype plugin?
Looking at this page, I don't see how.
http://maven.apache.org/plugins/maven-archetype-plugin-1.0-alpha-7/examples/archetype.html
I'm trying to create an
Hello All,
I am trying to filter the overview.html and package.html javadoc resources.
Specifically, it is worthwhile inserting the ${project.description} and ${
project.version} and maybe even some other information like the SCM, Issue
Tracking, information within the Javadocs. I have selected
Thank you.
On Tue, Mar 11, 2008 at 1:54 PM, simon [EMAIL PROTECTED] wrote:
On Tue, 2008-03-11 at 09:59 -0400, Steve Chernyak wrote:
I have a multi module project that I would like to declare as a
dependency
of another project.
-Project 1:
--Module A
--Module B
-Project 2
Alternatively, if you're on Windows, you can add a file
mavenrc_pre.bat and mavenrc_post.bat to your user home directory and
Maven will run them before/after running the Maven build process.
But this runs for all builds (not just a specific project) and
requires that you distribute these
Do you have some mirror settings in settings.xml?
Yes I added a mirror too :
mirror
idarchiva.default/id
urlhttp://localhost:8080/archiva/repository/internal//url
mirrorOf*/mirrorOf
/mirror
Adding a repository such as this in Maven will have it use both 'central'
and
What is the best way to consume the artifacts that are deployed to archiva?
If the artifact is a WAR or EAR with all the dependencies bundled in then
downloading it with a browser and FTPing the artifact to the execution
environment is easy enough. If the artifact is a JAR this is more
Is it possible to suppress warnings like the following?
[WARNING] Entry: Project-1.3- SomeFile.java longer than 100 characters.
AFAIK these are produced by the assembler plug-in right?
Yes, you get this message generally when you create a tar archive. You get a
similar message if you use the tar command line.
Emmanuel
On Tue, Mar 11, 2008 at 8:33 AM, James Clinton [EMAIL PROTECTED]
wrote:
Is it possible to suppress warnings like the following?
[WARNING] Entry: Project-1.3-
starting a derby server plugged to my db.
2008/3/11, Emmanuel Venisse [EMAIL PROTECTED]:
What is difficult???
On Mon, Mar 10, 2008 at 6:51 PM, Nicolas Loison [EMAIL PROTECTED]
wrote:
Ouc,
It's too much difficult
2008/3/10, Emmanuel Venisse [EMAIL PROTECTED]:
93 matches
Mail list logo