Hi,
The way you have defined here, the files will always come from /src
directory.
Plus
filterPropertiesFile${basedir}/src/main/resources/tokens/stage/filterPropertiesFile
should point to a file, not a directory.??
Maybe first you can filter into some temporary directory that filter that
Andrius Šabanas wrote on Monday, October 03, 2005 7:44 PM:
[snip]
I have solved the problem somewhat drastically - by removing
org.apache.ant_1.6.5 plugin from Eclipse's plugins/ directory, as I
don't use Ant (I am using Eclipse 3.1 bundled with WTP 0.7).
Then you have also eliminated a lot
Stephen Duncan wrote on Monday, October 03, 2005 3:50 PM:
Thanks for the tip. That only seems to apply to reporting of
problems by the Ant editor. It still doesn't let me edit
the file with WTP properly. It still associates the file
with the Ant editor, and when I manually open the file
Note: This is a repost, since I forgot tu put the [m2] email subject
stuff... :)
Hello,
I discovered install:install-file from the Maven2 faq that create the
appropriate directory structure for an legacy external jar my project
needs.
But it dosen-t genereate the .pom file associated with the
Hi Ashley,
i am not sure how I'd check to see what
version of Java m2 is running but my Mac's default Java is
java version 1.4.2_09
Java(TM) 2 Runtime Environment, Standard
Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54,
mixed mode)
so i assume it's running that. i
see
Hi Pedro,
It's possible that your problem in antlr is a side effect of another
bug in maven 1.1 (variables scope).
For the upgrade you can open an issue. We'll do it if this new release
is available on ibiblio.
Arnaud
-Message d'origine-
De : Pedro Romano
Hi Arnaud,
Thanks for your answer! It makes sense that Antlr-plugin problem is
related to the general Maven 1.1 variables scope bug.
In relation to the upgrade there is already an issue (MPANTLR-7)
which is marked as closed in version 1.2.2 of the plugin (Antlr-2.7.5
is already available in
Hello,
Trying a m2 site:site (using maven-site-plugin 2.0-alpha-2 ), and
getting this stuff:
+ Error stacktraces are turned on.
[INFO]
[INFO] Building Maven Default Project
[INFO]
Another thing to do especially since some devs keep steering people to
use commons-exec and then other devs say not to use it is to use the
command line execution functionality in plexus-utils.
1. Add the following dependency to your pom:
dependency
Well I suppose the good news is that I have got the assert keyword to
work so hopefully you will be able to as well.
Step by step:
1. Create a new project; m2 archetype:create -DgroupId=bogus -
DarchetypeId=bogus
2. Use the assert keyword: cd bogus; vi src/main/java/bogus/
App.java and
Hi,
I'm not the release manager of this plugin but we can plan it before
the next maven 1.1 beta.
There are some open issues on this plugin but we can release it before
to fix them.
Personnaly I don't use it and never took a look on how it works.
I can publish a
I've just installed m2 and tested the installation with the m2 --version
command , got Maven version: 2.0-beta-2 .I then went to my
${user.home}/.m2/ so that I can configure my proxy settings , but there's no
settings.xml file.Do I have to create this manually?Did I miss a step or
what?
Jeff
Hi,
I'm attempting to convert and existing project that currently produces a
single ear artifact to use m2, but it appears that even when my top level
pom.xml has a packaging type of ear, the ear plugin never gets invoked. I've
looked at the code for the plugin and executed maven with the
Hi Ashley,
haha well i am falling at step 1 now.
the archetype command fails with the following:
[ERROR] ResourceManager : unable to
find resource 'VM_global_library.vm' in any resource loader.
seems something broke m2 today, because
i have used the same architype command only a few days ago
You have to create it manually. You can use the file:
M2_HOME/conf/settings.xml as a base.
-Stephen
On 10/4/05, Jeff Mutonho [EMAIL PROTECTED] wrote:
I've just installed m2 and tested the installation with the m2 --version
command , got Maven version: 2.0-beta-2 .I then went to my
Actually by chance I've just changed one of my projects from java 5
to java 1.4 and as such saw a nice visual representation of the
default compiler settings in Eclipse:
Use default compliance settings: yes
Generated .class files compatibility: 1.2
Source compatibility:
another related question
now it's compiling with asserts in place
but the asserts get ignored when the tests run. how do i force the
JVM's assert flags. where are the links to the documentation for
the compiler plugin?
Kind regards,
Dave Sag
Ashley Williams [EMAIL PROTECTED] wrote
on
The ear plugin has its definition built in - it should work.
Is nothing produced, or is the ear empty?
Currently it doesn't aggregate modules, but instead uses dependencies
so must be a side-by-side project to its modules (like in m1).
- Brett
On 10/4/05, Robert Biernat [EMAIL PROTECTED]
For the tests I thought you would be using junit Assert class, so
extend TestCase and keep calling assertEquals etc.
The docs for the plugins are at http://maven.apache.org/maven2/
plugins/index.html
On 4 Oct 2005, at 13:08, David Sag wrote:
another related question
now it's compiling
you misunderstand me.
in the setter of my class under test
I use assert(param != null);
and in my test i try to pass null to
the setter and check that an AssertionError gets thrown.
but now when i run the tests the AssertionError
is never thrown. In ANT i used to have to specify
Have you tried launching maven with the java -ea switch? I don't
think you can control these switches with surefire or any of the
other maven plugins as far as I can tell, so I think you have to
configure your own vm as best as you can.
I've just had a look at m2 shell script and I think
The other viable alternative is to depend upon the equivalent
geronimo-spec. Works quite well.
http://www.ibiblio.org/maven/geronimo-spec/jars/
mike
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 9:11 PM
To: Maven Users List
Subject: Re:
As far as I can see the ibiblio repo does not contain beta 2 yet:
http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-resources-plugin/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
plugin version != maven version.
That's the most recent release of the resources plugin.
- Brett
On 10/4/05, Kees de Kooter [EMAIL PROTECTED] wrote:
As far as I can see the ibiblio repo does not contain beta 2 yet:
Rob,
Please show your pom. Have also a look to the documentation (link is
currently broken, will be fixed shortly):
http://maven.apache.org/maven2/plugins/maven-ear-plugin/configuration-examples.html
Cheers,
Stéphane
On 10/4/05, Robert Biernat [EMAIL PROTECTED] wrote:
Hi,
I'm attempting
Thanks for the suggestions guys.
Don't really want to bring in the might of plexus/commons libraries
if I can help it for this one liner
so what I'm doing is just calling Main directly - don't know why I
didn't think
of it before:
com.sun.tools.xjc.Driver.main(args);
I'm way
The maven-kodo-plugin team is pleased to announce the Kodo Plugin 4.0.0-EA2
release!
http://maven-plugins.sourceforge.net/maven-kodo-plugin/
Maven plugin for Solarmetric's Kodo JDO implementation
Changes in this version include:
New Features:
o This version requires Kodo 4.0.0-EA2 jars.
I'm pretty sure xjc depends on all of these. If that were in the xjc
pom, you'd only need to depend on xjc.
Basically, you should only need to depend on what you use if the
libraries have a properly constructed pom.
Likewise, if you construct a pom with all these deps, you can depend
on that to
Brett, do you have any idea when your fix of issue MNG-744 will be put
into the repository.
On 10/4/05, Brett Porter [EMAIL PROTECTED] wrote:
plugin version != maven version.
That's the most recent release of the resources plugin.
- Brett
On 10/4/05, Kees de Kooter [EMAIL PROTECTED] wrote:
I think you have the wrong ID there?
- Brett
On 10/5/05, Kees de Kooter [EMAIL PROTECTED] wrote:
Brett, do you have any idea when your fix of issue MNG-744 will be put
into the repository.
On 10/4/05, Brett Porter [EMAIL PROTECTED] wrote:
plugin version != maven version.
That's the
Hi Ashley,
in my humble opinion assertsenabled
should be the default for running *any* unit tests. it seems a litle
crazy that getting my unit tests to pass would require a custom MAVEN_OPTS
setting.
i have filed an 'imporvement' issue
in jira http://jira.codehaus.org/browse/MNG-1087
so with
My j2ee-1.3.1.jar is being included in my war file
although I set the scope to provided
I am using Maven version: 2.0-beta-2
Is this a bug or am I making a mistake?
Thank you!
In my dependencies:
dependency
groupIdj2ee/groupId
artifactIdj2ee/artifactId
oh FYI - adding
export MAVEN_OPTS=-ea
to my .profile made everything work
fine.
Kind regards,
Dave Sag
Ashley Williams [EMAIL PROTECTED]
04/10/05 03:10 PM
Please respond to
Maven Users List users@maven.apache.org
To
Maven Users List users@maven.apache.org
cc
Subject
You should know that what I've been suggesting is also in my humble
opinion - I don't know for sure that there isn't an 'easy' way to
configure the vm. If not them maybe you could expand your jira issue
to include vm configuration in general rather than just for enabling
asserts - maybe
Looks like MNG-1048 [1], which Brett fixed yesterday.
Cheers,
-Ralph.
[1] http://jira.codehaus.org/browse/MNG-1048
On 04.10.2005, at 16:27, phillip rhodes wrote:
My j2ee-1.3.1.jar is being included in my war file
although I set the scope to provided
I am using Maven version: 2.0-beta-2
Is
When you say xjc do you mean:
http://www.ibiblio.org/maven2/javax/xml/jaxb-xjc/1.0.5/jaxb-
xjc-1.0.5.pom
because if so there are no dependencies declared there. What you see
in my
dependency list is home made in my own repository by trial and error.
I think I've just temporarily been
As far as I can see the ibiblio repo does not contain beta 2 yet:
http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-resources-plugin/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On 10/5/05, Ashley Williams [EMAIL PROTECTED] wrote:
When you say xjc do you mean:
http://www.ibiblio.org/maven2/javax/xml/jaxb-xjc/1.0.5/jaxb-
xjc-1.0.5.pom
because if so there are no dependencies declared there. What you see
in my
dependency list is home made in my own repository by trial
I get the hint!
So if I have a pom version 0.1 that at least works for me who can I
sumit it to for inclusion?
On 4 Oct 2005, at 15:41, Brett Porter wrote:
On 10/5/05, Ashley Williams [EMAIL PROTECTED] wrote:
When you say xjc do you mean:
that's what
http://jira.codehaus.org/browse/MEV
is for
On 10/5/05, Ashley Williams [EMAIL PROTECTED] wrote:
I get the hint!
So if I have a pom version 0.1 that at least works for me who can I
sumit it to for inclusion?
On 4 Oct 2005, at 15:41, Brett Porter wrote:
On 10/5/05, Ashley
Hi,
After changing my structure so the ear was a side-by-side project with
dependencies added for each of my other modules the plugin works correctly.
I assumed that simply having a parent pom that included one or more module
elements along with a package type of ear that this would trigger the
I hope so because the last time I tried to do this (with httpclient)
there was a question
of ownership of the problem. In fact I had to report it over at
bugzilla who weren't
even sure who was responsible for uploading their pom
http://issues.apache.org/bugzilla/show_bug.cgi?id=35321
On 4
We encourage projects to take an active role - so if they have a Maven
build themselves, they should be the first point of call.
If they are uncertain or don't have a Maven build, you can file it
there. We'll follow up with them (esp. if they are ASF projects), or
just fix the data if we created
Hi Ashley,
I had a similar issue for Axis -- It has many dependencies, which I wanted
to keep grouped together - so that I can easily upgrade versions -- or keep
Servers and my Axis WSDL2Java plugin easily in sync
So I build a POM project -- i.e. a project (e.g. axis-deps-1.2.1) that's
artifact
Eventually, I found the trick:
Forcing a specified plugin version in services.xml and using the
--no-plugin-updates m2 flag
-antonio
[EMAIL PROTECTED] 10/03 1:04
Hi,
I couldnt' find the entry RELEASE in the file services.xml
And my plugin.registry looks correct:
My plugin.registry:
I handcrafted the parent pom this time and copied it over to my local
repository.
But I will make it into a property pom project as I really should
have done, just
didn't put 2 and 2 together.
On 4 Oct 2005, at 16:11, Chris Berry wrote:
Hi Ashley,
I had a similar issue for Axis -- It has
I think the point we made on httpclient was that we (the httpclient
project) provided a valid Maven 1 POM.
Someone in the maven team converted that into a crappy Maven 2 pom.xml
- not our problem.
Why would we take responsibility for this?
On 10/5/05, Ashley Williams [EMAIL PROTECTED] wrote:
I
We have 3 different kind of enviroments to deploy applications:
- development
- acceptation
- production
We would like to use 3 different propertie files, one for each enviroment:
- development.properties
- acceptation.properties
-
http://jira.codehaus.org/browse/MEV-104
On 4 Oct 2005, at 16:00, Brett Porter wrote:
We encourage projects to take an active role - so if they have a Maven
build themselves, they should be the first point of call.
If they are uncertain or don't have a Maven build, you can file it
there. We'll
Hi,
Can I change the configuration of the compiler plugin so along with the
default source path i.e src/main/java I can point it to a location that
contains generated source i.e target/src/gen
I have modified one of my poms, so the generate-sources lifecycle stage has
been wired up to the
Greetings
I recently tried to do a build (this AM) -- and it asked me if I wanted to
get newer versions -- I said all -- and then my build broke (BTW; it is
using SNAPSHOTS)
I get the error::
Root error:
Unrecognized tag: 'lastUpdated'
Do I need to build a later version of m2??
BTW:
Andy caught us on IRC and asked the question - I didn't realise it was
on the list too until I searched now.
He was working with snapshots, so it was understandable to need to
upgrade - however, I didn't anticipate this affecting the prior
release.
I will remove the offending metadata from the
Hi,
I have an Ant project and all I am using Maven for is the repository support
via the jar full of Ant tasks. I have a jar that I would like to upload to a
repository (my own private repository). Unfortunately, I get the following
exception
java.lang.NullPointerException at
I am using Maven version: 2.0-beta-2
I have a webapp/WEB-INF/tlds directory that has
several tld's in it that are not included in the war
file that is packaged.
Most of the tld's are struts related...
What properties do I need to set to include the tlds
in the war? I don't see this referenced
Hi,
is there maven plugin that helps developing Eclipse plugins and RCP? For
instance META-INF/MANIFEST.MF contains list of dependant libraries. But I
cannot specify library that is in maven repository.
Thanks, Jan
-
To
Thanks, that gave me some clues and information about where to find
information..
But I still haven't figured out how to reference a fileset to be able
to copy my dependencies. Is there a way to specify this in the pom or
do I have to write a Ant task. If I have to write a task how do I
write the
There is some working going on at
http://svn.apache.org/repos/asf/incubator/felix/trunk/tools/maven2/maven-osgi-plugin/
-Dan
On 10/4/05, jan_bar [EMAIL PROTECTED] wrote:
Hi,
is there maven plugin that helps developing Eclipse plugins and RCP? For
instance META-INF/MANIFEST.MF contains
Hi, Brett and Dion, I installed Maven in a Windows network drive G: and moved
local repository to network drive too.
G:\
+- Maven
+- Apache Software Foundation
+- Maven 1.0.2
+- bin
+- lib
+- plugins
+- LocalRepo
+- .maven
Hi. I posted this previously to the Maven Developers List, but things are
extremely busy there in the lead up to the beta-3 release. If anyone here
can help me understand how the Maven SCM Wagon is designed, I would be
extremely grateful. Thanks, Cheers, Tony.
--- Forwarded message
We are considering upgrading to Maven 2.0. Can someone tell me whether the
current Maven Cruisecontrol plugin v1.7 supprt Maven 2.0 or not?
Another question, is there a document showing how to convert Maven 1.0's
maven.xml and project.properties files to the pom.xml for Maven 2.0?
Thanks in
maven 1.0.2...
I'm having a bit of a struggle with a project that does not contain any
java source files, only WSDL for a 3rd party WS that several other
projects will be interacting with.
I'm using the axis plugin to generate java source from the wsdl. I would
like the artifact of the
All,
I'm having troubles to build the wicket distribution using the maven
distribution plugin. I have modified the plugin to some degree, but I
doubt that is causing the problem.
This happens both in windows xp and mac osx. Both use jdk 1.4, and
maven 1.1-b2. The strangest thing is that when I
I found a blog post from a while back that mentions the following:
There is a generate-sources phase in the build process, where you can
register any goals that do so, and plug the new directories into the project
for compilation automatically.
I have managed to register the antrun:run goal with
My reply to Roberto
-- Forwarded message --
From: Dion Gillard [EMAIL PROTECTED]
Date: Oct 5, 2005 10:50 AM
Subject: Re: Installing Maven in a Network drive
To: Roberto Castro [EMAIL PROTECTED]
On 10/5/05, Roberto Castro [EMAIL PROTECTED] wrote:
Hi, Brett and Dion, I
On 10/5/05, Robert Biernat [EMAIL PROTECTED] wrote:
I'm thinking the only way to do this is to write a java based plugin that
programmatically plugs in the new directory.
Yes, or to write an Ant task in antrun to do it...
- Brett
In java (or beanshell) plugin:
step 1): create the plugin
m2 archetype:create -DgroupId=... -DartifactId=... \
-DarchetypeArtifactId=maven-archetype-mojo
step 2): create the mojo:
/** @parameter default-value=lib */
private File outputDirectory;
/** @parameter expression=${project.artifacts}
How would an ant task be able to manipulate the POM being processed and add
an additional source location?
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 05, 2005 11:03 AM
To: Maven Users List
Subject: Re: m2 compiler plugin and generated source
Antrun would need to add a reference to the MavenProject instance and
then an ant task could look that up and call the addCompileSourceRoots
method.
But writing a Java plugin is about the same amount of work as an Ant
task, so is probably a better alternative.
- Brett
On 10/5/05, Robert Biernat
I noticed that sch 0.1.22 got released yesterday. Only to bad that that
it did not include a fix for the MNG-678 issue.
In the meantime I'm forced to continue providing a modified m2-b2
release containing a patched jsch library for building projects at work.
--
Ørjan
Brett Porter wrote:
69 matches
Mail list logo