Wendy Smoak wrote:
Where does 'maven.dependency.classpath' get created? I only see it
referenced from the Maven Java Plugin, yet if I try
ant:echo${maven.dependency.classpath}/ant:echo
in a preGoal to java:compile, it's blank.
To see the value of an ant path, fileset, dirset or filelist
Thanks Brett,
I've filled a bug http://jira.codehaus.org/browse/MPTEST-55 and I
attached a small patch to fix this issue.
-eric
Brett Porter wrote:
It would require a fix in the test plugin, which is passing along xerces to
the tests.
- Brett
On 8/31/05, Eric Hartmann [EMAIL PROTECTED]
How about this maven-antrun-plugin of yours, Kenney ? I tried it on a
hello-world-example, and it's working good. Though, I encounter problems when I
use a regexpmapper tag in my build.xml. I figured that ant-apache-regexp.jar
or something is needed, so I added this dependency to
On Thu, 1 Sep 2005, Yann Le Du wrote:
How about this maven-antrun-plugin of yours, Kenney ? I tried it on a
hello-world-example, and it's working good. Though, I encounter problems when
I
use a regexpmapper tag in my build.xml. I figured that ant-apache-regexp.jar
or something is needed, so
Hi Arnaud,
The new version works. Thanks for your help with this.
Regards,
Greg.
On Wed, 2005-08-31 at 18:32 +0200, Arnaud HERITIER wrote:
I added ant to the jetty classpath
can you try it :
maven plugin:download -DgroupId=maven -DartifactId=maven-jetty-plugin
-Dversion=1.2-SNAPSHOT
Maven version: 2.0-beta-1-SNAPSHOT svn revision: 265679
Hi,
I am attempting to migrate an ear project from ant style to m2 project
style.
In the high level project dependencies:
[ear] -depends- [war]
|
|depends- [ejb] -depends- [persistence]
|
Hi
I wan't to parse an XML document on my filesystem using the parse tag
from the XML Jelly-library.
If I specify the source XML file by an absolute Path it does not work.
It seems that the parse tag is expecting a relative (to ${basedir})
path.
I want to to something like this:
x:parse
I tried the extensions thing and am not really sure about it, since it granted
me with a :
Cannot find mojo descriptor for: 'antrun:run' - Treating as non-aggregator.
I didn't find it in the POM XSD either.
Actually, the missing lib was ant-nodeps. BTW, since it seems to contain a
bunch of
Hi
I'm new to Maven 2 and enjoying it very much thankyou for asking ;)
I'm trying to create a servlet project for eclipse using the
eclipse:eclipse task and therefore have added a dependency to the pom
to servletapi (side question: should I be using servletapi or servlet-
api). So far so
On Thu, 1 Sep 2005, Ashley Williams wrote:
Use scope 'provided', it's meant precicely for this case!
-- Kenney
Hi
I'm new to Maven 2 and enjoying it very much thankyou for asking ;)
I'm trying to create a servlet project for eclipse using the
eclipse:eclipse task and therefore have added
Didn't work!
Changed my dependency like so:
dependency
groupIdservletapi/groupId
artifactIdservletapi/artifactId
version2.4/version
scopeprovided/scope
/dependency
then I ran my build:
$ m2 clean:clean install -Dpwd=admin
then I
hello,
I've testet the jboss plugin and have to questions to this.
What is exactly the function of the goals jboss:deploy-ejb and
jboss:undeploy-ejb? I've output on the console but don't know what
the goals are changing.
And the two goals are working with a jar file named APP NAME-APP
Didn't work!
Changed my dependency like so:
dependency
groupIdservletapi/groupId
artifactIdservletapi/artifactId
version2.4/version
scopeprovided/scope
/dependency
then I ran my build:
$ m2 clean:clean install -Dpwd=admin
then I
My next problem is that I wish to produce several artifacts from the
same source tree. I've experimenting with mbeans and one of the sun
samples has a Client and a Server class each with a main method in
the same package - therefore I will need two artifacts.
I could always refactor them
My next problem is that I wish to produce several artifacts from the
same source tree. I've experimenting with mbeans and one of the sun
samples has a Client and a Server class each with a main method in
the same package - therefore I will need two artifacts.
I could always refactor them
On Thu, 1 Sep 2005, Ashley Williams wrote:
That problem has been fixed a while back in the eclipse plugin.
It's fixed in svn and will come with the beta-1 release.
-- Kenney
Didn't work!
Changed my dependency like so:
dependency
groupIdservletapi/groupId
Hello,
I'd like to build a windows installer. I've fond the maven NSIS plugin
and will try it. I also have found that Microsoft MSI tool is opensource
(!!!) http://sourceforge.net/projects/wix. Is they're any maven plugin
for it ?
Nico.
This message contains information that may be
Having a problem understanding the directory structure for the master
project which contains multiple subprojects.
I am trying to create an ear from two wars which are generated from two
subprojects.
earbuilderproj
- pom.xml (I want this to generate an EAR)
- proj1
-
I'm trying to integrate an existing project into our build cycle.
None of the jars had version numbers in their names. The solution I
came up with was to download md5.exe from http://www.fourmilab.ch/md5/
and use google to look up the digests it printed out.
In each case, the name of the
On Thu, 1 Sep 2005 [EMAIL PROTECTED] wrote:
Hi,
In your root project (earbuilder) you need to specify:
- two dependencies on the two war projects, with typewar/type
- specify packagingear/packaging
- use m2 install. That way the lifecycle assosiated with packaging ear
kicks in and your
If I do this I receive the following message:
BUILD FAILED
File.. c:\myProject\component\maven.xml
Element... x:parse
Line.. 62
Column 110
c Nested exception: c
Please note that I'm using windows.
The statement in maven.xml is now:
x:parse var=myFile
I am looking to create a web service project with maven as the build
tool. I need to:
Create and deploy the service including generating the xml for it.
Create a Java client
Modify the build number in a properties file before the build
Currently we are doing this with ant scripts but I want to
Having some problems with that...
**
C:\tmp\earbuilderprojm2 install
[INFO]
[INFO]
I had a copy/paste error in the last email... here is the pom.xml file
that i am using... I'm still having the issues as described in the
previous email.
project
modelVersion4.0.0/modelVersion
groupIdcom.myco.apps/groupId
artifactIdearbuilderproj/artifactId
packagingear/packaging
Hi All,
I'm trying to generate a site from an installed/deployable application,
and receive the following:
[INFO]
[INFO] Building Maven Quick Start Archetype
[INFO]
Eric,
there is a property that you have to set in your build.properties in order
for maven to create the application.xml file for you.
http://maven.apache.org/reference/plugins/ear/properties.html
maven.ear.appxml.generate = true
Manuel
At 08:41 AM 9/1/2005, you wrote:
Having a problem
do you have
distributionManagement
site
idsite/id
nameGallup Plugins/name
urlscp://host/devel/websites/site/url
/site
/distributionManagement
specified in a pom and the corresponding info in a setting.xml in your .m2
directory?
On 9/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi All,
I get exactly the same error when I run site:site and I'm running on
the Mac OS X platform, and it seemed including a site.xml file didn't
cause any extra content to be generated.
Also the site:deploy goal fails for me. It did manage to zip up the
site directory, as I stopped it at the
there is a known bug in on that issue
build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
configuration
unzipCommand/usr/bin/unzip -o err.txt/unzipCommand
/configuration
/plugin
/plugins
/pluginManagement
/build
there is some
Hi Jon,
-Original Message-
From: Jon Strayer [mailto:[EMAIL PROTECTED]
Sent: jeudi 1 septembre 2005 17:46
To: Maven Users List
Subject: How to tell the version of jar.
I'm trying to integrate an existing project into our build cycle.
None of the jars had version numbers in their
I have my source code on a single tree but wish to build two
artifacts out of it with two different poms. Is there some concept
such as a file set so that each project will only see the relevant
files for compiling and jaring etc?
Thanks
- AW
Thanks for confirming the bug. Methinks I will wait until the beta -
should be there any day now ;)
On 1 Sep 2005, at 20:28, Jesse McConnell wrote:
there is a known bug in on that issue
build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
do you have
distributionManagement
site
idsite/id
nameGallup Plugins/name
urlscp://host/devel/websites/site/url
/site
/distributionManagement
specified in a pom and the corresponding info in a setting.xml in your .m2
directory?
Hi Jesse,
I currently have the following in my pom.xml:
in Maven 1, you use sourceModifications
in Maven 2, you use compiler plugin filter set
-D
On 9/1/05, Ashley Williams [EMAIL PROTECTED] wrote:
I have my source code on a single tree but wish to build two
artifacts out of it with two different poms. Is there some concept
such as a file set
Wendy,
Jay, this turned out to work *perfectly*!
Glad to hear it, though I agree with Brett that it doesn't necessarily fall
in the category of Best Practice. I'm glad to hear Maven 2 will do a
better job of dealing with this kind of issue.
One concern was having duplicate artifacts with the
btw, this feature is not in alpha 3 thou, but the latest trunk
-D
On 9/1/05, dan tran [EMAIL PROTECTED] wrote:
in Maven 1, you use sourceModifications
in Maven 2, you use compiler plugin filter set
-D
On 9/1/05, Ashley Williams [EMAIL PROTECTED] wrote:
I have my source code on
Thanks, that should get me going for now, at least for the compile
lifecycle (still need to think about recources etc). I'm actually
trying to figure out a much broader way of working, i.e. imagine
starting a project with a dozen developers all working on many source
files. Am I mistaken
On 9/1/05, Ashley Williams [EMAIL PROTECTED] wrote:
Thanks, that should get me going for now, at least for the compile
lifecycle (still need to think about recources etc). I'm actually
trying to figure out a much broader way of working, i.e. imagine
starting a project with a dozen
Hello there community.
New to Maven so this may be very foolish. I've added all needed jars as
dependencies. But when I try to attain java:compaile it keeps throwing me a
bunch of:
[javac] Compiling 33 source files to C:\projects\esf\target\classes
I am trying to download the Maven source code from SVN. To do this, I am using
the commands on the Maven website:
svn co http://svn.apache.org/repos/asf/maven/maven-1/core/trunk
maven-1/core/trunk
svn co http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk
maven-1/plugins/trunk
But I
Hi,
I've got the latest version of maven2 (actually tried both alpha 3 and the
latest from svn), but I can't seem to run site:site properly.
If I run it from a blank dir (ie no POM exists) I get the following output:
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO] Using local
On Thu, Sep 01, 2005 at 11:11:49PM +0100, Matthew Smalley wrote:
Hi,
I've got the latest version of maven2 (actually tried both alpha 3 and the
latest from svn), but I can't seem to run site:site properly.
If I run it from a blank dir (ie no POM exists) I get the following output:
[snip]
Definitely exposing my newbie status with Maven!
However I worked on a HUGE project with Ant and we did exactly that,
ie had one source tree for all work. The way we stopped any
particular class from one package using one from an illegal package
was using various Ant masks, so that if for
Cheers for the Trygve,
I don't know why but the first time I tried site:site, nothing came out
(presumably a bad POM). I've always assumed since then the errors meant
something was wrong. Back to building the site eh? :)
Matthew.
-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL
Is there an exclude example that someone can share with me. I have a couple
packages that I do not want to be included in my compile. I tried using
sourceModifications but it errors out with the following comment At least
one of (classname|file|resource) is required. See my example below... Am I
On 9/1/05, Ashley Williams [EMAIL PROTECTED] wrote:
Definitely exposing my newbie status with Maven!
However I worked on a HUGE project with Ant and we did exactly that,
ie had one source tree for all work. The way we stopped any
particular class from one package using one from an illegal
Hey brando, this is Dan from the old Struts channel ;-)
For your case, add
classNamefakeClass/className !-- see maven doc --
-D
On 9/1/05, Goodin, Brandon [EMAIL PROTECTED] wrote:
Is there an exclude example that someone can share with me. I have a
couple
packages that I do not want
Hi eric,
The way I solved this is by creating a pom porject that includes all
three modules and make ear to contain only the dependency. I.e.
[apps]
|-module--[earBuilderProj]
| | |
| depend depend
|
Hi,
How about using https protocol (svn co https://svn.apache.org ...).
Regards,
Edward
Trygve Laugstøl wrote:
On Fri, Sep 02, 2005 at 08:03:50AM +1000, Michael McCrann wrote:
I am trying to download the Maven source code from SVN. To do this, I am using
the commands on the Maven website:
Edward,
Fantastic, that worked.
Out of curiosity, do you know why HTTPS works but HTTP doesn't?
Michael
-Original Message-
From: Edward Yakop [mailto:[EMAIL PROTECTED]
Sent: Friday, 2 September 2005 10:11 AM
To: Maven Users List
Subject: Re: downloading Maven source code from SVN
Hi,
To be honest, I have no idea. I only suggest that because my company
svn+apache server often has exactly the same issue.
Regards,
Edward
Michael McCrann wrote:
Edward,
Fantastic, that worked.
Out of curiosity, do you know why HTTPS works but HTTP doesn't?
Michael
-Original
Thanks to help from Brett and the ability to hit my head against the wall
without giving up, I now have my plugin at least installing and working.
However it only works when I execute it with the groupId:artifactId:goal
formula. How do I set the prefix for it? I noticed a plugin.xml in my
Sounds like you are using a transparent HTTP proxy.
svn doesn't play well with transparent HTTP proxies. HTTPS is not
transparently proxied so doesn't have this issue.
http://subversion.tigris.org/faq.html#proxy
Cheers,
...andrew
Edward Yakop wrote:
Hi,
To be honest, I have no idea. I
Any ideas with this problem.
I am trying to use the artifact plugin (Maven 1.1 beta). I have a simple goal
in my project's maven.xml:
goal name=toRepository
artifact:deploy
artifact=${maven.build.dir}/transact.war
type=war
project=${pom}
/
Please upgrade to the artifact 1.6 plugin. I will update the download page.
A second beta will be out soon to address this.
- Brett
On 9/2/05, Michael McCrann [EMAIL PROTECTED] wrote:
Any ideas with this problem.
I am trying to use the artifact plugin (Maven 1.1 beta). I have a simple
settings
pluginGroups
pluginGroupcom.intervoice.maven.plugins/pluginGroup
/pluginGroups
/settings
- Brett
On 9/2/05, Wendell Beckwith [EMAIL PROTECTED] wrote:
Thanks to help from Brett and the ability to hit my head against the wall
without giving up, I now have my plugin at least installing
56 matches
Mail list logo