[ANN] Release Maven Findbugs plugin version 2.2

2009-11-20 Thread Garvin LeClaire
The Findbugs Maven plugin team is pleased to announce the release of version 2.2. FindBugs uses static analysis to inspect Java bytecode for occurrences of bug patterns. You can see more about the plugin att: http://mojo.codehaus.org/findbugs-maven-plugin/2.2/ You can find release notes f

Re: How do I prevent maven from searching my own artifacts in public repositories ?

2009-11-20 Thread Yoav Landman
Yes, Artifactory supports filtering with include/exclude patterns for both proxied and hosted repositories. On Fri, Nov 20, 2009 at 12:55 PM, Anders Hammar wrote: > I think that the battle today is between Nexus and Artifactory. Archiva has > a few features that Nexus for instance lacks, but the

[ANN} Signatures of Java Runtimes for use with Animal Sniffer released

2009-11-20 Thread Stephen Connolly
The Mojo team is pleased to announce the release of a number of signatures of various versions of the Java Runtime for use with the Animal Sniffer set of utilities. The following signatures have been released: Generic Signatures (only includes public API classes) * Java 1.4 (http://mojo.codehaus

RE: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-20 Thread Jamie Whitehouse
Yes, thanks for clarifying Brian. Jon, I'm still wondering why you're adverse to running mvn clean install? -Original Message- From: Jonathan Gold [mailto:jgold...@gmail.com] Sent: Friday, November 20, 2009 4:26 PM To: users@maven.apache.org Subject: Re: Why would 'mvn dependencies:tree

Re: Does Maven download jars every time it does any thing?

2009-11-20 Thread Wendy Smoak
On Fri, Nov 20, 2009 at 2:26 PM, chicagopooldude wrote: > Thanks Brian but home i see downloading downloading every time i do some > thing as this is not the first time i am doing this. is there any way we can > disable this atleast visually? Paste a small section of the build log so someone can

Re: Does Maven download jars every time it does any thing?

2009-11-20 Thread chicagopooldude
Thanks Brian but home i see downloading downloading every time i do some thing as this is not the first time i am doing this. is there any way we can disable this atleast visually? -- View this message in context: http://old.nabble.com/Does-Maven-download-jars-every-time-it-does-any-thing--tp264

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-20 Thread Jonathan Gold
Brian -- Thanks for this. I did run the combo 'mvn compile dependency:tree' as you mention below, and it works. What I'm taking away from this is that dependency:tree will work if it's part of the *same* mvn invocation as something like compile, which forces maven to do the resolution of the local

Re: ejb-jar plug-in - Can we add dependency jars to ejb-jar.jar

2009-11-20 Thread rajendar.medishetty
In my current project, they use ant and pack all the jars inside the ejb-jar.jar. Now, they are thinking of migrating to maven from ant, but still want to pack the jars inside ejb-jar.jar. Is there anyway to do this without exploding the dependencies into my jar. Other way is to keep the jars in

Re: Putting a Release in the Repository

2009-11-20 Thread Brian Fox
Sounds like your scm urls aren't right and the perform goal is checking out the wrong folder. There should be a pom.xml for the thing you're trying to release in /target/checkout/ On Thu, Nov 19, 2009 at 2:43 PM, Neil Chaudhuri wrote: > I have done those things, but I get the following error: > >

Re: Does Maven download jars every time it does any thing?

2009-11-20 Thread Brian Fox
No it doesn't. They are stored in your local repo. Snapshots are checked once a day for updates. If however you are using something that doesn't have a pom, then it will try everytime looking for it. On Fri, Nov 20, 2009 at 3:52 PM, chicagopooldude wrote: > > I understand that local repos need to

Re: Does Maven download jars every time it does any thing?

2009-11-20 Thread David Hoffer
No, if it's already in your local repo it will not download it again. -Dave On Fri, Nov 20, 2009 at 1:52 PM, chicagopooldude wrote: > > I understand that local repos need to have all the dependency jars first > time > but does maven really download jars every time I do compile,install etc. > Cau

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-20 Thread Brian Fox
This isn't exactly true. First, lets take a look at the stack trace: -- 1 required artifact is missing. for artifact: com.example:mod_b:jar:1.0 from the specified remote repositories: mynexus (http://192.168.101.21:8081/nexus/content/groups/public) at org.apache.maven.artif

Does Maven download jars every time it does any thing?

2009-11-20 Thread chicagopooldude
I understand that local repos need to have all the dependency jars first time but does maven really download jars every time I do compile,install etc. Cause the info messages seem to suggest some thing like that? -- View this message in context: http://old.nabble.com/Does-Maven-download-jars-eve

RE: [WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Ludwig Magnusson
Great! It works now. Thanks very much, I was worried there for a while =) /Ludwig -Original Message- From: Joe Hindsley [mailto:jhinds...@gmail.com] Sent: den 20 november 2009 20:57 To: Ludwig Magnusson Cc: 'Maven Users List' Subject: Re: [WAR-plugin] Can I put my resources in their origi

Re: [WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Joe Hindsley
Ludwig, I think I misunderstood what you were asking in the original email. Let me try again... If I understand correctly, you want to keep the 'external' resource directory name in the root of the war instead of copying it's contents to the root of the war. This can be accomplished by addin

RE: [WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Ludwig Magnusson
But the problem is that I configure my webapp with property files. Some properties point to other files. Won't those links be wrong in any case since the files will be in a new directory? I suppose I could use separate configurations for development and live but it seems like a lot of work. I don't

Re: "[WARNING] POM is invalid." error messages in Maven 2.2.1 but not in 2.0.10

2009-11-20 Thread Brian E. Fox
Maybe 2.2.2 will fix it. =) Not likely. The pom is plain wrong an it was a bug in 2.x which allowed it to go unnoticed. On Fri, Nov 20, 2009 at 3:42 PM, Brett Randall wrote: http://jira.codehaus.org/browse/MNG-4379 ... or did your team log that :). On Fri, Nov 20, 2009 at 2:59 PM, E

Re: Custom Archetypes: Creating empty directories

2009-11-20 Thread Matthew Runo
http://jira.codehaus.org/browse/ARCHETYPE-57 gives an example of how to do this. Thanks for your time! Matthew Runo Software Engineer, Zappos.com mr...@zappos.com - 702-943-7833 On Nov 19, 2009, at 11:37 PM, Richard Hauswald wrote: > Hello list, > I'm trying to create a custom archetype. All is

[ANN] JBoss Packaging Maven Plugin 2.1.1 Released

2009-11-20 Thread Paul Gier
The Mojo team is pleased to announce the release of the JBoss Packaging Maven Plugin version 2.1.1. http://mojo.codehaus.org/jboss-packaging-maven-plugin/ This release includes some minor bug fixes and updates to the plugin site. To get this update, simply specify the version in your project's

Re: [WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Joe Hindsley
Hi Ludwig, I would recommend putting those directories and files in the src/main/webapp directory. The maven war plugin puts everything under src/main/webapp into the base of the war. In your case: src/main/webapp/external-resource.jpg src/main/webapp/image2/external-resource2.jpg would giv

[WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Ludwig Magnusson
The first example on this page http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-w ebresources.html says that resources outside the src folder will be placed in the root of the w

[ANN] Maven Plugin Testing 2.0-alpha-1 Released

2009-11-20 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Plugin Testing, version 2.0-alpha-1. This harness assists in creating unit or integration tests for Maven plugins. See the component's site for more details: http://maven.apache.org/plugin-testing/ This new version of the harne

Resources in source folder

2009-11-20 Thread Martin Seebach
Hi, I have an Eclipse-project that are managed with Maven2. This project depends on resource-files in the source-folders (HTML-files, it's a Wicket project), but recently Eclipse stopped copying those files to the target automatically. Project properties->build path->source folders for the relevan

Re: Urgent-kindly help in installing maven assembly plugin

2009-11-20 Thread Anders Hammar
Does any maven command work? Like mvn compile ? My guess would be that the proxy configuration isn't correct. Talk to your network/firewall/proxy staff. Also, executing mvn install -X would give you debug output. /Anders On Fri, Nov 20, 2009 at 12:45, Dipankar Das wrote: > -- Forwarded

Fwd: Urgent-kindly help in installing maven assembly plugin

2009-11-20 Thread Dipankar Das
-- Forwarded message -- From: Dipankar Das Date: Fri, Nov 20, 2009 at 3:31 AM Subject: Urgent-kindly help in installing maven assembly plugin To: bri...@apache.org, br...@apache.org Dear Sir, I am using both of the following packages (apache-maven-2.2.1-bin apache-maven-2.0.10-b

Re: Alternative output directory for javadocs

2009-11-20 Thread Sebastian Hoß
On Fri, 20 Nov 2009 12:03:26 +0100 Gajo Csaba wrote: > The example from the website worked fine for me, it placed the > javadocs into an alternative directory, though maybe I didn't > understand what exactly you're trying to archive. > Well I simply wanted to change the default javadoc location

Re: findbugs-plugin: Premature end of file.

2009-11-20 Thread Bruno Marti
Perhaps I found the problem. It seems the reports gets generated twice. I had following configuration of the site plugin: org.apache.maven.plugins maven-site-plugin 2.0.1 true de, en When I

Re: Isn't listing a dependency supposed to download that JAR file into your WEB-INF/lib folder?

2009-11-20 Thread Nick Stolwijk
The war plugin automatically puts all your dependencies on runtime and compile in your war file, so I guess the dependencies aren't in one of those scopes. Look at mvn dependencies:tree output to see in what scope they are. With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg

RE: Isn't listing a dependency supposed to download that JAR file into your WEB-INF/lib folder?

2009-11-20 Thread Ludwig Magnusson
If you add this to your pom.xml: org.apache.maven.plugins maven-dependency-plugin 2.1 process-resources copy-dependencies ${project.basedir}/WEB-INF/lib test All your dependencies (that is not in the test-scope) sho

Re: Alternative output directory for javadocs

2009-11-20 Thread Gajo Csaba
The example from the website worked fine for me, it placed the javadocs into an alternative directory, though maybe I didn't understand what exactly you're trying to archive. Regards, Csaba Sebastian Hoß wrote: On Fri, 20 Nov 2009 11:48:09 +0100 Sebastian Hoß wrote: Hey list! .. So h

Re: Alternative output directory for javadocs

2009-11-20 Thread Sebastian Hoß
On Fri, 20 Nov 2009 11:48:09 +0100 Sebastian Hoß wrote: > Hey list! > > .. > > So how do you specify alternative output directories for javadocs? Any > help on that is appreciated :-) > Ah well, I've done it: Using reportSets you can specify the destDir for the javadoc:javadoc goal and the j

Re: How do I prevent maven from searching my own artifacts in public repositories ?

2009-11-20 Thread Anders Hammar
I think that the battle today is between Nexus and Artifactory. Archiva has a few features that Nexus for instance lacks, but the development of Archiva is slower than Nexus for instance. Regarding Nexus or Artifactory you should which one fits your needs the best. Nexus supports the "filtering" yo

Alternative output directory for javadocs

2009-11-20 Thread Sebastian Hoß
Hey list! I'm trying to change the output directory for the generated javadocs from "/apidocs" to something like "/api". According to the plugin documentation[1] this is easily achieved by specifying an alternative "destDir". However when I'm using the alternative directory (name doesn't matter) t

Excluding repositories

2009-11-20 Thread Gajo Csaba
Hello, One of the dependencies is trying to access a repository at download.java.net, and this site is blocked by our firewall. Is there a way to tell Maven to skip this repository? Either in settings.xml or pom.xml Thanks, Csaba --

Re: Putting a Release in the Repository

2009-11-20 Thread Martin Höller
Which version of the release-plugin are you using? MRELEASE-216[0], which seems very related, was fixed for version 2.0-beta-10, but this version is not yet released! hth, - martin [0] http://jira.codehaus.org/browse/MRELEASE-261 Am Donnerstag, 19. November 2009 20:43:26 schrieb Neil Chaudhur

Re: How do I prevent maven from searching my own artifacts in public repositories ?

2009-11-20 Thread TorstenKarusseit
Hi all, thank you very mutch. I think Anders is right saying to use a repo manager, wich has to filter the artifact request if it matchs a predefined pattern of my project. Do anyone of you have experience with such a manager ? Nexus or Archiva ? Torsten