Re: Checkstyle and multi module

2010-02-25 Thread Thomas Scheffler
Am 25.02.2010 23:01, schrieb Dennis Lundberg: > Which version of the Checkstyle Plugin are you using? First I tried it with version 2.5 and later with 2.4. I had no luck with that either so I didn't tried any older version. Thomas > On 2010-02-25 12:05, Thomas Scheffler wrote: >> Hi, >> >> I hav

Re: verifying artifact on deployment

2010-02-25 Thread Brett Porter
On 26/02/2010, at 2:02 AM, Marc Lustig wrote: > thanks for the swift response. > First I also thought it's an Archiva issue, but basically Maven is talking > to the Repo Manager, right? So Maven defines the contract, and Archiva can > only respond to the contract. > > We are still investigating

Re: assembly and including a test-jar

2010-02-25 Thread Ed Young
Thanks for the reply. I'm not sure how to select the correct file for inclusion in the assembly, but I tried many different combinations in the tags: com.comcast.vodauto:vodtest:*:test ... com.comcast.vodauto:vodtest:*:test-jar ... The assembly plugin always includes the wrong file. On Wed,

Re: FW: [Maven2] Blacklisted by repo1?

2010-02-25 Thread Carlos Sanchez
Forwarding to the right list repo-maintain...@maven.apache.org On Thu, Feb 25, 2010 at 3:02 PM, Rahman, Ronak wrote: > Does anyone have any guidance on how to find out if some of my company’s IPs > are being blocked access to repo1? > > > > Perhaps this is a Nexus forum question, so I am cross po

RE: [nexus-user] FW: [Maven2] Blacklisted by repo1?

2010-02-25 Thread Rahman, Ronak
Nevermind, we have Maven support purchased and I believe that would be the right way to go about this issue. From: Rahman, Ronak [mailto:ronak_rah...@intuit.com] Sent: Thursday, February 25, 2010 5:03 PM To: Maven Users List; nexus-u...@sonatype.org Subject: [nexus-user] FW: [Maven2] Bl

Re: Unexpected behavior in parsing element (mvn 2.2.x)

2010-02-25 Thread Brett Porter
That would be a bug. Please file it at http://jira.codehaus.org/browse/MNG. On 26/02/2010, at 5:13 AM, Jonathan Gold wrote: > I'm using 2.2.x and was surprised to find that, while valid XML, the following > are not valid in a pom.xml: > > 4.0.0 > > or > > >4.0.0 > > > I

FW: [Maven2] Blacklisted by repo1?

2010-02-25 Thread Rahman, Ronak
Does anyone have any guidance on how to find out if some of my company’s IPs are being blocked access to repo1? Perhaps this is a Nexus forum question, so I am cross posting. Anyways, I would like to proactively work with someone at Sonatype to avoid being blacklisted. · I have

Grails plugin initialization error

2010-02-25 Thread Mick Knutson
I get this error after following: http://www.grails.org/Maven+Integration * WARNINGS module not found: org.hibernate#hibernate-commons-annotations; 3.3.0.ga grailsPlugins: tried -- artifact org.hibernate#hibernate-commons-annotations;3.3.0.ga !hibernate-commons-annota

Re: Checkstyle and multi module

2010-02-25 Thread Dennis Lundberg
Which version of the Checkstyle Plugin are you using? On 2010-02-25 12:05, Thomas Scheffler wrote: > Hi, > > I have a multi module project with this layout > > Base > |-- pom.xml > |-- build-tools > | |-- src > | | `-- main > | | `-- resources > | | `-- org > | |

RE: Multiple active profiles issue

2010-02-25 Thread Jim McCaskey
To answer my own question (talking to myself in public... sheesh), I fixed it well enough for me (see pom below). I also think it turns out as working as designed. Apparently if any activation element comes up true, it overrides all activeByDefault elements [1]. I guess I assumed that meant i

Re: verifying artifact on deployment

2010-02-25 Thread Yoav Landman
Artifactory 2.2.2 (the upcoming minor release) already has configurable checksum verification for _uploaded_ artifacts too. FYI. On Thu, Feb 25, 2010 at 5:02 PM, Marc Lustig wrote: > thanks for the swift response. > First I also thought it's an Archiva issue, but basically Maven is talking > to

Multiple active profiles issue

2010-02-25 Thread Jim McCaskey
Hello all, I'm having a little problem with profiles that I can't quite seem to figure out. I have a pom that has 3 profiles defined in it. 2 active by default and one active if a env var is set (BUILD_TAG). My little test pom is below. Now, when I do not set BUILD_TAG, it works as I expect.

Unexpected behavior in parsing element (mvn 2.2.x)

2010-02-25 Thread Jonathan Gold
I'm using 2.2.x and was surprised to find that, while valid XML, the following are not valid in a pom.xml: 4.0.0 or 4.0.0 I had expected that the maven xml parser would be normalizing the whitespace, but looked in maven-2.2.x/maven-project/src/main/java/org/apache/m

Re: ejb3 jboss persistence problem

2010-02-25 Thread bpmfouka
Hi, I want to develop an EJB3 application with maven but I have any problem on library such as jboss-ejb3-all and thirdparty-all into dependance, I display my pom.xml it'is possible to help me to improve this pom: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-in

Re: Re : Release notification

2010-02-25 Thread Kalle Korhonen
We use Nexus for RSS feeds, it has a built-in feed for releases. Kalle On Thu, Feb 25, 2010 at 10:06 AM, Wayne Fay wrote: >>> >> Is there a way to add notifications (email, RSS, etc.) when a release is >>> >> performed ? > > Seems like a feature I'd expect to get from an MRM (Nexus, > Artifacto

Re: Re : Release notification

2010-02-25 Thread Brian Fox
If you use Staging in Nexus, you can get emails when a release is staged and optionally also when it is later promoted. You can see these emails on the maven-dev list anytime we stage a release. On Thu, Feb 25, 2010 at 1:30 PM, Kalle Korhonen wrote: > We use Nexus for RSS feeds, it has a built-in

Re: verifying artifact on deployment

2010-02-25 Thread Brian Fox
It does on download not on upload. Nexus Staging has the ability to validate artifacts before being allowed to be staged, things like pom criteria, pgp sigs etc. We don't have a hash rule but its trivial to add. On Thu, Feb 25, 2010 at 10:02 AM, Marc Lustig wrote: > thanks for the swift response.

Re: Re : Release notification

2010-02-25 Thread Wayne Fay
>> >> Is there a way to add notifications (email, RSS, etc.) when a release is >> >> performed ? Seems like a feature I'd expect to get from an MRM (Nexus, Artifactory, Archiva) rather than from Maven itself. Wayne - To unsubscr

Re: Custom Archetype configuration

2010-02-25 Thread Wayne Fay
> custom archetype for creating such a new app. Since these apps run in the > context of an enterprise framework, I need to enforce certain properties > like the groupId and the packages name. I'm not aware of any way to lock down these properties. You could file an issue in Jira so someone could

Maven release plugin and multi VOB (Clearcase) project

2010-02-25 Thread Bernard Wacher
Hi, I am working with a multi module Maven structure which spans several Clearcase VOBs. I am using an aggregator POM which builds all the modules across the different VOBs. When I issue a 'mvn release:prepare' command, the project verifies correctly, all POMs are correctly updated and checked i

Re: [ANN] Maven Eclipse Plugin 2.8 Released

2010-02-25 Thread Jason van Zyl
This is not M2Eclipse, it's not an Eclipse plugin what got released is a Maven plugin. I think you're looking for: http://m2eclipse.sonatype.org/sites Which is where all the update sites are. On Feb 25, 2010, at 12:36 PM, Ed Young wrote: > I just went to the link below to look for an update s

Re: [ANN] Maven Eclipse Plugin 2.8 Released

2010-02-25 Thread Ed Young
I just went to the link below to look for an update site, but found none Can you pass it on here? Thanks, and good work! On Thu, Feb 25, 2010 at 9:46 AM, Benjamin Bentmann wrote: > The Maven team is pleased to announce the release of the Maven Eclipse > Plugin, version 2.8. > > This plugin

[ANN] Maven Eclipse Plugin 2.8 Released

2010-02-25 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Eclipse Plugin, version 2.8. This plugin is used to generate Eclipse IDE files (*.classpath, *.wtpmodules and the .settings folder) for use with a project. Please see the plugin's site for details: http://maven.apache.org/plugi

Re: Java.net Maven Repository Rescue Mission

2010-02-25 Thread Justin Edelson
On 2/25/10 10:47 AM, Jesse Farinacci wrote: > Hi, > > On Thu, Feb 25, 2010 at 10:36 AM, Brian Fox wrote: >> Justin, >> Yes we would but obviously the license on those binaries is important. >> Some of the original binaries couldn't be redistributed which is why >> they were pulled from central ye

Re: Java.net Maven Repository Rescue Mission

2010-02-25 Thread Jason van Zyl
On Feb 25, 2010, at 10:56 AM, Justin Edelson wrote: > On 2/25/10 10:36 AM, Brian Fox wrote: >> Justin, >> Yes we would but obviously the license on those binaries is important. >> Some of the original binaries couldn't be redistributed which is why >> they were pulled from central years ago. > ..

Re: Java.net Maven Repository Rescue Mission

2010-02-25 Thread Justin Edelson
On 2/25/10 10:36 AM, Brian Fox wrote: > Justin, > Yes we would but obviously the license on those binaries is important. > Some of the original binaries couldn't be redistributed which is why > they were pulled from central years ago. ...obligatory IANAL... My understanding, and I could be wrong a

Re: Java.net Maven Repository Rescue Mission

2010-02-25 Thread Jesse Farinacci
Hi, On Thu, Feb 25, 2010 at 10:36 AM, Brian Fox wrote: > Justin, > Yes we would but obviously the license on those binaries is important. > Some of the original binaries couldn't be redistributed which is why > they were pulled from central years ago. > Well, one thing that could be done to help

Re: Ant , maven , antrun , ddlutils

2010-02-25 Thread Siegfried Goeschl
Always a pleasure to help Siegfried Goeschl On 25.02.10 16:32, venkatRAM wrote: Hello Golgradio Well I was able to figure it out last night didn't have time to post the reply. But here is goes. You were right about the db.url , username and password not getting resolved. The reason was tha

Re: Java.net Maven Repository Rescue Mission

2010-02-25 Thread Brian Fox
Justin, Yes we would but obviously the license on those binaries is important. Some of the original binaries couldn't be redistributed which is why they were pulled from central years ago. On Thu, Feb 25, 2010 at 10:28 AM, Justin Edelson wrote: > Jason- > As I commented on your blog entry, what I

Re: Ant , maven , antrun , ddlutils

2010-02-25 Thread venkatRAM
Hello Golgradio Well I was able to figure it out last night didn't have time to post the reply. But here is goes. You were right about the db.url , username and password not getting resolved. The reason was that this part of root POM was being called multiple times worse yet from different loc

Re: Java.net Maven Repository Rescue Mission

2010-02-25 Thread Justin Edelson
Jason- As I commented on your blog entry, what I think would be most useful is to handle the currently deployed javax.* artifacts. Don't get me wrong, dealing with the current/new releases will be helpful. Would Sonatype be willing to accept a list of artifact submissions from the community and th

Re: Ant , maven , antrun , ddlutils

2010-02-25 Thread golfradio
The expression ${db.driver} is getting resolved. But in your actual database connection definition you have hard coded the driver class name. So the driver cannot be the problem. From the stacktrace it looks like the schema name is not getting resolved. It could be because your db.url or username

Java.net Maven Repository Rescue Mission

2010-02-25 Thread Jason van Zyl
As Maven users if you care about the quality of the Maven Repositories at Java.net then please help support us in our effort to get Snorcle to help fix the situation. Sonatype is going to try and help by dedicating staff on March 5th to help Java.net projects transition over to a healthy Maven

Custom Archetype configuration

2010-02-25 Thread golfradio
I have a multi-module maven project. The sub modules are pluggable apps that can be loaded in the application framework at runtime. I have created a custom archetype for creating such a new app. Since these apps run in the context of an enterprise framework, I need to enforce certain properties li

Re: verifying artifact on deployment

2010-02-25 Thread Marc Lustig
thanks for the swift response. First I also thought it's an Archiva issue, but basically Maven is talking to the Repo Manager, right? So Maven defines the contract, and Archiva can only respond to the contract. We are still investigating the issue and try to reproduce different scenarios. For now

Re: verifying artifact on deployment

2010-02-25 Thread Brett Porter
On 26/02/2010, at 1:30 AM, Wendy Smoak wrote: > On Thu, Feb 25, 2010 at 8:10 AM, Marc Lustig wrote: >> we had a number of cases when the artifact in our central-repo >> (Archiva-based) was not consistent with the corresponding hash. > > You can configure the checksum policy to fail when Maven _

Re: verifying artifact on deployment

2010-02-25 Thread Wendy Smoak
On Thu, Feb 25, 2010 at 8:10 AM, Marc Lustig wrote: > we had a number of cases when the artifact in our central-repo > (Archiva-based) was not consistent with the corresponding hash. You can configure the checksum policy to fail when Maven _downloads_ an artifact if the checksum doesn't match. I

Re: problem attaching non-archived files with maven-assembly-plugin

2010-02-25 Thread Jörg Schaible
Hi Steven, Maring, Steven wrote at Donnerstag, 25. Februar 2010 14:29: > I am trying to deploy plain-text files (specifically, a WSDL and XSD) as > part of a project with pom packaging. I would like other developers to > be able to directly reference the WSDL as deployed in our local Nexus > rep

problem attaching non-archived files with maven-assembly-plugin

2010-02-25 Thread Maring, Steven
I am trying to deploy plain-text files (specifically, a WSDL and XSD) as part of a project with pom packaging. I would like other developers to be able to directly reference the WSDL as deployed in our local Nexus repository. I have no difficulty deploying these with the "zip" format. However,

verifying artifact on deployment

2010-02-25 Thread Marc Lustig
Hi, we had a number of cases when the artifact in our central-repo (Archiva-based) was not consistent with the corresponding hash. It there any way to 1. automatically test the integrity of an uploaded artefact by comparing it's generated hash with the hash of the local repo (from where it's de

Re: Ant , maven , antrun , ddlutils

2010-02-25 Thread Siegfried Goeschl
Hi Venkatram, I think we would need some more information +) what would you like to do with DDLUtils? +) why are you triggering DDLUtils in multiple M2 projects - I have my DB stuff usually in one subproject +) do you have a copy of "Database.properties" in all subprojects? +) how are you invo

Re : Release notification

2010-02-25 Thread langlois yan
Ok, thank you. yan. De : Anders Hammar À : Maven Users List Envoyé le : Jeu 25 Février 2010, 9 h 56 min 16 s Objet : Re: Release notification Yes, unless you want to do staging first... /Anders On Thu, Feb 25, 2010 at 09:52, Mark Derricutt wrote: > You c

Checkstyle and multi module

2010-02-25 Thread Thomas Scheffler
Hi, I have a multi module project with this layout Base |-- pom.xml |-- build-tools | |-- src | | `-- main | | `-- resources | | `-- org | | `-- project | | `-- checkstyle.xml | `-- pom.xml |-- parent |-- module1 |-- module2 `-- modu

Re: Generics 5 - unexpected type, found: java.lang.Object expected: reference

2010-02-25 Thread milan chudik
Thanks guys, I wasn't aware of eclipse and its' compile routines. milan On 24/02/10 19:11, Wayne Fay wrote: >> In fact I can compile it in eclipse with java 5, so this problem appears >> only when compiling with maven. >> > ... > >> I don't get this error under eclipse(neither under jd5

Re: Release notification

2010-02-25 Thread Anders Hammar
Yes, unless you want to do staging first... /Anders On Thu, Feb 25, 2010 at 09:52, Mark Derricutt wrote: > You can however change the release plugin configuration: > > > org.apache.maven.plugins > maven-release-plugin > >clean verify > changes:announcement-generate >deploy changes:

Re: having problems with the scm plugin

2010-02-25 Thread Anders Hammar
According to the docs, the project.scm.connection element is used by default. Keep username and password in the plugin configuration and make sure that the project.scm.connection is correct. If you want to use developerConnection instead that's påossible to configure on the scm plugin, see the docs

Re: Release notification

2010-02-25 Thread Mark Derricutt
You can however change the release plugin configuration: org.apache.maven.plugins maven-release-plugin clean verify changes:announcement-generate deploy changes:announcement-mail Mark -- Pull me down under... On Thu, Feb 25, 2010 at 9:47 PM, Anders Hammar wrote: > The chan

Re: Release notification

2010-02-25 Thread Anders Hammar
The changes plugin supports email: http://maven.apache.org/plugins/maven-changes-plugin/usage.html However, it's not triggered by a release but you need to run it separately. I guess you could bind it to the deploy phase, but I'm not sure you want to do this. Normally you would go through staging