Henri Yandell [EMAIL PROTECTED] writes:
On 9/6/05, Andy Glick [EMAIL PROTECTED] wrote:
Henri,
I'm the glick who conversed with you on the #maven irc. I got something
similar to your example to work, I think, but I'm using Maven 1.1b1 rather
than Maven 1.0.1. I'm not sure why your version
Brett Porter [EMAIL PROTECTED] writes:
--=_Part_7381_9162304.1126055177768
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Looks like it is always going to be that way.
Brett Porter [EMAIL PROTECTED] writes:
--=_Part_7381_9162304.1126055177768
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Looks like it is always going to be that way.
Hi,
I'm using maven 1.0.2 and I'm looking for the documentation. The docs
on the site currently are for the 1.1 beta version.
I've already done a subversion checkout of
maven-1/core/tags/MAVEN_1_0_2 and generated the site for that. This
gives me the main documentation. Now I also want the docs
Hi,
I need to invoke the javacc plugin with more than one grammer file. The
grammer file is set in the maven.javacc.javacc.grammar property, that is
fine when you have only one grammer file while in my case i have 4 different
grammer files in different directories. I need to invoke the javacc
Hi,
I have an ant task that I am running in maven to launch Jboss in a
separate thread but this does not appear to work for some reason - here
is the task.
goal name=jboss.start
java dir=${deploy.configuration.dir}
classname=org.jboss.Main fork=true spawn=true
Hi,
Do Maven support cyclic dependencies among multiple project ?
Regards,
Nehal
HSBC Software Development (India) Pvt Ltd
HSBC Center, Riverside, West Avenue,
25-B Raheja Woods, Kalyani Nagar, Pune 411006.
Telephone: +91 20
Can you elaborate further.
What maven defiantly does support is for example.
Project A
Project B depends on A
Project C depends on B
In this case you can set up maven to build A first then B and then C
using the project.xml. Is this what you mean ?
-Original Message-
From: [EMAIL
What I mean is :
Project A
Project B depends on A
Project C depends on B
Project A depends on C
Is this supported ? If yes, then how ?
Nehal
Walsh, Richard \(Richard\) [EMAIL PROTECTED] on 07 Sep 2005 16:04
To:Maven Users List users@maven.apache.org
cc:
On Wed, Sep 07, 2005 at 10:11:40AM +0100, Ashley Williams wrote:
I was intrigued by a comment that we should avoid references to maven
in our home brewed plugins. I don't understand this, as if you write
a plugin for maven, then where else would it be used?? Maybe maven is
part of some
On Sep 7, 2005, at 12:36 PM, [EMAIL PROTECTED] wrote:
What I mean is :
Project A
Project B depends on A
Project C depends on B
Project A depends on C
Is this supported ? If yes, then how ?
Hi,
I'm not 100% sure, but I believe the answer is no.
You will need to put the stuff both A
Actually, took anther look. What you want to achieve isn't possible.
-Original Message-
From: Walsh, Richard (Richard)
Sent: 07 September 2005 11:48
To: Maven Users List
Subject: RE: Memo: RE: Cyclic dependency
This is supported.
Each project has a project.xml file. This file has a
I had a cyclical dependency issue and I had to bring the code all under
one directory structure and work with it as one project.
Sometimes development teams may try to create projects like this:
projectA (business rules)
projectAWeb (view)
You can build them independently using Maven if they
Thankyou eric. I too was going to resort to the same thing. But, before
that wanted to confirm the same.
Thanks again,
Nehal
[EMAIL PROTECTED] on 07 Sep 2005 16:27
To:Maven Users List users@maven.apache.org
cc:
OK thanks. So are you saying that if I just delete the 'extends
AbstractMojo' then the plugin will still work (maybe by reflection or
codegen)?
Glad I've got your attention because I'm having a few problems with
the source:jar goal (saw your name on it!). I've placed my pom at the
same
I'm now trying to write a maven 2 plugin to execute a 2rd party's tools
command line class. The class is written is java. The tool also has an ant
task which just uses the Java task in ant to invoke the command line tool in
a forked jvm. Does m2 already provide such functionality and I just
Sorry Pooja reply to your mail gets bounced back as spam mail. Try mailing
from some other private mail id.
Nehal
Pooja Murjani [EMAIL PROTECTED] on 07 Sep 2005 16:32
To:Nehal SHAH/ITD GLT/HSDI/[EMAIL PROTECTED]
cc:
On Wed, Sep 07, 2005 at 12:15:54PM +0100, Ashley Williams wrote:
OK thanks. So are you saying that if I just delete the 'extends
AbstractMojo' then the plugin will still work (maybe by reflection or
codegen)?
No, you would still have to implement the interface.
Glad I've got your
On 9/7/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Wed, Sep 07, 2005 at 10:11:40AM +0100, Ashley Williams wrote:
I was intrigued by a comment that we should avoid references to maven
in our home brewed plugins. I don't understand this, as if you write
a plugin for maven, then where
Arnaud HERITIER wrote:
Hi Phil,
[SNIP]
Thx for the summary.
If what you want is to get the plugin to generate a build
script with a different default value for libdir, I do not
think that is possible now. One improvment that might make
sense would be to at least have it use
Not sure its a bug that the source plugin doesn't produce the file
structure for me.
What I think the problem is, is that it's passed a bunch of compile
source roots that are normally just above the com directory. However
in this case because my pom is right down in with the source, all the
Continuing on a theme, my directory layout looks like this:
com/acme/proj/
MyApp.java, resources/, webapp/
i.e. the webapp directory is also in with the source code - therefore
I would like to persuade the war plugin of this. I added the
following section to my pom:
build
Hi,
Here I am getting this error:
C:\Build_Viewmaven
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Starting the reactor...
Our processing order:
Web Application
+
| Building
Richard,
I have an ant task that I am running in maven to launch Jboss in a
separate thread but this does not appear to work for some reason - here
is the task.
I haven't been able to spawn processes that outlive the maven process,
but maybe the jelly THREAD tags would help (though I've
We setted libdir to ${user.home}/.maven/repository instead of ${
maven.repo.local} to not use maven properties in the generated ant
script.
Sorry, what I meant was to have the plugin grab the *value* of
${maven.repo.local} and put that into the generated script by default.
I'm not
Guys thanx for your help.
so I wrote a .sh script to generate build.properties
with my depency list. Every line looks like
somedep.jar=/source/to/jar/somedep.jar
unfortuneately when I run maven ant, it still sets
src to
http://www.ibiblio.org/maven/springf
ramework/jars/spring-1.1.5.jar
I don't have a linux to test it.
is there someone who can reproduce this problem ??
Can you open an issue and join to it :
- the generated ant script
- the logs of the script generation from maven (in debug with -X)
- the logs when your run the script in ant (in verbose)
Arnaud
On 9/7/05, m h
I have maven 1.0.2 and cruisecontrol running very nicely on a linux machine.
The configuration files were generated using the maven cruisecontrol
plugin, its a multi-project setup and generally is all working very well.
The one problem I have is that the build as run by CC seems to be at
On Wed, Sep 07, 2005 at 01:41:13PM +0200, Milos Kleint wrote:
On 9/7/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Wed, Sep 07, 2005 at 10:11:40AM +0100, Ashley Williams wrote:
I was intrigued by a comment that we should avoid references to maven
in our home brewed plugins. I don't
I can open an issue; copying all the files and whatnot
will take some time as I have an NDA and there is
sensitive info in the requested output.
I have another issue; generating javadoc is failing (I
have modified the generated build.xml by hand so it
wont search for newer versions of deps, and I
On Wed, 7 Sep 2005, Ashley Williams wrote:
Hi,
Continuing on a theme, my directory layout looks like this:
com/acme/proj/
MyApp.java, resources/, webapp/
i.e. the webapp directory is also in with the source code - therefore
I would like to persuade the war plugin of this. I added
On 9/7/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Wed, Sep 07, 2005 at 01:41:13PM +0200, Milos Kleint wrote:
On 9/7/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Wed, Sep 07, 2005 at 10:11:40AM +0100, Ashley Williams wrote:
I was intrigued by a comment that we should avoid
Hi Wendell,
You have 3 options:
- invoke ant task directly within your mojo by setting up the neccesary
dependencies
then call the ant task class' execute method.
- Invoke the maven-executor-plugin, a generic mojo to invoke any java's
main method.
It is still in the sanbox of at
I got a project myswingclient on which I can do a maven jnlp.
It generates signed jars and a jnlp file.
On another project mywebclient (controlled by the same multiproject)
which is dependend on myswingclient (with a war.target.path property), I
can do maven war.
The problem is that war uses
On Wed, 7 Sep 2005, dan tran wrote:
... and option 4: use the maven-antrun-plugin:
buildplugins
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution phase/phase
configuration
tasks
java ../
Hi Wendell,
You have 3
Option 4 would be nice, however the 3rd party command line is more complex
than I want to expose to most of the end users otherwise they can fubar
their setup. Thus I had the brilliant (perhaps not so) idea of creating a m2
plugin that would reduce down the complexity such that is cleaner and
I would like to use the 1st option however I am unsure of how to configure
the setup. The 3rd part ant task has code like the following:
if (projectFile == null)
throw new BuildException(missing required attribute 'projectFile');
Java javaTask = (Java) getProject().createTask(java);
// set the
I was wondering if there are any existing Maven conventions for projects which
must release JDK specific artifacts? I am not aware of any and I think that
addressing the issue may lead us to rethink some policies, or possibly create
new conventions.
I think that the need to release multiple
On Wed, Sep 07, 2005 at 04:54:04PM +0200, Milos Kleint wrote:
On 9/7/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Wed, Sep 07, 2005 at 01:41:13PM +0200, Milos Kleint wrote:
On 9/7/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Wed, Sep 07, 2005 at 10:11:40AM +0100, Ashley
On 9/7/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
snip
ok. in my current understanding, the m1 plugins do actually use much
more
properties than they declare. they use the pom, the common properties,
then
their own props, even some undocumented one or other plugin's
properties.
In this case the standard layout doesn't work for me as I am working
off a single source tree, i.e. just one directory called com. Hence I
need a pom file at each package that represents an artifact.
The sourceDirectory I'm trying to use isn't from war, it's the tag
just under build. Don't
I tried using the jelly thread but did not have much luck. I would
rather just stick to maven or ant processes to get this working rather
then trying to depend on yet anther third party utility if possible.
Thanks.
Richie.
-Original Message-
From: Brice Copy [mailto:[EMAIL PROTECTED]
I've mentioned in a previous post that I'm slightly fed up with
editing xml files, even with a fancy editor. I though I might knock
up a stylesheet that will enable me to write a short hand for example:
project
modelVersion 4.0.0
groupId com.acme
dependencies
dependency
Hi all
Just wondering...
In the convention document, the xdoc that are used to produce the site
should be located in src/site/xdoc.
But, the plugin doesn't use that value as derfaut. And the maven project
itself does not use this directory either.
I know that we can customize the plugin's
It will be the place for m2.
I'll propose to move the default directory in the next release of the xdoc
plugin.
We'll advice usrs to move their sources if possible or to define themself
the maven.docs.src=${basedir}/xdoc.
I'll propose also to move genapp templates to use this new layout.
I was trying to run maven and end up with the following error. What should I
do?
BUILD FAILED
File.. C:\Documents and
Settings\Administrator\.maven\cache\maven-jxr-plugin
-1.4.1\plugin.jelly
Element... jxr:jxr
Line.. 97
Column 31
Java heap space
Total time: 7 minutes 47
Hi Arnaud
Ah, so if I got your answer right, it will be then {basedir}/xdoc and
not even what is now said in the convention document presently published
on the maven site?
thx!
Eric.
Arnaud HERITIER wrote:
It will be the place for m2.
I'll propose to move the default directory in the next
Ashley Williams wrote:
I've mentioned in a previous post that I'm slightly fed up with editing
xml files, even with a fancy editor. I though I might knock up a
stylesheet that will enable me to write a short hand for example:
project
modelVersion 4.0.0
groupId com.acme
Eric Giguère wrote:
Ah, so if I got your answer right, it will be then {basedir}/xdoc and
not even what is now said in the convention document presently
published on the maven site?
No, it will be ${basedir}/src/site/xdoc like it is said on the maven
site. There is a note on this on the
I've got a really strange thing going on with Maven (v. 1.0.2). It seems to
be using totally different class loaders depending on how I invoke Maven.
I have this debug code in my junit test case code:
Class thisClass = this.getClass();
System.err.println(The Class of the
I am trying to use the Jetty plugin to deploy and test a webapp.
Unfortunately I get the following error that everyone has seen at some
point in their Java development life:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
I know this is usuall a CLASSPATH problem and can be fixed by adding
On Thu, 8 Sep 2005, Christopher Cheng wrote:
Might be a bug in the plugin; i got 1.4.2 you you could upgrade.
Otherwise try
set MAVEN_OPTS=-Xmx1024m
maven your maven command
I was trying to run maven and end up with the following error. What should I
do?
BUILD FAILED
File..
Ward, Bradley (MAN-Corporate) wrote:
I've got a really strange thing going on with Maven (v. 1.0.2). It seems to
be using totally different class loaders depending on how I invoke Maven.
Are you familiar with the concepts of classloader parent-child hierarchies or of the classLoader class
-Original Message-
From: Craig McDaniel [mailto:[EMAIL PROTECTED]
Sent: mercredi 7 septembre 2005 20:33
To: Maven Users List
Subject: [m1] Jetty plugin classpath error
I am trying to use the Jetty plugin to deploy and test a webapp.
Unfortunately I get the following error that
Hi all
I'm using Maven version 1.0.2 under Window$ XP Pro (what a crap...)
Got some problem with the ftp deploy. I'm trying to use the
site:ftpdeploy goal but for unkown reasons, it fails. Even worst, it
fails without giving out any failure message.
I've also set all necessary properties but
Andy,
Thank you VERY MUCH! Setting maven.junit.fork=yes fixed the problem, just as
you suspected!
I really appreciate the quick turn around!
Brad
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andy Glick
Sent: Wednesday, September 07, 2005 2:31 PM
To:
I'm looking at the Uberjar plugin to create an executable jar file, plus the
requisite dependencies. However, I don't see an option for deploying the
uberjar
to a repository...
Is there a better way to do this? Should I be using some other plugin to create
a 'distribution' (my artifact, plus
Eric Giguère wrote:
Hi all
I'm using Maven version 1.0.2 under Window$ XP Pro (what a crap...)
Got some problem with the ftp deploy. I'm trying to use the
site:ftpdeploy goal but for unkown reasons, it fails. Even worst, it
fails without giving out any failure message.
On the main page of
the apt documentation mechanism is an implemention of this basic idea I
think...
http://maven.apache.org/maven2/apt-format.html
jesse
On 9/7/05, Andy Glick [EMAIL PROTECTED] wrote:
Ashley Williams wrote:
I've mentioned in a previous post that I'm slightly fed up with editing
xml files,
OK, pardon my ignorance. How do I use/get/install the SVN version of
the Jetty plugin?
On 9/7/05, Vincent Massol [EMAIL PROTECTED] wrote:
-Original Message-
From: Craig McDaniel [mailto:[EMAIL PROTECTED]
Sent: mercredi 7 septembre 2005 20:33
To: Maven Users List
Subject:
great...
Well, I made my routing work with Ant.
Thx for the infor Lukas
Eric.
Lukas Theussl wrote:
Eric Giguère wrote:
Hi all
I'm using Maven version 1.0.2 under Window$ XP Pro (what a crap...)
Got some problem with the ftp deploy. I'm trying to use the
site:ftpdeploy goal but for unkown
I have started looking at what would need to be done in order to build
Eclipse plugins using Maven 2.
The general idea is that POM files could be generated using information in
the plugins' manifest.mf, plugin.xml and build.properties files. At first
glance, the required information
maven plugin:download -DgroupId=maven -DartifactId=maven-jetty-plugin
-Dversion=1.2-SNAPSHOT
-Dmaven.repo.remote=http://cvs.apache.org/repository/
Arnaud
OK, pardon my ignorance. How do I use/get/install the SVN
version of the Jetty plugin?
On 9/7/05, Vincent Massol [EMAIL PROTECTED]
This would be a wonderful idea.
I'd particularly welcome easy ways to run JUnit tests on plugins from maven.
good luck,
Benedict
Andrew Niefer wrote:
I have started looking at what would need to be done in order to build
Eclipse plugins using Maven 2.
The general idea is that POM files could
On Wed, 2005-09-07 at 16:58 -0400, Andrew Niefer wrote:
I have started looking at what would need to be done in order to build
Eclipse plugins using Maven 2.
The general idea is that POM files could be generated using information in
the plugins' manifest.mf, plugin.xml and
At 04:58 PM 9/7/2005, Andrew Niefer wrote:
I have started looking at what would need to be done in order to build
Eclipse plugins using Maven 2.
... snip ...
The install phase would be different from the normal m2 install. We would
need to gather the jars and any additional resources into
Jason van Zyl [EMAIL PROTECTED] wrote on 09/07/2005 05:29:45 PM:
Might you have an ViewCVS URL of an example plugin, or set of plugins,
that we can work against while discussing this?
It was suggested on the eclipse pde-build mailing list that building the
eclipse plugins that make up the
Poppe, Troy wrote:
I'm looking at the Uberjar plugin to create an executable jar file, plus the
requisite dependencies. However, I don't see an option for deploying the
uberjar
to a repository...
Is there a better way to do this? Should I be using some other plugin to create
a
What about from a pom.xml, maven can generate
manifest.fmhttp://manifest.fmfile.
There is already some work done at
http://svn.apache.org/repos/asf/incubator/felix/trunk/tools/maven2/maven-osgi-plugin/
-D
On 9/7/05, Andrew Niefer [EMAIL PROTECTED] wrote:
Jason van Zyl [EMAIL
I'm developing a source generation plugin as a project module with the
following structure:
project/
plugin/
api/
impl/
where the plugin is part of the reactor build process. The plugin
builds first and is used by the api and impl builds.
As a good plugin developer citizen, I'd like to
Hi John,
We were planning a more generic technique for this (letting Maven handle it
by declaring your inputs and only executing mojos that had their inputs
changed). This isn't scheduled for 2.0, however.
If you have a solution to add to jar:jar and install:install then I'd be
happy to apply
Hi Bahaa,
You can do this by creating a goal inside your maven.xml that triggers
javacc-generate 4x and setting the property
maven.javacc.javacc.grammar variable to your grammar file.
Here's a sample code that invokes javacc-generate 2x using different
grammar file. Note: the property
On 9/8/05, Brett Porter [EMAIL PROTECTED] wrote:
We were planning a more generic technique for this (letting Maven handle it
by declaring your inputs and only executing mojos that had their inputs
changed). This isn't scheduled for 2.0, however.
That doesn't seem to cover the case where the
Hi!
Does anyone have hints on how to use maven and netbeans to work on webapps?
Using the netbeans plugin, Im able to mount the webapp
The thing is, maven is a great build tool for webapps, but for anyone
who has worked on netbeans, its really simple to change jsp and see
changes
The problem is that war uses the unsigned jars coming from the
repository, instead of the signed jars.
There are two immediate fixes for this that I can think of:
Hackery: use the correct combination of goal and prereqs= to cause
the 'jnlp' goal to run, a custom goal to copy the
75 matches
Mail list logo