[X] Release Maven2 Findbugs Plugin 1.2.0 using Findbugs 1.3.x and require
Java 5 to run.
On Fri, Mar 14, 2008 at 8:51 AM, Garvin LeClaire <[EMAIL PROTECTED]>
wrote:
> The current version of the Maven2 FindBug plugin (1.1.1) uses Findbugs
> 1.2.0 and the 1.2-SNAPSHOT version uses Findbugs 1.2.
There should normally be an error above that telling you the output from the
compiler.
-Original Message-
From: edward yoon [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 10:50 PM
To: users@maven.apache.org
Subject: Compilation failure
Hi, i'm newbie in here.
I tried maven 2.0
Yes. You need 2.0 and then there are includes/excludes filters. Check
the site, I forget the exact names.
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 9:42 PM
To: users@maven.apache.org
Subject: Copy:unpack
Is there a way to use the unpa
deckrider wrote:
>
> I wasn't able to make this work on Eclipse 3.3 on Linux. I tried
> selecting both /path/to/apache-maven-2.0.8 and
> /path/to/apache-maven-2.0.8/bin with no luck. Is there some trick I
> should use?
There was a bug, that is fixed in the trunk and will be included into the
ne
Hi, i'm newbie in here.
I tried maven 2.0.8 to compile my project, and recived a error message
as describe below. What's wrong with me?
Thanks,
Edward.
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
Benjamin,I applied your patch but I had to change a little bit the test case
to pass it on MacOS and I had to fix the project testcase #10
Can you test the build of the plugin and the plugin iself please ?
It's too late now to launch the release. It will be for tomorrow.
cheers
On Fri, Mar 14, 20
Is there a way to use the unpack dependencies AND process the files on
the way out (filter)?
We wrote a custom plugin but it seems that the configuration declaration
isn't being inherited by the childern of this particular pom.
Is there something special we have to do in our plugin source to pass
this config along?
The current version of the Maven2 FindBug plugin (1.1.1) uses Findbugs
1.2.0 and the 1.2-SNAPSHOT version uses Findbugs 1.2. Since Maven2
requires as a minimum Java 1.4 to run and Findbugs 1.3.x requires Java 5
I think we at at a fork in the rode where I would like some feedback
from users.
Thanks nabcos and benjamin,
I'll apply it before to launch the vote.
In this case the documentation isn't necessary because it is a bug fix,
but I prefer to always ask for it ;-)
Thnaks
Arnaud
On Thu, Mar 13, 2008 at 7:38 PM, Benjamin Bentmann <
[EMAIL PROTECTED]> wrote:
>
> > If you produ
Hi Marcello,
Please raise a jira.
Raphaël
2008/3/13, Marcelo Romulo Fernandes <[EMAIL PROTECTED]>:
> When I try to run:
>
> mvn -X archetype:generate
> -DarchetypeRepository=http://basegen.sourceforge.net/maven2
> -DarchetypeGroupId=org.basegen.plugins
> -DarchetypeArtifactId=basegenapp-mave
Are you running this from the command line? If so, then the inherited
might not apply...that's usually for inheriting the bound config. You
will want to add -N to your command line to tell maven not to recurse.
-Original Message-
From: Tawfik, Sameh E [mailto:[EMAIL PROTECTED]
Sent: Thurs
Aha. Didn't think of that.
Thanks
Adam
Wayne Fay on 13/03/08 20:39, wrote:
You need to run mvn install again, and this time specify -DgeneratePom=true.
Then Maven will make an "empty" pom for the artifact such that it
won't go looking for it when you run mvn.
Wayne
On 3/13/08, Steve Chernyak
Well if I had to do it I would actually have a look in the code of the
maven-help-plugin. Seems like it wouldn't be difficult from there to
implement the plugin you want…
SaM
On Fri, Mar 14, 2008 at 6:40 AM, Chris Patti <[EMAIL PROTECTED]> wrote:
> Folks;
>
> What I want to do is fairly simple.
BWS wrote:
> I exported JAVA_HOME and viola that did the trick very simply.
> I thought It had to be in the pom.xml file.
It can't because the pom.xml is read my maven which itself needs java...
Jan
-
To unsubscribe, e-mail: [
Dan,
Actually Dan the issue here is as follow:
Currently, when the build runs it generates three Eclipse zip files for
the features only, meaning it does not generate zip files for Eclipse
plugins.
So, I follow by manually run the following steps:
1. Unzip Eclipse zip files to generate both
thanks Simon, javac in the path so?
...anyway.
I exported JAVA_HOME and viola that did the trick very simply.
I thought It had to be in the pom.xml file.
thanks again
On Thu, 2008-03-13 at 21:42 +0100, simon wrote:
> On Fri, 2008-03-14 at 21:02 -0800, BWS wrote:
> > hello,
> >
> > I'm going thr
Searching turned up this:
http://jira.codehaus.org/browse/MNGECLIPSE-482
On Thu, Mar 13, 2008 at 10:13 AM, Nick Stolwijk <[EMAIL PROTECTED]> wrote:
> It seems the slashes are reversed. Did the plugin use File.separator or
> a hard coded '\'?
>
> With regards,
>
> Nick S.
>
>
>
> deckrider wro
On Thu, 2008-03-13 at 17:11 +0100, David Delbecq wrote:
> Hello,
>
> i have a question relative to behaviour of maven when there are
> conflicting inherited dependency version. I expected maven to pick-up
> most recent version when presented to having to make a choice. However,
> it seems it j
On Fri, 2008-03-14 at 21:02 -0800, BWS wrote:
> hello,
>
> I'm going through a cocoon tutorial but this is a maven question.
> http://cocoon.apache.org/2.2/1159_1_1.html
>
> jdk1.6 and Maven 2 / fedora8
>
> I've read through a ton of issues with this error.
> "Failure executing javac, but could
You must be able to successfully run "javac" from your command line
before attempting to execute "mvn". Make sure JAVA_HOME is set and
that it is in your PATH. Symlinks should not matter.
Wayne
On 3/15/08, BWS <[EMAIL PROTECTED]> wrote:
> hello,
>
> I'm going through a cocoon tutorial but this is
Is there a way to suppress all the output from unit testing? This stuff...
Running
com.enttek.concessions.homeoffice.service.sync.SyncTypedDataProviderFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running com.enttek.concessions.homeoffice.service.sync.Sy
Hi Adam,
For each dependency, maven needs both a .jar and a .pom file. The .jar
file has the necessary code, and the pom file has the necessary
dependency info.
If you've installed only a jar into your local repository, maven will
still try to find the pom in the global repos.
The easiest soluti
You need to run mvn install again, and this time specify -DgeneratePom=true.
Then Maven will make an "empty" pom for the artifact such that it
won't go looking for it when you run mvn.
Wayne
On 3/13/08, Steve Chernyak <[EMAIL PROTECTED]> wrote:
> Did you try -o? "mvn -o install"
> -o = offline m
hello,
I'm going through a cocoon tutorial but this is a maven question.
http://cocoon.apache.org/2.2/1159_1_1.html
jdk1.6 and Maven 2 / fedora8
I've read through a ton of issues with this error.
"Failure executing javac, but could not parse the error:"
when using jdk 1.4 and switching to 1.5 bu
I specified the inherited element in different places in the plugin body
in the parent pom.xml, but no matter where I set it, it is still running
more than once! It is running for all the children modules?
Should not setting the inherited element to false suppress Maven from
passing this ex
Did you try -o? "mvn -o install"
-o = offline mode.
On Thu, Mar 13, 2008 at 4:17 PM, Adam Hardy <[EMAIL PROTECTED]>
wrote:
> This question has possibly quite an easy answer, I hope.
>
> I manually installed a 3rd party jar into my local repository.
>
> Can I prevent mvn checking the global repos
This question has possibly quite an easy answer, I hope.
I manually installed a 3rd party jar into my local repository.
Can I prevent mvn checking the global repos whenever I run something?
It looks like marking it as scope="system" is one way but I don't want the
hassle of specifying a local
sorry folks, I wrote this plugin for my own work a year ago and
nolonger using it. However
the best way is the understand the ant build process of PDE itself.
There should be an ant property
that you need to enable to generate jar format, and then pass it into
maven PDE.
If you can prove that your
Not that I'm aware of. The easiest solution is to simply unjar and
delete the files from the "bad" jar, then rejar it and mvn install or
deploy it.
Then go complain to the source of this jar about its contents.
Wayne
On 3/13/08, Steven Crosley <[EMAIL PROTECTED]> wrote:
> I have two dependencies
I'm running out of memory during a release:perform while generating javadoc.
Is there any way to specify the maven.javadoc.maxmemory property at command
line during the "mvn release:perform" command?
Thanks
I have two dependencies that contain a class with the same package and
name. Maven won't compile it, because it uses the class that I don't
want it to use instead of the class I do want it to use.
Is there a way to exclude a class in a dependency or set an order of
precedence on dependenci
Hi everyone,
I'm new at Maven, and at first, everything seems pretty
cool. But I'm trying a little something, and I can't get it to work.
I have 1 parent pom.xml, that contains all the informations that are
shared between multiples project. And 1 part of this information is
about t
Folks;
What I want to do is fairly simple. We have a number of destructive unit
tests in our environment that should NEVER be run against production, and I
want to enforce that by attaching a plugin to the validate or initialize
phase that will fail the build if "PROD" is in the current list of a
Rémy Sanlaville wrote:
Hi Dennis
No, it has been closed as "Won't Fix".
What a shame.
Don't you think this feature is not usefull (this issue has 17 Votes...) ?
why ?
Thanks,
Rémy
If you read the comments in that issue you will understand why.
--
Dennis Lundberg
--
Edit mvn.bat and redirect output somewhere using normal batch
file/shell script programming.
I don't know how you would accomplish this with Maven plugins and
doubt it is even possible with 2.0.x.
Wayne
On 3/13/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> One of the "features" of the Ant b
No response == sounds like you guys are treading into uncharted
waters. If you figure it out, please contribute your findings back to
the User list and any code changes etc to the pde-maven-plugin.
Wayne
On 3/13/08, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote:
>
> Hi Jeroen,
>
> Yes unfortunately n
One of the "features" of the Ant build I inherited is the ability to
auto-magically generate date/time stamped log files of the console output.
I'd like to be able to do something like that with the Maven build, but I
haven't been able to find any relevant documentation. Can anyone point me
in
> If you produce a complete patch (code, doc, test) before this evening
Patch has been extended with unit test, please give it a try.
As for the doc: What exactly are you expecting? I mean, the plugin
configuration did not change, the issue is just about complying with the URL
spec.
Benja
If you produce a complete patch (code, doc, test) before this evening
;-)
Well, the patch ist attached
(http://jira.codehaus.org/secure/attachment/33142/javadoc-file-uri.patch),
it is changing one line, and the current junit-test does not even follow the
execution path down that road...
Try
Hi,
I'm having trouble with the scm:checkout goal (M1.1, using the 1.6.1 scm
plugin, Windows XP)
From what I can see my scm url is fine
(scm:cvs:pserver:jshute:[EMAIL PROTECTED]:/home/source:MyModule), but when
it does the checkout it's refusing to use the password I've supplied in
the URL. Inst
Hi Jeroen,
Yes unfortunately no one responded from users@maven.apache.org, so I'm
thinking of using an external process where I can call the exec plugin
to perform the needed tasks. I'm still working on the details so I do
not have a solution yet.
Hopefully someone have a clear idea or know of a
The Maven team is pleased to announce the release of the Maven Javadoc
Plugin, version 2.4.
NOTE: This release has many fixes, but most notably is MJAVADOC-137, which
reverses the aggregation introduced in 2.3. This can and has caused many
issues during releases because the javadoc is included aut
> In my experience, this is a very common attitude though.
Unfortunately.
> For example, the jspwiki project currently under apache
> incubation stores its dependencies in the version-control
> system and will not change. And they are not stupid people;
> it is just the way they like to work.
Hi,
I have read that when there are conflicting versions, maven chooses
the version highest in the dependency tree. If I remember right if
there are serveral version at the same level the choosen version is
randomly one of those 3 (I remember this form etter Bilds with Maven).
Nicole
On 13/03/
Hello,
i have a question relative to behaviour of maven when there are
conflicting inherited dependency version. I expected maven to pick-up
most recent version when presented to having to make a choice. However,
it seems it just take the first inherited version it encounter on the
tree and d
It seems the slashes are reversed. Did the plugin use File.separator or
a hard coded '\'?
With regards,
Nick S.
deckrider wrote:
java.io.FileNotFoundException:
/home/deckrider/apache-maven-2.0.8\bin\m2.conf (No such file or
directory)
at java.io.FileInputStream.open(Native Method)
java.io.FileNotFoundException:
/home/deckrider/apache-maven-2.0.8\bin\m2.conf (No such file or
directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileInputStream.(FileInputStream.java:66)
at org.
Using surefire 2.4.2 corrects my problem.
Sorry.
On Thu, Mar 13, 2008 at 3:49 PM, ben short <[EMAIL PROTECTED]> wrote:
> When I run the following test with maven 2.0.8 and surefire plugin 2.3
> i dont see a surefire.test.class.path system property.
>
> @Test
> public void testIt() {
>
>
When I run the following test with maven 2.0.8 and surefire plugin 2.3
i dont see a surefire.test.class.path system property.
@Test
public void testIt() {
for ( Object property : System.getProperties().keySet() ) {
System.out.print(property + " : ");
System.out
Hi,
What you are trying to do sounds like a very bad idea. It is better
to increase the snapshot version. The common practice is that the
version of a snapshop x.y.z-SNAPSHOT will be released to x.y.z. Your
approach seems to suggest that you will release a new different 2.1.0?
Hopefully maven
If you produce a complete patch (code, doc, test) before this evening
;-)
Arnaud
On Thu, Mar 13, 2008 at 4:01 PM, nabcos <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> we found http://jira.codehaus.org/browse/MECLIPSE-399 here which is quite
> annoying,
> but should be an easy fix. Is there still a
Wayne,
Thanks for pointing this out.
Regards
Ben Short
On Thu, Mar 13, 2008 at 2:39 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> This has come up several times on this list, as recently as a week
> ago, and people have discussed strategies for dealing with it etc. One
> thread in particular you
Hi all,
I'm using maven-release-plugin 2.0-beta-7 to release some artefact.
It worked very very fine for a project that didn't have any SNAPSHOT dependency.
We have to projects A et B that are 2.1.0-SNAPSHOT.
B depends on A.
I just released A-2.1.0-m1 with maven-release-plugin. As this is not a
This has come up several times on this list, as recently as a week
ago, and people have discussed strategies for dealing with it etc. One
thread in particular you will want to read is:
date Mar 5, 2008 5:07 PM
subject java.class.path and the surefire-plugin
For more info, go to Nabble.com and se
Hi,
now that my war is build,
I would like to automatically deploy it on a Tomcat Server.
I tried the Maven Tomcat Plugin:
http://mojo.codehaus.org/tomcat-maven-plugin/
typing: mvn tomcat:run
However, this failed with:
javax.naming.NameNotFoundException: Name yourdatasource is not bound in thi
Add the exclusion to openlaszlo and then ADD BACK the axis:axis
dependency manually in your own pom with whatever version you want to
use.
Wayne
On 3/13/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Well, that's not really an option, as Openlazlo needs axis.
>
> However, on the web, I found:
[EMAIL PROTECTED] wrote:
Well, that's not really an option, as Openlazlo needs axis.
Yes, should have mentioned that: of course you declare the correct
versions of the excluded dependencies (axis etc.) again in your own pom.
Glad to hear you found another solution, though!
Stefan
--
best
I know the tomcat plugin can turn your src/main/webapp into a exploded tomcat
project. So every change to jsp files will be picked up without having to do
anything.
Deploying an in-place WAR directory
To avoid copying resources to the build directory, the webapp source directory
can be deploye
Hi Stefan,
Was not going to ignore your previous response. It just doesn't seem to
be any existing plugin that take a part of your webapp and life copy it
to a test tomcat somewhere. Moreover, that would be an operation outside
of compilation process (it's just a helper script so we don't have
Hi,
we found http://jira.codehaus.org/browse/MECLIPSE-399 here which is quite
annoying,
but should be an easy fix. Is there still a chance getting this into the
upcoming release? :-}
Regards,
Benjamin
>
> no issue found using the latest snapshot with our current devopment
> env. , looking for
Hi,
I'm using maven-embedder (2.1) to analyze dependencies in our POMs.
MavenEmbedder.readProjectWithDependencies() doesn't give me all the
information I'm looking for.
org.apache.maven.shared.dependency.tree.DependencyTreeBuilder looks like a
better fit for my needs. But, how can I construct/ret
Well, that's not really an option, as Openlazlo needs axis.
However, on the web, I found:
>Congratulations, you've run into the Maven Suicide Bug. Sometimes, maven
>>downloads something which it shouldn't and afterwards, it suddenly is unable
>>to resolve version, dependencies, whatever.
There
Can you describe the kind of error you got ?
Jeff MAURY
On 3/13/08, deckrider <[EMAIL PROTECTED]> wrote:
>
> I wasn't able to make this work on Eclipse 3.3 on Linux. I tried
> selecting both /path/to/apache-maven-2.0.8 and
> /path/to/apache-maven-2.0.8/bin with no luck. Is there some trick I
> s
Hi David,
have a look at the plugin lists from maven.apache.org and
mojo.codehaus.org. There you will find a lot of plugins that do
difficult work for you. The antrun plugin is of course good for backward
compatibility, but I think there are better plugins if you just need to
copy a file. Sea
[EMAIL PROTECTED] wrote:
Here's my dependency tree:
[INFO] +- org.openlaszlo:openlaszlo:pom:3.2:compile
[INFO] | +- axis:axis:jar:1.4:runtime (version managed from 1.2.1; scope
managed from compile)
[INFO] | | \- axis:axis-jaxrpc:jar:1.4:runtime
When I try to run:
mvn -X archetype:generate
-DarchetypeRepository=http://basegen.sourceforge.net/maven2
-DarchetypeGroupId=org.basegen.plugins
-DarchetypeArtifactId=basegenapp-maven-plugin -DarchetypeVersion=3.0.0
Why the basegen plugin isn´t downloaded? This command only works when i install
I wasn't able to make this work on Eclipse 3.3 on Linux. I tried
selecting both /path/to/apache-maven-2.0.8 and
/path/to/apache-maven-2.0.8/bin with no luck. Is there some trick I
should use?
On 3/11/08, Brian E. Fox <[EMAIL PROTECTED]> wrote:
> Nice! I stumbled on the ability to use external in
Hi,
On Thu, Mar 13, 2008 at 5:48 PM, MATHUS Baptiste <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> After having some problems with corrupted jars, we recently decided to
> purge all our proxied repository. Before doing that, I switched from
> "fix" to "fail".
> The thing is: as an archiva admin I'd be
Hi,
I am adding some Unit tests to a legacy application before I make any changes.
As part of the tests I start the application. When the application
starts it scans all the classes on the classpath. Unfortunately the
only jar on the classpath is the classworlds.jar due to the way maven
handles d
Here's my dependency tree:
[INFO] [dependency:tree]
[INFO] de.mycompany.myproject:war:2.3.1
[INFO] +- junit:junit:jar:3.8.1:test (scope not updated to compile)
[INFO] +- de.mycompany:myproject2:jar:1.1.5:compile
[INFO] | \- commons-digester:commons-digester:jar:1.6:compile
---
Hi all,
After having some problems with corrupted jars, we recently decided to
purge all our proxied repository. Before doing that, I switched from
"fix" to "fail".
The thing is: as an archiva admin I'd be interested to be noticed about
those artifacts that won't be downloaded.
In fact, since we
I hope top posting is OK...
Sorry, I was a little asleep.
Ad 2) The directory generated is not a structure, but a name:
"com.example.project.artifact"
JeroenL wrote:
>
> Hi,
>
> I'm new to this list, new to maven and new to eclipse plugins (rookie++).
> In my assignment I'm integrating a plu
Hi,
I'm new to this list, new to maven and new to eclipse plugins (rookie++). In
my assignment I'm integrating a plugin into an eclipse richt client.
There are two problems:
1. The maven pde plugin creates a zip file instead of a jar for the eclipse
plugin.I have a jar file in my target director
Furthermore, this feature is more and more added in other tools (so people
ask for it and found that it's an interesting feature).
For instance, just have a look to this post : Linking Check-in Comments to
Issues in Tracker (http://java.dzone.com/news/linking-check-comments-issuesi
).
Rémy
Hi,
I have a problem with repository for Maven 1. The repository install on
IIS and using basic authentication. I have this Ecxeption :
- Attempting to download xxx-commons:1.3.4:jar from
http://212.227.98.204:28080
Error retrieving artifact from [http://xxx.xxx.xx.xx]:
org.apache.maven.wagon.
Hi Dennis
> No, it has been closed as "Won't Fix".
What a shame.
Don't you think this feature is not usefull (this issue has 17 Votes...) ?
why ?
Thanks,
Rémy
Hi,
If your modules are depending upon a SNAPSHOT version of the parent,
then just define this plugin in the parent and the modules will all see
the new definition. Here, you've explicitly chosen configurability over
repeatability.
If your modules are depending on a fixed version of the parent, t
78 matches
Mail list logo