On Fri, 15 Jul 2005, John Fallows wrote:
What syntax is supported for M2 Plugin parameters of non-primitive types?
For example, java.util.Collection (and subclasses), java.util.Map (and
subclasses), arrays, Properties and JavaBeans.
Collections / arrays:
items
whatever
Hi Dylan,
Could you try and remove the jarj2ee-1.4.jar/jar part ??
the other tags should suffice ...
btw, your command says 'maven -0 ...' I assume you want to run in offline
mode.
The -0 ( minus-zero ) should then be -o ( minus-ooh )
Dennis
On 7/15/05, Dylan Stamat [EMAIL PROTECTED]
Hi David,
I encountered the same problem a while ago.
The following was suggested:
'The workaround is to split your war files and your sources. Put all your
java sources in an other project and add them in the new jar dep of your
war.'
So, make a multi module project, one 'jar-project'
Kenney,
Can you create an apt doc that explain this?
Emmanuel
Kenney Westerhof wrote:
On Fri, 15 Jul 2005, John Fallows wrote:
What syntax is supported for M2 Plugin parameters of non-primitive types?
For example, java.util.Collection (and subclasses), java.util.Map (and
subclasses),
On Fri, 15 Jul 2005, Emmanuel Venisse wrote:
Kenney,
Can you create an apt doc that explain this?
Sure, where do you want me to put it? It should go in plexus somewhere,
but then the m2 site has to have a reference to that page.
Emmanuel
Kenney Westerhof wrote:
On Fri, 15 Jul 2005,
Hi,
Does anyone have any tips on running AspectWerkz 2.0
(http://aspectwerkz.codehaus.org/) with Maven 1.0.2 ?
There's the Maven AspectWerkz plugin
(http://maven.apache.org/reference/plugins/aspectwerkz/index.html) but it's
current incarnation -version 1.2- support only AspectWerkz 0.9.
I only
Can you retry? I upload the missing file.
For run the checkout goal, you need to provide a connection url :
m2 -DconnectionUrl=scm:svn: scm:checkout
Emmanuel
Van Steenberghe Mario (GFDI) wrote:
Hi,
We're trying to setup a build system using maven2, but the following error
occurs while
Hi,
Firstly, I'm using Maven 2 alpha 3.
When I try to make to make the Marmalade plugin at
http://maven.apache.org/maven2/developers/developing-plugins-with-marmalade.html,
I get the following error:
java.lang.NullPointerException
at
have you tried removing the id tag from your mojo?
Michael Owen wrote:
Hi,
Firstly, I'm using Maven 2 alpha 3.
When I try to make to make the Marmalade plugin at
http://maven.apache.org/maven2/developers/developing-plugins-with-marmalade.html,
I get the following error:
It doesn't give errors any more, and creates the files in the target
directory, however, doesn't install the plugin in the local repository and
the goals m2 hello:hello or m2 hello don't work.
Thanks for help btw. :)
Mike
brbrbrgt;From: Edwin Punzalan
lt;[EMAIL PROTECTED]gt;brgt;Reply-To:
Hi.
The jar overrides as specified in the documentation ...
maven.jar.artifactId = [path]
maven.jar.artifactId = [version]
... work fine.
However, there this takes no notice of the groupId property specified
in the project.xml fiile's dependencies. Is it therefore impossible to
deal with
Did you check the repository?
Anyway, to use the plugin, you should have a separate project declaring
the plugin in its pom. After that, the project can now call hello:hello.
Michael Owen wrote:
It doesn't give errors any more, and creates the files in the target
directory, however,
I updated the plugin pom to a released version(2.0-alpha-3) of
plugin-parent and redeploy it. It will be synchronize with ibiblio in
few hours.
Emmanuel
Van Steenberghe Mario (GFDI) wrote:
Hi,
The maven-scm-plugin is successfully downloaded now, but it seems to
fail to find the
Hello all,
I have got an interesting problem that I am stuck on. My project uses
multiproject and java 1.5. When I use maven to test one of my subprojects,
everything works fine, all java 1.5 code compiles ok and the unit-tests run
ok.
When the multiproject plugin runs the unit-tests I get
Thanks,
I updated my local POM to use this version and everything seems to work
fine now.
Mario.
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: vrijdag 15 juli 2005 12:39
To: Maven Users List
Subject: Re: maven-scm-plugin fails
I updated the plugin pom to a
On Thu, 2005-07-14 at 21:52 +0200, solo turn wrote:
i get something like this now with v alpha-3.
$ m2 -e archtype:create -DgroupID=ts -DartifactId=demoapp
+ Error stacktraces are turned on.
You have groupID there not groupId ...
--
jvz.
Jason van Zyl
jason at maven.org
test
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
All,
Can someone point me in the right direction to find some information
about how to customize the manifest.mf file that m2 creates and includes
in the jar?
I'm trying to use m2 to build my OSGi bundles, and OSGi requires the
bundle meta-data to be added to the jar manifest. I know how to do
Hi Marc,
Someone would need to provide a patch to update the aspectwerkz plugin.
-Vincent
-Original Message-
From: Marc Candle [mailto:[EMAIL PROTECTED]
Sent: vendredi 15 juillet 2005 10:37
To: 'Maven Users List'
Subject: RE: [m1.0.2] support for AspectWerkz 2.0
Hi,
Does
Hello,
I'm developing a plugin for Maven (1.0.2) and run into trouble. The
plugin has - among other - the following dependencies:
dependency
groupIdcommons-beanutils/groupId
artifactIdcommons-beanutils/artifactId
version1.7.0/version
Hello,
I developed a Maven plugin. That plugin uses Log4j to log messages
(SocketAppender and ConsoleAppender). While running maven
plugin:install I get the messages sent to SocketAppender using
Chainsaw, the messages sent to ConsoleAppender are stored in the test
report files. Fine.
But
On Fri, 2005-07-15 at 11:52 +1000, Washusen, Dan wrote:
I've used the latest hibernate ant tasks with Maven 1.1. I had to
include it's dependencies in my project.xml but it worked.
I notice that the documentation for the junitreport task mentions the
Xalan libraries, have you check that
Hello All,
I'm trying to get started with maven 1.0.2 and find that when using any
of the webapp templates (like struts-jstl), I get a warning on the
java:compile goal
Tag library requested that is not present: 'maven' in plugin:
'maven-xdoclet-plugin-1.2'
Can anyone help me identify the
On Thu, Jul 14, 2005 at 10:02:32AM -0400, Ilyevsky, Leonid (Equity Trading)
wrote:
This happens consistently. All the time, so I cannot do my build with this.
Seems like there is a issue with your setup and/or jcsh. What SSH server
are you using? We've been deploying using the scp provider all
Martin Burger schrieb am 15.07.2005 17:05:
I think while running the plugin Digester 1.7 is not used, Maven's
1.4.1 is used instead. Therefore some parts of the XML report are
ignored.
In my code, I added a call of the method Digester.getSAXLogger(). That
method was added in Digester 1.6.
Martin Burger schrieb am 15.07.2005 17:19:
So, how can I get the messages sent while the plugin is running?
Found a solution:
1. Set MAVEN_OPTS to -Dlog4j.configuration=file:/e:/log4j.xml
-Dlog4j.debug
2. In your log4j.xml, you have add the following tags:
appender name=mavenconsole
From: John C Cartwright [EMAIL PROTECTED]
I'm trying to get started with maven 1.0.2 and find that when using any
of the webapp templates (like struts-jstl), I get a warning on the
java:compile goal
Tag library requested that is not present: 'maven' in plugin:
'maven-xdoclet-plugin-1.2'
I
Martin Burger schrieb am 15.07.2005 17:05:
I think while running the plugin Digester 1.7 is not used, Maven's
1.4.1 is used instead. Therefore some parts of the XML report are
ignored.
Switching to Maven 1.1-beta-1 helped. But how to provide backward
compatibility?
Regards,
Martin
Hi Wendy,
thanks for the suggestion. Changing to:
dependency
idxdoclet/id
version1.2.3/version
/dependency
didn't seem to make any difference. Is this the dependency that you had
in mind?
-- john
Wendy Smoak wrote:
From: John C Cartwright [EMAIL PROTECTED]
I'm trying
Here is the SSH I am using:
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
What is jcsh? What could be wrong with my setup? Where should I look?
Thanks,
Leonid
-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Friday, July 15, 2005 11:28 AM
To:
On Fri, Jul 15, 2005 at 01:09:22PM -0400, Ilyevsky, Leonid (Equity Trading)
wrote:
Here is the SSH I am using:
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
What is jcsh? What could be wrong with my setup? Where should I look?
Sorry, it's JSCH, not JCSH as I said. JSCH[1] is
Thanks Kenney, this is very helpful. :-)
Would you mind posting a message to this email thread that contains a
link to the APT documentation after is available on maven site?
Kind Regards,
John Fallows.
On 7/15/05, Kenney Westerhof [EMAIL PROTECTED] wrote:
On Fri, 15 Jul 2005, John Fallows
On Fri, Jul 15, 2005 at 01:24:01PM -0400, Ilyevsky, Leonid (Equity Trading)
wrote:
I see /qsatools/tools/maven-2.0-alpha-3/lib/jsch-0.1.17.jar .
On the Jsch website they have 0.1.21. Is this a problem?
If I download the latest one, where I should tell maven to use it?
It should work by just
I just tried it. Does not help, the same Wrong ACK.
Our Linux guy says that nothing was changed about ssh. Well, there probably
were some patches installed.
Outside maven the scp works fine.
Any more clues?
Emmanuel, could you also replace that jar with 0.1.21 and reproduce the problem
again?
I currently use Maven 1.2 on several projects and have quite an extensive
repository. It of course uses the 1.x directory structure and doesn't
contain any .pom or poms files/directories.
Now I am trying/using Maven2 and am wondering what is the best way to
access my existing 1.2 style
Try adding the line:
maven.repo.local=[path to local repository]
to your build.properties file. I had the same problem (Maven 1.0.2
wasn't finding JARs in a repository in the default location). Btw.
what OS are you working in? I'm using Fedora.
Josh
On 7/14/05, Dennis Geurts [EMAIL
I'm new to Maven, but can't find an resolution to this problem: unit
tests don't run with enough verbosity to be useful. When I run unit
tests that fail, there is nothing reported other than that the tests
failed. For example:
[junit] Running com.foo.FooTest
[junit] Tests run: 4,
Hi Dan,
After testing, did you have a look at the files in 'target\test-reports' ??
Dennis
On 7/15/05, Dan Bradley [EMAIL PROTECTED] wrote:
I'm new to Maven, but can't find an resolution to this problem: unit
tests don't run with enough verbosity to be useful. When I run unit
tests that
maven.junit.usefile=false
On 7/15/05, Dan Bradley [EMAIL PROTECTED] wrote:
I'm new to Maven, but can't find an resolution to this problem: unit
tests don't run with enough verbosity to be useful. When I run unit
tests that fail, there is nothing reported other than that the tests
failed. For
Exactly what I needed - thanks!
On 7/15/05, Charles Daniels [EMAIL PROTECTED] wrote:
maven.junit.usefile=false
On 7/15/05, Dan Bradley [EMAIL PROTECTED] wrote:
I'm new to Maven, but can't find an resolution to this problem: unit
tests don't run with enough verbosity to be useful. When I
That's a very useful tip as well! Thanks!
On 7/15/05, Dennis Geurts [EMAIL PROTECTED] wrote:
Hi Dan,
After testing, did you have a look at the files in 'target\test-reports' ??
Dennis
On 7/15/05, Dan Bradley [EMAIL PROTECTED] wrote:
I'm new to Maven, but can't find an
Maven2
m2 clean:clean install
packaging = jar
I am trying to build a jar file, myJar.jar. myJar has several other jar
files in it's dependency list in the pom.xml. I need to deploy this .jar
file to a server, but I also need the dependency jars with it...either in
the same folder or in a
Eric Weiss wrote:
Maven2
m2 clean:clean install
packaging = jar
I am trying to build a jar file, myJar.jar. myJar has several other
jar files in it's dependency list in the pom.xml. I need to deploy
this .jar file to a server, but I also need the dependency jars with
it...either in the
Is there an easy/built in way to include the dependency jar files when
building a jar package? Or do I need to build my own plugin?
Sounds suspiciously like an EAR to me. If you ignore the
META-INF/application.xml, it's a zip file with all your jars packaged
together. That said, if you're
Adam,
I sent your info and details to Geoffrey and CC'ed the address I had.
I believe the version there now covers all of your needs.
Cheers,
Brett
On 6/27/05, Adam Hardy [EMAIL PROTECTED] wrote:
Geoffrey on 26/06/05 14:23, wrote:
In CVS there is a version of the SF JAXB plugin from for
You will need to drop the appropriate version into MAVEN_HOME/lib.
Unfortunately, commons-collections needs to be in there, and that
version is used in all plugins.
- Brett
On 6/28/05, Brian Moseley [EMAIL PROTECTED] wrote:
using 1.1-beta-1, i get a NoSuchMethodError for a commons-collections
This JIRA issue is different to your issue from the mail.
The scope definition of provided is for compilation only, that it
will -always- be provided at runtime (by the JDK or a container, and
this includes the execution of unit tests).
If it is not provided, it should be one of compile, runtime
Well, that explains a lot :)
You can't use commons-jelly-1.0 with Maven 1.0.2. They aren't
internally compatible. If you need the newer Jelly, try Maven
1.1-beta-1.
Cheers,
Brett
On 7/2/05, Adrian Herscu [EMAIL PROTECTED] wrote:
Brett,
I think that I have found the problem and I can
No, sorry - Maven 1.x requires a Sun JDK (with tools.jar).
- Brett
On 7/2/05, Filipe Tavares [EMAIL PROTECTED] wrote:
Hello,
I'm using maven 1.1beta1 on Fedora Core 4. Fedora comes with GCJ
instead of the normal JDK. When I try to compile my projects, I get:
[EMAIL PROTECTED]
(2) is preferred. We are still considering allowing the use of an m1
repository as is, but it does limit the functionality Maven will
provide and will not read m1 poms where the conversion will.
- Brett
On 7/16/05, Eric Weiss [EMAIL PROTECTED] wrote:
I currently use Maven 1.2 on several
You can use the assembly plugin to create a single distributable unit.
It will create a tarball, zip, or jar from your project and
dependencies.
- Brett
On 7/16/05, Matthew L Daniel [EMAIL PROTECTED] wrote:
Is there an easy/built in way to include the dependency jar files when
building a jar
Unfortunately you are stuck here. The version in MAVEN_HOME/lib is
used above the others due to the classloader hierachy in use and the
fact that plugins are not separated.
Plugins will need to use 1.4.1 to remain compat with Maven 1.0.2.
- Brett
On 7/16/05, Martin Burger [EMAIL PROTECTED]
I'd be interested to see what you are doing here, and whether an
osgi-bundle plugin could be created to assist in this.
Unfortunately the JAR plugin documentation does not yet go deep enough
into the manifest element, but it's fields are seen here:
These are 2 limitations of the jar override mechanism - you are
correct. You can only use artifactId. There are no workarounds.
Cheers,
Brett
On 7/15/05, fenallen [EMAIL PROTECTED] wrote:
Hi.
The jar overrides as specified in the documentation ...
maven.jar.artifactId = [path]
There is a list on the download page you can cut and paste from,
that's as automatic as it gets in maven 1.0 :)
- Brett
On 7/15/05, Jamie Bisotti [EMAIL PROTECTED] wrote:
There is now update all method. It's a manual process.
On 7/14/05, Mick Knutson [EMAIL PROTECTED] wrote:
I want to
file:d:/CustomLib/repository should work
On 7/13/05, Eric Lapierre [EMAIL PROTECTED] wrote:
We use this property on Unix successfully:
maven.repo.remote=file:/vobs/oam_tps/maven/repository
I would look at your slash and backslash combination
-Original Message-
From: [EMAIL
This is a good way to do it. If you are looking to cut and paste the
ant tasks, you might like to write the plugins in Marmalade, or use
the AntRun plugin if the number of tasks is -very small- (though it
could be to farm it out to a larger ant script using the ant ... /
task).
- Brett
On
I believe this was a regression that crept in to the last release,
since fixed in SVN.
Cheers,
Brett
On 7/13/05, Wilfred Springer [EMAIL PROTECTED] wrote:
All,
It appears that the [m2] site:deploy Mojo fails to unzip the file after
it has been uploaded using scp. It seems that the commands
On 7/12/05, John Fallows [EMAIL PROTECTED] wrote:
I just noticed a NPE in the Maven2 Javadoc Report that occurs when
organizationname.../name/organization is not present in the
POM.
Do I just file this bug against MNG/maven-reports on JIRA?
yes, please.
Thanks,
Brett
We'll be working more on multiproject releases shortly. It's a thorn
in our own side come release time :)
- Brett
On 7/12/05, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Wilfred Springer wrote:
All,
I'm trying to get the maven release plug-in working. My project
organization looks
Please read the important note in the installation instructions. You
have MAVEN_HOME set to 1.1, but have 1.0.2 ahead of it in your PATH.
- Brett
On 7/10/05, Jing Xue [EMAIL PROTECTED] wrote:
Hi,
I'm trying the 1.1 beta with a minimal project and got this error while
just running 'maven'
Matthew L Daniel wrote:
Is there an easy/built in way to include the dependency jar files when
building a jar package? Or do I need to build my own plugin?
Sounds suspiciously like an EAR to me. If you ignore the
META-INF/application.xml, it's a zip file with all your jars packaged
what's all this future tense? It's in alpha-3... :)
(not sure if there are OS dependent triggers or not, though - worst
case could use a sys property -Dplatform=win32 until they are there
though).
- Brett
On 7/4/05, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Jörg Schaible wrote:
Emmanuel
these settings are for deployment, not downloading. You probably want:
maven.repo.remote=ftp:172.20.1.89/repository,http://www.ibiblio.org/maven
Cheers,
Brett
On 7/9/05, Alexandre Touret [EMAIL PROTECTED] wrote:
Hi
I have created a FTP Repository for maven in my society
maven cant connect to
Ilyevsky, Leonid (Equity Trading) wrote:
I just tried it. Does not help, the same Wrong ACK.
Our Linux guy says that nothing was changed about ssh. Well, there probably
were some patches installed.
Outside maven the scp works fine.
Any more clues?
Emmanuel, could you also replace that jar
65 matches
Mail list logo