Brett Porter [mailto:[EMAIL PROTECTED] wrote:
Incidentally, I've just had exactly this error, using the
maven-cactus-plugin-3.1 distributed with RC1. I had to add
junit to my project with the root classloader, although at
this point I'm not sure why as the cactus plugin seems to be
doing
Hi All,
Is there any way I can exclude files (of a paticular pattern say *ABC*.java ) from the
source directory, while compiling?
Thanks Regards,
Ranes.
Hello,
I'm trying to use Maven Multiproject plugin in the following way:
- I have a main project (mtv);
- I have en extension dir with two subprojects :
* the torque database classes (mtv-om subproject)
* the castor config classes (mtv-config subproject)
I've properly
Add an exclude with the your patern in the build of your pom
see :
http://maven.apache.org/reference/project-descriptor.html#sourceModifications
Nicolas,
R a n e s [EMAIL PROTECTED]
06/11/2003 11:19
Veuillez répondre à Maven Users List
Pour : Maven User List [EMAIL PROTECTED]
Hi Nicolas,
Thanks for your suggestion.
I tried something like this, but it doesn't seems to be working for me :(
sourceModifications
sourceModification
classNameProcessorTest/className
excludes
exclude**test*.java/exclude
exclude**Test*.java/exclude
/excludes
* R a n e s [EMAIL PROTECTED] [2003-11-06 07:14]:
Hi Nicolas,
Thanks for your suggestion.
I tried something like this, but it doesn't seems to be working for me :(
sourceModifications
sourceModification
classNameProcessorTest/className
excludes
Vincent Massol wrote:
No. It's because you seem not to have installed the caller plugin... My
guess is that you have only taken the war plugin from HEAD without
taking it's dependencies. Actually, thinking about it, we should add a
dependency in the war plugin on the caller plugin so that it gets
Eric,
Have you tried without -DsourcesPresent=true? It was working for me some
time ago (I haven't checked recently).
Also, are you sure you have removed you plugin cache directory when you
updated your maven plugins 3 days ago?
Thanks
-Vincent
-Original Message-
From: Eric
I apologize for my tone. If I'm misinformed or uninformed, I beg you to
take me to task. I am a new user, going mainly by the available
documentation. A clear error in my previous emails is that I said
task when I meant target, I'm sure there are others.
If user error resulted in the errors I
When generating my project javadocs, I'd like to link to other APIs, but
I'm in the dreaded 'behind a proxy' situation. So, I'm trying to do the
linkoffline thing, but it appears that Maven's default behaviour is to
direct the offline links to your offline API, which is not what I want.
I want it
Please add commons-discovery 0.2 to the ibiblio repository.
http://jakarta.apache.org/commons/discovery.html
Paul Spencer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I'm trying to configure the repository in my project.xml but while i'm using cvsnt on
Windows 2K my repository connection is like this :
scm:cvs:pserver:[EMAIL PROTECTED]:D:\BuildSystem\tools\cvsnt\repository:module1
And Maven count the number of token used and it said : more than 6
I feel kinda stupid, but what am I missing here?
Maven output
C:\Eclipse3.0\workspace\myprojectmaven javadoc:generate
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
Attempting to download
Have you tried a packagecom.foo.bar/package tag under project? The
javadoc plugin source uses that as the packagenames element of the Ant
javadoc task.
Between that and the build.sourceDirectory element, that's all I can
see... Are your sourceDirectory tags and similar within the build
tags?
I'm sorry for that stupid question. I found the response in the documentation :
scm|cvs|pserver|[EMAIL PROTECTED]|d:\BuildSystem\tools\cvsnt\repository|module1
I'll try
Eric
-Message d'origine-
De : Eric Taix
Envoyé : jeudi 6 novembre 2003 17:56
À : [EMAIL PROTECTED]
Objet :
Googling the maven web site for root ClassLoader turned up one promising
page, http://maven.apache.org/reference/developers/developer-guide.html.
However, the current page (generated 03 November) doesn't even contain the
word ClassLoader. Google's cached page (from 07 October) DOES mention it, at
Is there is a way to customize target folder maven looks at. I wanted to
looked at build folder instead.
Thanks,
-S
-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 11:51 AM
To: 'Maven Users List'
Subject: RE: cactus plugin and
In the sense of the property maven.build.dir? See
http://maven.apache.org/reference/user-guide.html#Maven%20Setup. This is
where compiled classes, generated documentation and jar files will be
initially put.
Nick
-Original Message-
From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
Sent:
Set maven.build.dir
Sri
P.S.
Please start a new thread for new discussions.
-Original Message-
From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 12:59 PM
To: Maven Users List
Subject: Maven Intergration Question
Is there is a way to customize target
I am new to this, I don't know how to start a new group,care to show
me..
-S
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 12:02 PM
To: Maven Users List
Subject: RE: Maven Intergration Question
Set maven.build.dir
Sri
P.S.
Please
Just the way you sent the first message -- however, instead of replying to an
existing message (and changing the subject) just start a new message to the maven
users' list.
Sri
-Original Message-
From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 1:05 PM
That's hardly a good enough reason. In fact, I'd prefer to change it
then, so that the bugs get shaken out. In my case, I've moved it into
the WEB-INF directory, because I want a nice easily deployed web-app
during development, but also to keep as much stuff as possible out of
public view.
Hi
I agree with you, but in over company we are using ant to build the
whole application, we just want to maven to build documentation, Do you
have any bright ideas?
Also I was looking into changing maven.build.dir value, but it's warning
me about bootstrap of Maven from source code, as it
Thanks, advice greatly appericated
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 12:09 PM
To: Maven Users List
Subject: RE: Maven Intergration Question
Just the way you sent the first message -- however, instead of
replying to an
Vincent Massol wrote:
Eric,
Have you tried without -DsourcesPresent=true? It was working for me some
time ago (I haven't checked recently).
It works perfectly without the -D
(it's obvious looking at the source code: the war plugin only calls the
caller plugin when 'sourcesPresent' is true)
Jason brings up a valid point -- however, we have been using
maven.build.dir=${basedir}/build
and haven't had any plug-in blow up, yet -- at least not because of it :)
As Nick points out, this is a good way to find out if target has been hard-coded in
any plug-in!
The docs you are referring
If you are using Ant and Maven independently, it's probably better to
keep their build directories separate, so 'target' for Maven and 'build'
for Ant. That way, neither app should interfere with the other. Of
course, in the long run you should be heading towards building with
Maven... ;-)
As
Hi All, and Nick,
By directory structure looks like:
Root Directory
|
|
|
-AppName
|
|
|--src - Where all my source code resides,
build.xml which
Nick,
Thanks for info. Do you have an example I can follow, I am brand new to
Maven.
Thanks,
-S
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 12:26 PM
To: [EMAIL PROTECTED]
Subject: RE: Maven Intergration Question
If you are
I have a set of custom pmd rules.
It consists of 2 parts.
1) a custom ruleset-foo.xml
2) a jar file containing the implementation of those rules. (AbstractRule
classes).
Using the maven-pmd-plugin, how do I get my custom jar file into it's
classpath?
Using the often talked about hack of
Hi Everybody,
On maven website I read about some tool being developed to generate a
project descriptor automatically.
I was thinking about either getting or developing something like that for my
projects but would surely prefer to use something supplied with maven.
So I wanted to know what kind
Hi Guys,
What's the significance of the following statement if I'm just installing
maven with the supplied installer and don't build is from the source at my
end and simply use maven for my project.
However this practice will interfere with the bootstrap of Maven from
source code, as it
I wouldn't find it very useful, but a reverse IDE plugin would be. Currently
the IDE plugins generate IDE projects from project.xml files. I'm sure in
the future the reverse will be possible, so you can create a maven project
inside an IDE and leverage all of their nice gui elements :)
Apart from
I got you to google because I knew it had moved and I didn't remember
where... It just seems they haven't crawled it recently enough :)
Its actually at the bottom of the user guide.
Regarding the java:jar-resources missing... I'm pretty sure you'll find an
anser to that in the mail archive.
junit tests that run outside of maven hare having problem inside... using
1.0-rc1
$ maven test [ results in (when maven.junit.fork=false (default) ) ]
java:prepare-filesystem:
..
test:test:
[junit] dir attribute ignored if running in the same VM
[junit] Running
If user error resulted in the errors I saw (with the
exception of the OutOfMemory which was known, well
documented, and easily fixed), I'd love to know how I can avoid them.
I think I last time asked about your JVM settings, as a problem starting
the modern compiler is unusual. I'm thinking
switch( chr) {
case 'à': buf.append(agrave); break;
When I try to run my maven build goal, it will not compile
this utility class, and I get a whole bunch of errors to
the effect:
case '?' already defined
If I run javac, no problemo. Compiles just fine. I played
around
Hi All,
When use statcvs report I get following error:
C:\maven-samplemaven statcvs
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
statcvs:init:
statcvs:generate:
[echo] fetching cvs logs...
[java]
This is true, but only if outputDir is a java.lang.String (or an empty
Map, Collection, or Array). Properties in maven are
org.apache.commons.jelly.expression.ConstantExpression, so they are only
empty() if they are undefined.
A jexl workaround to this would be
When running inside maven, junit 'inherits' MAVEN's classpath as well.
When running outside, it doesn't.
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc
[EMAIL PROTECTED] wrote on 07/11/2003
Hi all, I'm writing a maven plugin for the JWSDP-1.3. I was using maven
rc-1 with the following tag in a goal:
deploy:copy-deps todir=${jwsdp.build}/WEB-INF/lib/
which worked well. But I decided to build maven from cvs and to start
using artifact and group ID's. Now the above tag does not
I think the deploy plugin was moved, so after bootstrapping you'll need to
check out maven-plugins from CVS and run maven plugin:install on the deploy
plugin.
Alternatively, your plugin could have a dependency on the deploy plugin
dependency
typeplugin/type
Please help, I am getting errors in javadoc, javac:
C:\mavensporty2gmaven site:generate
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
site:
xdoc:register-reports:
maven-checkstyle-plugin:register:
You need to specify dependencies for whatever JAR is providing...
import com.azzura.gregari.common.context.*;
-Original Message-
From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 November 2003 1:51 PM
To: Maven Users List; Maven Users List
Subject: Java Doc and Javac
Brett Porter wrote:
I think the deploy plugin was moved, so after bootstrapping you'll need to
check out maven-plugins from CVS and run maven plugin:install on the deploy
plugin.
Alternatively, your plugin could have a dependency on the deploy plugin
dependency
typeplugin/type
Thanx. That did the trick.
jeff
Erdfelt, Joakim wrote:
We had success with the 'maven.compile.fork=true' and
'maven.compile.encoding=iso8859-1' properties defined at the
maven-java-plugin web page.
http://maven.apache.org/reference/plugins/java/properties.html
/* joakim erdfelt */
Thank you that did the trick for most of errors I had in javadocs, But I still get
this error about javax package, I was trying to figure which folder i need to include
in dependices:
C:\mavensporty2gmaven javadoc
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent
Where is it sun's website, j2ee.jar, I couldn't find it.
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 10:06 PM
To: 'Maven Users List'
Subject: RE: Java Doc and Javac Error-- Please help! -- New bee to Maven
Probably j2ee.jar, which
Download J2EE reference implementation, or pull it from whatever the EJB
container is that you are using (you have built this project somewhere
before haven't you? It must have gotten them from somewhere...)
- Brett
-Original Message-
From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
Hi Alain,
It worked fine. Thanks a million :-)
Am still not clear about the className. Any idea what it is for???
Thanks Regards,
Ranes.
- Original Message -
From: Alain Javier Guarnieri del Gesu [EMAIL PROTECTED]
To: R a n e s [EMAIL PROTECTED]
Cc: Maven Users List [EMAIL PROTECTED]
Horn, Cameron [EMAIL PROTECTED] wrote on 06/11/2003 02:57:36
PM:
You have been extremely helpful, which has been the most promising
thing so far. Thank you. On the other hand, it does seem like
maven still needs a heck of a lot of work.
Sure does. As does Ant, JUnit and any other piece of
51 matches
Mail list logo