From dev-return-19719-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Sat Nov 26 23:09:03 2011 Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 804AA972C for ; Sat, 26 Nov 2011 23:09:03 +0000 (UTC) Received: (qmail 29700 invoked by uid 500); 26 Nov 2011 23:09:03 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 29672 invoked by uid 500); 26 Nov 2011 23:09:03 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 29664 invoked by uid 99); 26 Nov 2011 23:09:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Nov 2011 23:09:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Nov 2011 23:09:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 14160A2CB7 for ; Sat, 26 Nov 2011 23:08:40 +0000 (UTC) Date: Sat, 26 Nov 2011 23:08:40 +0000 (UTC) From: "Dianne Richards (Resolved) (JIRA)" To: dev@openjpa.apache.org Message-ID: <802253399.14136.1322348920083.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1219280987.52388.1321904332303.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (OPENJPA-2077) Pom references to org.codehaus.mojo openjpa-maven-plugin cause problems MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dianne Richards resolved OPENJPA-2077. -------------------------------------- Resolution: Fixed > Pom references to org.codehaus.mojo openjpa-maven-plugin cause problems > ----------------------------------------------------------------------- > > Key: OPENJPA-2077 > URL: https://issues.apache.org/jira/browse/OPENJPA-2077 > Project: OpenJPA > Issue Type: Bug > Affects Versions: 2.2.0 > Reporter: Dianne Richards > Assignee: Dianne Richards > Fix For: 2.2.0 > > > I made a change to XMLPersistenceMetaDataParser, adding a call to StringUtils.endsWithIgnoreCase().It worked fine in eclipse. But it failed with a maven build with a NoSuchMethodException. StringUtils is in commons-lang. This method is introduced in version 2.4 The openjpa-parent pom.xml does specify version 2.4, so it should work. But, it also specifies org.codehaus.mojo openjpa-maven-plugin. Investigation discovered that this is pulling in commons-lang version 2.1,which is being used and gives the exception. > I've discussed this with several people. The consensus is that the openjpa-maven-plugin that was introduced by OPENJPA-1934 was meant as a replacement for the codehaus version. So, I've changed multiple pom files, replacing references to the codehaus version with the apache version. I've tested these changes on a complete build and it works fine. > I'll wait a day or 2 before committing, in case someone knows of a problem with this. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira