I know they plan to do a simular thing for Maven2, but I have no idea of the
state of the implementation of that. As I understood it, they would put the
source and javadoc location in the pom of Maven2 projects.
2005/9/30, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Hi all,
I've tried the Maven Idea
Hiho List,
maybe someone can give me a hint, problem is (just on windows):
D:\workspace\wiki-parserjava -jar build\lib\WikiParser.jar
Exception in thread main java.lang.NoClassDefFoundError:
org/wyona/wiki/Wiki2XML
The .jar is created with Maven and the interessting part looks like:
30
Hi Andrius,
Thanks for the example earlier, I have now run into another problem, I
filter a resource which gets copied into a target directory, so far so
simple. Then I need to to filter the contents of that directory. I
have attempted to do this with the following code :
build
Hi M2 people,
I am evaluating maven 2 and test-porting
some small projects over to m2 from ant and m1.
I am finding it mostly straightforward
but i can't work out how to tell maven2 that i want to enable asserts.
whenever i compile i just get the error
cannot resolve symbol
symbol : method
Hi,
I am just starting to look at moving one of our projects over to maven
1.1 and am testing out the build on the beta-2 release. There are of
course of few minor issues to sort out; most of which project.xml errors
which were overlooked by 1.0.2 and which I am glad to now notice and
Oliver Schalch said the following on 03.10.2005 10:24:
Hiho List,
maybe someone can give me a hint, problem is (just on windows):
D:\workspace\wiki-parserjava -jar build\lib\WikiParser.jar
Exception in thread main java.lang.NoClassDefFoundError:
org/wyona/wiki/Wiki2XML
Alright I found that
Hi,
I couldnt' find the entry RELEASE in the file services.xml
And my plugin.registry looks correct:
My plugin.registry:
pluginRegistry
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-resources-plugin/artifactId
useVersion2.0-alpha-3/useVersion
I just startet to test M2 2.0-beta-2 and tried to add existing ant build
script tasks to my pom. Can anyone help me out with a correct antrun task
configuration. The only output I get is:
[INFO] [antrun:run]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO]
Hi,
In m2, the maven-source-plugin automatically installs/deploys the
source code to the repo when you install/deploy (assuming you stated
you want to in the pom.xml). Currently, there's a bug in m2 regarding
it, but basically it works. The sources are placed in the repo in the
same dir as the
Ok thanx for the explination. About why the eror is there.
Now can some nice person point me in the right direction to fixing the
problem.
As i understand it there are 2 solutions.
1) pass the parameters
2) don't fork th JVM.
Number 2 seems more dangerous as i don't know the possible sidefects
I
My M2 installation started failing last night because M2 downloaded the
following file's contents from the snapshot repository. Do I have to
upgrade my M2 installation to support this file?
file is the metadata in .m2\repository\surefire\surefire\1.4-SNAPSHOT\
maven-metadata-snapshots.xml
Brett Porter wrote:
Is this the case on different builds? Repeated attempts of the same build?
Looking into this further I would say that it is more like 2.5 times
slower and yes, very repeatable.
Our build is broken down into several steps. The step containing the
bulk of the
On 10/3/05, fenallen [EMAIL PROTECTED] wrote:
Brett Porter wrote:
Our build is broken down into several steps. The step containing the
bulk of the compilation is around 50% slower than with 1.0.2. At the
end of the build is a step containing lots of xlst transformations and
this is very
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 version
(needed for m2 dependency mecanisme). So far I create them by hand,
which
I know this is an Eclipse problem, but I'm wondering if anybody else
using m2 and Eclipse+WTP is seeing this problem, and if they've found
a workaround.
Normally my pom.xml file is associated with the XML editor from the
Web Tools Project (WTP) plugin. However, it seems to get taken over
by the
Thanks for the suggestions Brett. I already have the /lib/endorsed dir
setup in my jdk1.4.2. Unfortunately, our (rather large) codebase is
refusing to compile against jdk 1.5 at the mo.
However
On further investigation, my suspicions point towards the echo tag of
all things.
By
Are you able to hook up a profiler to it?
Unfortunately I am not able to replicate...
- Brett
On 10/3/05, fenallen [EMAIL PROTECTED] wrote:
Thanks for the suggestions Brett. I already have the /lib/endorsed dir
setup in my jdk1.4.2. Unfortunately, our (rather large) codebase is
refusing to
Hello Stephen,
Stephen Duncan wrote:
I know this is an Eclipse problem, but I'm wondering if anybody else
using m2 and Eclipse+WTP is seeing this problem, and if they've found
a workaround.
Normally my pom.xml file is associated with the XML editor from the
Web Tools Project (WTP) plugin.
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 with the WTP editor, it doesn't
recognize it as XML properly, and
Hi
is the preferred way of doing sourceModification from maven 1 in maven 2 to
use filtering
on the source files and compile the target? Or is there a different (better)
method.
Regards
Mark Donszelmann
Stanford Linear Accelerator Center
What i'm really asking is there any effective way to do this with a single
.pom file?
If i use a single .pom file, and I set packagingjar/packaging in it,
when i try
to use artifact:install to install the .war file, it automatically changes
the suffix to .jar
when it deploys.
Same would happen
Could you check which version of java maven is running in?
I haven't been able to reproduce your problem. I'm currently running
Java 5 on Mac OS X and have used the assert keyword. The only thing I
could think of is that you're running maven under jdk1.3, but then I
would have expected an
fenallen wrote:
Thanks for the suggestions Brett. I already have the /lib/endorsed dir
setup in my jdk1.4.2. Unfortunately, our (rather large) codebase is
refusing to compile against jdk 1.5 at the mo.
Try setting the source property of the java plugin to 1.4 (or even 1.3
or 1.2 if you
I've just started to get my hands wet with Maven 2, and I must say I
like what I'm seeing. Just about every headache we currently have with
Maven 1 is addressed to some extent by Maven 2.
One problem we were having around Maven 1 that I'm not too sure about
for the future is the issue of
I really dislike your suggestion for item 1, since that implies that if
I discover a problem with the release build and have to rebuild it, I
have to remember to manually remove the release build from the
repository first.
-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED]
I also had this problem today with jdk 1.4.2_04 complier, but when I added
source1.4/source and target1.4/target to the configuration (as
below) it worked fine for me.
So I can confirm that feature works for me - are you sure maven is using a
1.4 compiler?
Nick
Extranet
[EMAIL PROTECTED] -
Hi,
I'm writing some documentation and would be very interested in an answer
to: What do you think the key benefits of using Maven are?
If anyone has a moment to pop of a list of their top five and mail it to
me that would be most helpful.
--
jvz.
Jason van Zyl
jason at maven.org
Consider that this is outside of the build tool.
I suggest branching to a release codeline for releasing from, when the product
is ready. Your release process sounds formal enough for this (it is usually
easy to be formal enough).
You can also then take care of #2 by having it monitor the
My understanding is that if you are making changes to official release
you really should increment the version (and tag it in CVS/SVN).
Vitaliy
On 10/3/05, Allison, Bob [EMAIL PROTECTED] wrote:
I really dislike your suggestion for item 1, since that implies that if
I discover a problem with
Let me add to this a little if i may.
Even with multiple .pom files, it's still not very easy to do multiple
artifacts.
If the only difference in my artifacts is the file type, I would hope i
could use
the same group and artifact id. However, that doesn't work because if i
first
publish the
Hi all, is it possible to install Maven in a Network drive? I would like to
install Maven in a shared drive to be used by all MsWindows computers of all
developers in the company's network.
At least, I would like all developers to use the same local repository. To do
this, I would like to move
Unless, of course, the problem wasn't the code but that it was packaged
incorrectly. In this case, I am only correcting the packaging, not the
release.
-Original Message-
From: Vitaliy Geraymovych [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 11:28
To: Maven Users List
That's correct (because if someone has already downloaded the bad
release they'll never get the good one). The need to replace an
official release build should be happening so infrequently that having
to manually clear it out before building is not an undue burden. It's
definitely worth that to
Hi Kai,
I have the same conf as you, except that my Ant call is :
ant antfile=build.xml/
because I call the default task as defined in build.xml :
project name=build default=gen
... and things go well.
If you get [INFO] Executed tasks, then you get to execute the antrun
plugin. What do
The release process is formal enough, but I really don't want to create
branches for every release. The tagged code should be enough, allowing
branching only when patches need to be made for previous releases.
Creating a branch for the official release also makes it extremely
tedious for our
Hi Ashley,
There may be a JAXB plugin that I'm unaware of ??
There is an Axis WSDL2Java plugin at mojo.codehaus.orghttp://mojo.codehaus.org
.
I have also written a WSDL2Java plugin that actually just offloads to an Ant
build file to do all of the work. You could easily canibalize my work for
JAXB.
Sorry, I wasn't clear...
Don't create a new branch for _each_ release (you are very correct that that
would be very tedious and completely silly!). Create them only for significant
releases, e.g. release 2.0, and merge into it at each release time - reuse it
for 2.0.1, and on.
Then you would
This is a strange one. We have been using maven for about two years now. As
of today when one of my developers issues the command:
maven -X wb:update
He gets this output:
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Stephen Duncan wrote:
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 with the WTP editor, it doesn't
recognize
There's no way you can avoid forking the JVM for jcoverage, it has to
be forked. You just need to pass the parameters.
On 10/3/05, Christoffer Sjöquist [EMAIL PROTECTED] wrote:
Ok thanx for the explination. About why the eror is there.
Now can some nice person point me in the right direction
When is the beta-3 goint to be realeased??
cheers,
erick.
Brett Porter wrote:
.. fixed in SVN for the beta-3 release.
On 10/3/05, Brett Porter [EMAIL PROTECTED] wrote:
It's a bug. The aggregator isn't forking the package goal first as it should.
I will fix it shortly.
- Brett
On
Hi,
I am having the following issue with the Antlr plugin and Maven
1.1-beta2: the Antlr plugin runs OK for my Antlr sources when run from
the sub-project directory that has the Antlr sources, however, when
the sub-project is build from the top level project via a m:reactor
tag, the
Hi All,
I installed Tomcat 5.5.9 and Sakai 2.0.1
with Maven 1.0.2. The build of Sakai by Maven resulted in Building Successful.
But when I started the Tomcat manager, most of the Sakai applications can't run;
in the Running status, they're indicated as False. What causes this? What can I
Hi Nelson,
Did you ever get a decent answer on your question?
I've been trying to figure out how to do this myself as well, but I
haven't really found a solution yet. Maven (m2) itself uses multiple
project files, but the Maven source code exists in a SVN repository. I
haven't actually used CVS
off-topic
Hi Ashley,
FWIW, given that (it sounds like) you are at the beginnings of hatching a
data model (or rather a data-transfer-object model) -- I would highly
recommend using WSDLs as teh primary artifact over XSDs (since you say this
is for web services). WSDLs are an IDL -- where XSDs are
I have a set of 'third-party' jars that are all part of a library
developed in-house. Most of the projects I work on use all of the
jars from this library, so I put together a simple POM that depends on
all of them. I then add this POM as a dependency of my project:
dependency
Hi,
I'm trying to create a pom.xml that copies the project dependencies to
a folder inside the target folder.
I've tried using maven-antrun-plugin but I can't figure out how to
write the copy task since I can't access the dependencies. Is there a
way to know what expressions I can use inside the
off-topic
At the moment I'm just looking at code gen so it's interesting that
you recommend xmlbeans over jaxb -
do you have any links that compare the two? I'd love to know about
these warts.
You're right about centering on something like wsdl, but
I have to start somewhere!
wsdl2java
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
We've sort of informally identified this as a need already, and I've
started writing an API that will help with this. Ideally, the user would
be able to issue something like:
m2 projecthelp:supported-parameters -DparameterPattern=project.*
and have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sounds like a bug in the maven-eclipse-plugin...can you file a jira at
http://jira.codehaus.org/Browse/MNG and make sure you specify it as
being a problem with the eclipse plugin? It should be in the modules list.
Thanks,
john
Daniel Krisher
I am starting to look into building a plugin which will allow mock
objects (and other classes which are used for testing projects which use
the current project) to be built and packaged. I am looking at making a
tree called src/usagetest which mirrors src/main and src/test in
structure and usage.
I'm writing a plugin that needs to call java -jar in the execute
method. Is there an api I should use as I don't wish to use the java
Runtime class to do this. I've had a look at the compiler plugin
thinking that it might give me a clue (maybe by invoking javac), but
it just delegates to
Just to give a little more context I'm writing a plugin that simply
invokes java -jar jaxb-xjc.jar myschema, hopefully specifying
which java vm to use, eg Java 5 or Java 4. Just a simple one liner
plugin really.
On 3 Oct 2005, at 23:26, Ashley Williams wrote:
I'm writing a plugin that
The buildnumber value in the maven-metadata.xml file for plexus-ftpd at
http://snapshots.maven.codehaus.org/maven2/plexus/plexus-ftpd/1.0-SNAPSHOT/
http://snapshots.maven.codehaus.org/maven2/plexus/plexus-ftpd/1.0-SNAPSHOT/
is incorrect. It should be 3 instead of 2.
metadata
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You might give commons-exec a spin...
- -john
Ashley Williams wrote:
| I'm writing a plugin that needs to call java -jar in the execute
| method. Is there an api I should use as I don't wish to use the java
| Runtime class to do this. I've had a
fixed.
On 10/4/05, dohadwala, moiz [EMAIL PROTECTED] wrote:
The buildnumber value in the maven-metadata.xml file for plexus-ftpd at
http://snapshots.maven.codehaus.org/maven2/plexus/plexus-ftpd/1.0-SNAPSHOT/
http://snapshots.maven.codehaus.org/maven2/plexus/plexus-ftpd/1.0-SNAPSHOT/
is
On 10/4/05, fenallen [EMAIL PROTECTED] wrote:
I don't have too much experience with profiling although I have managed
to get it running in JProfiler. I have an html output of the call tree
which I can send directly to your email address if you like. I am
assuming I cannot/should not attached
On 10/4/05, Roberto Castro [EMAIL PROTECTED] wrote:
Hi all, is it possible to install Maven in a Network drive? I would like to
install Maven in a shared drive to be used by all MsWindows computers of all
developers in the company's network.
Yes, this should work just fine.
At least, I
Can you kill -3 it to get a stack trace?
Best guess: connection hang to ibiblio? Generally there is other
output before that though.
- Brett
On 10/4/05, Jon Strayer [EMAIL PROTECTED] wrote:
This is a strange one. We have been using maven for about two years now. As
of today when one of my
On 10/4/05, Allison, Bob [EMAIL PROTECTED] wrote:
I am starting to look into building a plugin which will allow mock
objects (and other classes which are used for testing projects which use
the current project) to be built and packaged.
I thnk John Fallows is already working on this - you
John,
I'd much rather we just had a document that list these (can be
generated from modello, if needed).
- Brett
On 10/4/05, John Casey [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
We've sort of informally identified this as a need already, and I've
started
inline,
cheers,
-- Chris
BTW: if you need to followup -- we should probably take the discussion
offline ;-)
([EMAIL PROTECTED])
On 10/3/05, Ashley Williams [EMAIL PROTECTED] wrote:
off-topic
At the moment I'm just looking at code gen so it's interesting that
you recommend xmlbeans over jaxb
Hi,
Browsing the ibiblio repository I noticed that poms have been uploaded for a
number of sun libraries i.e javax.ejb, javax.naming, but no jar files have
been uploaded. I understand that sun jar files cannot be hosted on ibiblio
due to licensing issues, but why are the poms placed up there?
On 10/4/05, Robert Biernat [EMAIL PROTECTED] wrote:
Hi,
Browsing the ibiblio repository I noticed that poms have been uploaded for a
number of sun libraries i.e javax.ejb, javax.naming, but no jar files have
been uploaded. I understand that sun jar files cannot be hosted on ibiblio
due to
What Brett suggests below is exactly what we do, and it works great.
We use mavenproxy from codehaus as the 'internal remote repo'.
On 10/4/05, Brett Porter [EMAIL PROTECTED] wrote:
On 10/4/05, Roberto Castro [EMAIL PROTECTED] wrote:
Hi all, is it possible to install Maven in a Network drive?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
that's the third part of the puzzle. I've already turned this stuff into
a modello model, and there is a class called ExpressionDocumenter in
maven-core/o.a.m.usability.plugin which will load the documentation
docs. We could simply generate doco from
Hi,
The jar tool is located in the tools.jar archive. Try something like
sun.tools.jar.Main jarTool = new sun.tools.jar.Main(System.out,
System.err, jar);
jarTool.run(new String[]{cfm, new-archive.jar, myManifest.mf});
Ørjan
Ashley Williams wrote:
Just to give a little more context I'm
67 matches
Mail list logo