Hi Arun,
Thanks. It sounds like a great plugin.
I've just tried it on Maven 1.1 and it fails because of errors in its POM.
More specifically you must remove the id element in the contributor
section.
I've tried to report this big on java.net but couldn't find a way to enter a
bug... I've
Hi all!
imagine I have a project structure just as follows:
/app
/module1
/module2
...
/moduleN
pom.xml
and pom.xml contains references to all of those modules:
...
modules
modulemodule1/module
modulemodule2/module
...
modulemoduleN/module
/modules
...
Is there any
Not presently, but there is an open issue.
- Brett
On 9/23/05, Pablo Muñiz [EMAIL PROTECTED] wrote:
Hi all!
imagine I have a project structure just as follows:
/app
/module1
/module2
...
/moduleN
pom.xml
and pom.xml contains references to all of those modules:
...
Folks,
I've created a custom compiler mojo that extends AbstractCompilerMojo
from the maven-compiler-plugin.
However, at runtime, I'm getting a NPE in
AbstractCompilerMojo.execute() because the compilerManager is null.
The AbstractCompilerMojo has a special comment for compilerManager.
/**
On 9/23/05, John Fallows [EMAIL PROTECTED] wrote:
This looks like some special indicator to instantiate compilerManager,
but it doesn't appear to get instantiated during my custom plugin
execution, probably because the relevant metadata is in the
maven-compiler-plugin JAR, not my custom plugin
When I upgraded to the beta version, the filtering of resources
specified in my pom stopped working.
I found this on jira http://jira.codehaus.org/browse/MNG-788 which
indicated that there had been improvements to resource filtering.
My filtering uses profiles and is set up as follows:
On Thu, 2005-09-22 at 22:56 -0400, Daniel Krisher wrote:
I have been getting the following exception using the maven-jxr-plugin
Please take questions about plugins from the mojo projects on the mojo
users list[1].
[1]: http://mojo.codehaus.org/mail-lists.html
--
Trygve
Hi,
Maybe this was touched before, but can not find it in the mailing list.
Made a plugin and specified version 1.0. Then simply it deployed m2
deploy
When I try to use it, maven keeps looking for a RELEASE version.
How do I tell that version 1.0 is a RELEASE version. Something to specify
I' having the following error when trying to run the site goal (the
following stack-trace was from building the subproject directly,
althought i have the same error for the multiproject):
[echo] Generating the Change Log...
maven-changelog-plugin:report:
[echo] Generating the changelog
Interesting but my attempts to run it fail with
java.lang.ClassNotFoundException: Class not found:
javax.ejb.EnterpriseBean
Perhaps a dependency is missing from the project.xml?
One also wonders why that class is needed as well. EJB seems pretty far
afield for this sort of tool. Could that
Dear All,
Please let me know any suggestion to solve the below issue.
Thanks for your help and co-operation
Regards and Thanks,
Narayanan Devanathan
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
- Forwarded by Narayanan Devanathan/CHN/TCS on
I' having the following error when trying to run the site goal (the
following stack-trace was from building the subproject directly,
althought i have the same error for the multiproject):
[echo] Generating the Change Log...
maven-changelog-plugin:report:
[echo] Generating the changelog
I' having the following error when trying to run the site goal (the
following stack-trace was from building the subproject directly,
althought i have the same error for the multiproject):
[echo] Generating the Change Log...
maven-changelog-plugin:report:
[echo] Generating the changelog
This is a bug in beta-1 :
http://jira.codehaus.org/browse/MNG-916
--- Andrius Karpavicius [EMAIL PROTECTED] a écrit :
Hi,
Maybe this was touched before, but can not find it in the mailing list.
Made a plugin and specified version 1.0. Then simply it deployed m2
deploy
When I try
Hi all;
i m developing a framework and i have some services in.
i want to use maven inorder to chose witch service to be included
in my generated framework jar.
exeample :
framework.services :
log
security
fulltext
sorry to invade ur post, but I can't send emails to the email list :(
On 23/09/05, Marouane Amraoui [EMAIL PROTECTED] wrote:
Hi all;
i m developing a framework and i have some services in.
i want to use maven inorder to chose witch service to be included
in my generated framework jar.
I' having the following error when trying to run the site goal (the
following stack-trace was from building the subproject directly,
althought i have the same error for the multiproject):
[echo] Generating the Change Log...
maven-changelog-plugin:report:
[echo] Generating the changelog
Hi Jesse,
I happen to try and use the extension mechanism for the antrun-plugin. The ant
script I'm trying to run contains regexpmapper tags, so I need ant:ant-nodeps
to be available to the plugin (if I add this dependency to antrun-plugin's POM,
it's working).
A few days ago, Kenney told me
Hi,
Add filteringtrue/filtering parameter in resources descriptor
build
resources
resource
targetPath../filtered-webapp-resources/targetPath
filteringtrue/filtering
directory${basedir}/src/main/webapp/directory
/resource
/resources
Andrius
Tony
D'oh!
Cheers,
-Ralph.
On 23.09.2005, at 01:00, Brett Porter wrote:
JDK 1.4? :)
- Brett
On 9/23/05, Ralph Pöllath [EMAIL PROTECTED] wrote:
Hi,
I'm happily using geronimo-spec:geronimo-spec-jta instead of
javax.transaction:jta and I'm wondering if there's a replacement for
jdbc:jdbc
I don't think I can safely determine which part of the filename is the
artifact and which part is the version number. Only maven knows that,
so I think the m2 ant tasks need something more flexible than filesetId.
Dave
Brett Porter wrote:
Hi Dave,
Sounds like a question for the Ant list :)
Hi,
since deployment via scp is broken for me in beta-1, is there a
possible alternative, like sftp or ftp?
Maybe I'm lacking sleep or caffeine, but I just cannot find any
documentation on this.
Cheers,
-Ralph.
On 22.09.2005, at 12:45, Ralph Pöllath wrote:
On 22.09.2005, at 11:53,
hi
I'm working in a project and I'd like to build not only the jar but
also to run xdoclet, is there any plugin that performs both tasks?
thanks in advance,
edgar
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
there is 2 plugin for this :
http://maven.apache.org/reference/plugins/jar/
http://xdoclet.sourceforge.net/xdoclet/maven-plugin.html
2005/9/23, Edgar Poce [EMAIL PROTECTED]:
hi
I'm working in a project and I'd like to build not only the jar but
also to run xdoclet, is there any plugin that
I'm going to move this off-list, as the emails are getting lengthy. If
you've been following this, let me know and I'll copy you on my
responses.
..David..
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 4:23 PM
To:
I've cobbled together a working instance of Maven 2 running the new
maven-xdoclet-plugin running Xdoclet 1.x's hibernatedoclet task to
generate the Hibernate HBMs. Since there's next to no docs, here it is
for anyone who needs it. Kenny, feel free to add it to your docs on
neonics.com:
build
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
try the following:
m2 deploy -DupdateReleaseInfo=true
This will prompt maven to update the release metadata for that artifact,
~ and *should* result in the plugin being found. You might need to remove
the plugin from the plugin-registry.xml...but
Hi list,
I'd like to modify some existing pom property (declared in the property tag in
project.xml) from a maven.xml script. How can I achieve this?
I've tried things like pom.getProperties().setProperty(), or
pom.setProperties(pom.getProperties().setProperty()) or pom.context.setVariable
there is way to specify multi source directory in maven project :
example my source files :
1.frwk1/src/java
2.frwk2/src/java
i want make only one project maven and only one artifact frwk.jar that containe
both source frwk1 and frwk2.
thanks in advance.
Thanks for reporting.
I have netered this issue in java.net
https://maven-plugins.dev.java.net/issues/show_bug.cgi?id=1
I will check and fix it.
regards,
Arun
Interesting but my attempts to run it fail with
java.lang.ClassNotFoundException: Class not found:
javax.ejb.EnterpriseBean
Yes,
http://sourceforge.net/forum/forum.php?thread_id=1319514forum_id=207669
I requested in sourceforge and waitied for a month for the admins to
respond. Also reminded them a couple of times but never heard back from
them. I worked on this plugin for my requirements and wanted to share with
the
Sorry about that, I personally never noticed that message among the
tons of emails I get.
If you wanna move to SF tell me and I'll setup your account.
On 9/23/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Yes,
http://sourceforge.net/forum/forum.php?thread_id=1319514forum_id=207669
I
Yes,
It would be a good idea to keep them all in one place.
I would like to move the next version to SF with other plugins.
regards,
Arun
Sorry about that, I personally never noticed that message among the
tons of emails I get.
If you wanna move to SF tell me and I'll setup your account.
On
Ok, your account is ready
On 9/23/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Yes,
It would be a good idea to keep them all in one place.
I would like to move the next version to SF with other plugins.
regards,
Arun
Sorry about that, I personally never noticed that message among the
I concur with Arnaud, the best way is to have a internet connection so Maven
can get fresh stuff from remote repositories.
In your particular case Kumar the jar you need in your repo is:
commons-jelly-tags-interaction-20030211.143817.jar
The script is telling you that at the end. If you keep
Hi,
I agree with Trygve, it should be better to have something like that
offlineLinks
offlineLink
*extdocURL*http://java.sun.com/j2se/1.4.2/docs/api/*/extdocURL*
*packagelistLoc*my/local/path/to/package-list*/packagelistLoc*
/offlineLink
offlineLink
*extdocURL*...*/extdocURL*
Hi,
I'm in the process of moving a project into Maven 1.1 from Ant, but I've
been having some trouble with my unit tests.
My unit tests feed various files into my classes and check the output.
With Ant, I put the files in a directory, put that directory in the
classpath, and then used
[Using Maven 1.1-beta-2]
I'm trying to use SNAPSHOT to get the latest version of an internally developed
JAR from our in-house remote repository . It appears to work (I.e. I do end up
with the latest version), but not without dumping a number of errors to the
screen about how it can't find my
The first repository might not have the latest snapshot... though in
your case it probably would. But in general all repos have to be
searched for the latest.
I would personally recommend setting up Maven-Proxy to handle your local
repository needs as well as for your remote repositories. As if
I'll look into that. Is there a good pointer to documentation or a sample
config you can get me started with?
K.C.
-Original Message-
From: Jason Dillon [mailto:[EMAIL PROTECTED]
Sent: Friday, September 23, 2005 11:18 AM
To: Maven Users List
Subject: RE: How are SNAPSHOT dependency
The default config props are documented quite well.
http://maven-proxy.codehaus.org
Should be trivial to get the standalone version up and configured ;-)
Then just use it as your single maven.repo.remote.
Cheers,
--jason
-Original Message-
From: KC Baltz [mailto:[EMAIL PROTECTED]
Do you mean the resource files aren't getting put into
target/test-classes or that target/test-classes isn't in the classpath?
If the resource file is in a subdirectory of src/test/resources, then
your filename in the test code will need to include the subdirectory
name.
..David..
Jason, maven-proxy has not be actively developed for approximately 18
months now (at least JIRA has not been touched since then). There does
not appear to be a way to start maven-proxy as a windows service. It
has a webapp version (so you could run tomcat/jetty as a service) but it
does not
Ya, I know... they should really start working on it again. Anyways,
we have been using it for months with no problems. We are using the
WebApp version w/JBoss 4 Apache w/mod_jk... but that is probably
overkill for what you need.
You can always use javaservice (er something) to run
Sorry this may be old news but, but I am wondering if Maven 2 has plugin
classloader seperation to avoid this? I'm scared of what the answer
might be ;)
-Peter
Brett Porter wrote:
I don't think this is a specific bug as much as it might be a weird
combination of dependencies that clash.
On Fri, 2005-09-23 at 16:49 -0300, Peter Lynch wrote:
Sorry this may be old news but, but I am wondering if Maven 2 has plugin
classloader seperation to avoid this? I'm scared of what the answer
might be ;)
In m2 plug-ins are actually executed from their own Plexus child
container which has
I noticed that the artifacts attribute of my plugin configured with
parameter expression=${project.artifacts}
did not get initialized with current project dependencies when the
plugin ran in the process-resource phase.
When run in the compile phase it got initalized with the expected result.
On Fri, 23 Sep 2005, Mike Perham wrote:
Hi,
I thought the site documentation was clear enough, but I'll review and
incorporate this example - thanks.
Btw, for people using maven 2.0-beta-1: there's been a 'release'
of the maven-xdoclet-plugin 1.0-alpha-1 which uses the correct
dependencies.
What utilities or plugins does maven have that would allow me to deploy a
3rd party jar to an internal repository; so that it is deployed in the
correct repository layout and all the required metadata and hash files are
created?
-Moiz
Er.. Forgot to mention that I am looking at m2.
-Moiz
-Original Message-
From: dohadwala, moiz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 23, 2005 1:38 PM
To: 'Maven Users List'
Subject: deploying 3rd party jars
What utilities or plugins does maven have that would allow me to
Not that I know of. Instead, I would just put the valid.xml file
directly into src/test/resources instead of the XML subdirectory. Then
you shouldn't have to put a path at all.
..David..
-Original Message-
From: Alex Wood [mailto:[EMAIL PROTECTED]
Sent: Friday, September 23, 2005
I'm doing some research on migrating to Maven from our ant project
structure, or just adding Ivy. The problem comes that I've never seen a
project in Maven such as ours. We have a product for 10 clients, with a
potential client base of about 20. Unfortunately, while it uses a base API,
each
On Fri, 23 Sep 2005, Eric Biesterfeld wrote:
You're pretty much set up for maven use, except for the 'overlay' system.
I'll demonstrate using maven2.
I see:
/base/pom.xml - base project
/base/client/pom.xml - grouping project for all clients, has parent ../pom.xml
/base/client/X/pom.xml -
Yes, you should add @requiresDependencyResolution to your tags.
On 9/24/05, Orjan Austvold [EMAIL PROTECTED] wrote:
I noticed that the artifacts attribute of my plugin configured with
parameter expression=${project.artifacts}
did not get initialized with current project dependencies when the
To add a bit of detail for a volunteer to submit as documentation... :)
m2/core/boot is what is in the java classpath (ie, just classworlds,
which constructs classloaders for the rest of the system)
the top level classloader contains plexus container and plexus utils
(see m2/core), and also has
I see. Please file a feature enhancement (it won't be in 2.0, sorry).
Basically, filesetId references the local repository directory, so it
will need to be something that:
1) produces a reference to all the artifacts downloaded for use later
2) can be used as a mapper in association with the
Is it worthwhile publishing a few documents that show how various
project types would be set up for m2, like this?
- Brett
On 9/24/05, Kenney Westerhof [EMAIL PROTECTED] wrote:
On Fri, 23 Sep 2005, Eric Biesterfeld wrote:
You're pretty much set up for maven use, except for the 'overlay'
Hi, Rafale
I'm a netbeans user and got hyped when Johnny Ruiz showed me what your
mojo can do. Nice work!
I have one request, though, before I can use it, if you don't mind. :D
Is it possible to specify the Netbeans project location and project
folder (as you would when creating a new
Yes? :)
Perhaps this isn't the best example, because it's really a bad design due to
poor requirements gathering. However, a case study of a well-designed
3-client application would be useful.
In fact, this is not an uncommon problem for consulting companies. They get
a contract with one
On 9/23/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Fri, 2005-09-23 at 08:03 +, John Fallows wrote:
I've created a custom compiler mojo that extends AbstractCompilerMojo
from the maven-compiler-plugin.
Is there a special reason for this? We where hoping that a new Compiler
I have some base TestCase classes under src/test/java that are being
executed during the test phase.
This seems unexpected because their names do not match the default
includes pattern of **/*Test.java.
One example could be src/test/java/org/example/ExampleTestCase.java.
Kind Regards,
John
Test*.java and *TestCase.java were added to the default list in
earlier releases.
- Brett
On 9/24/05, John Fallows [EMAIL PROTECTED] wrote:
I have some base TestCase classes under src/test/java that are being
executed during the test phase.
This seems unexpected because their names do not
On 9/24/05, Brett Porter [EMAIL PROTECTED] wrote:
Test*.java and *TestCase.java were added to the default list in
earlier releases.
In that case, would it be useful to enhance the test discovery
algorithm to not attempt to execute abstract testcase classes?
Kind Regards,
John Fallows.
-
How does the sources plugin realize that it is part of a snapshot
build, and therefore not generate a sources JAR?
I didn't notice anything obvious in the source code for the Mojo at
It only does so when the release profile (see the root POM) is activated.
- Brett
On 9/24/05, John Fallows [EMAIL PROTECTED] wrote:
How does the sources plugin realize that it is part of a snapshot
build, and therefore not generate a sources JAR?
I didn't notice anything obvious in the
Yes, there is an open issue for that. However, you can also name it
Abstract*TestCase, which is excluded.
- Brett
On 9/24/05, John Fallows [EMAIL PROTECTED] wrote:
On 9/24/05, Brett Porter [EMAIL PROTECTED] wrote:
Test*.java and *TestCase.java were added to the default list in
earlier
66 matches
Mail list logo