You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/06/19 09:16:40 UTC

Build failed in Jenkins: commons-dbcp #233

See <https://builds.apache.org/job/commons-dbcp/233/display/redirect?page=changes>

Changes:

[markt] Fix generics warnings

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H10 (Hadoop) in workspace <https://builds.apache.org/job/commons-dbcp/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/commons-dbcp.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 7a2d76735fce33b815c9fd674b1c3e3eeb3aebf0 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7a2d76735fce33b815c9fd674b1c3e3eeb3aebf0
Commit message: "Fix generics warnings"
 > git rev-list --no-walk d7f3d4f5c6a163f18af993fff9d8e52a2f384aea # timeout=10
Parsing POMs
Established TCP socket on 39848
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/ /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 39848
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V clean install --batch-mode -Dgpg.skip -Prelease
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
Java version: 1.8.0_172, vendor: Oracle Corporation
Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[WARNING] The project org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ commons-dbcp2 ---
[INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @ commons-dbcp2 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (parse-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ commons-dbcp2 ---
[INFO] Executing tasks

main:
     [copy] Copying 2 files to <https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ commons-dbcp2 ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ commons-dbcp2 ---
[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildNumber: 7a2d76735fce33b815c9fd674b1c3e3eeb3aebf0 at timestamp: 1529399784605
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ commons-dbcp2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ commons-dbcp2 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 60 source files to <https://builds.apache.org/job/commons-dbcp/ws/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2288,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2453,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[INFO] 12 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.199 s
[INFO] Finished at: 2018-06-19T09:16:35Z
[INFO] Final Memory: 30M/389M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project commons-dbcp2: Compilation failure: Compilation failure:
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2288,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2453,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped

Jenkins build is back to normal : commons-dbcp #238

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/commons-dbcp/238/display/redirect?page=changes>


Re: Fwd: Build failed in Jenkins: commons-dbcp #237

Posted by Gary Gregory <ga...@gmail.com>.
OK, I think I'll roll an RC for Commons Pool soon, which I've been wanting
to do anyway.

Gary

On Tue, Jun 19, 2018 at 9:16 AM Mark Thomas <ma...@apache.org> wrote:

> On 19/06/18 16:03, Gary Gregory wrote:
> > What is odd is that you've added generics to places where there are none.
>
> Ah. Found it. My local DBCP workspace depends on the local Pool
> workspace rather than the 2.5.0 release. I was picking up genrics
> changes that will be in the next pool release and adapting DBCP too them.
>
> I'll revert those premature changes shortly.
>
> Mark
>
>
> >
> > Gary
> >
> > On Tue, Jun 19, 2018 at 8:42 AM Mark Thomas <ma...@apache.org> wrote:
> >
> >> On 19 June 2018 15:23:52 BST, Gary Gregory <ga...@gmail.com>
> wrote:
> >>> Mark,
> >>>
> >>> I'm not sure what compiler you are using, but these changes break the
> >>> build
> >>> in Jenkins, in my local Eclipse workspace, and with Maven and Orcale
> >>> Java
> >>> 8. Please fix:
> >>
> >> Odd. I'm using Eclipse and Java 8 and was seeing generics warnings
> before
> >> these changes. I checked Eclipse was set to compile for Java 8 before
> >> making the change. I did see something along these lines in the Tomcat 8
> >> build that uses the same code but that builds with Java 7.
> >>
> >> Let me recheck all my compilation settings and also test with Maven on
> the
> >> command line and see if I can figure out what is going on here.
> >>
> >> Mark
> >>
> >>
> >>
> >>>
> >>> [ERROR] COMPILATION ERROR :
> >>> [INFO] -------------------------------------------------------------
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2297,42]
> >>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >>> take
> >>> parameters
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2466,61]
> >>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >>> take
> >>> parameters
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,47]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,118]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,47]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,118]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,47]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,118]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,38]
> >>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >>> take
> >>> parameters
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,95]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,43]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR]
> >>
> >>>
> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,110]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>>
> >>> Gary
> >>>
> >>> ---------- Forwarded message ---------
> >>> From: Apache Jenkins Server <je...@builds.apache.org>
> >>> Date: Tue, Jun 19, 2018 at 4:13 AM
> >>> Subject: Build failed in Jenkins: commons-dbcp #237
> >>> To: <no...@commons.apache.org>
> >>>
> >>>
> >>> See <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/237/display/redirect?page=changes
> >>>>
> >>>
> >>> Changes:
> >>>
> >>> [markt] Fill in some gaps in the Javadoc
> >>>
> >>> ------------------------------------------
> >>> Started by an SCM change
> >>> [EnvInject] - Loading node environment variables.
> >>> Building remotely on H10 (Hadoop) in workspace <
> >>> https://builds.apache.org/job/commons-dbcp/ws/>
> >>>> git rev-parse --is-inside-work-tree # timeout=10
> >>> Fetching changes from the remote Git repository
> >>>> git config remote.origin.url
> >>> https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
> >>> Fetching upstream changes from
> >>> https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
> >>>> git --version # timeout=10
> >>>> git fetch --tags --progress
> >>> https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
> >>> +refs/heads/*:refs/remotes/origin/*
> >>>> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> >>>> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
> >>> Checking out Revision ac934778af1eeb4d6dba25a7351c59430a3c8fc9
> >>> (refs/remotes/origin/master)
> >>>> git config core.sparsecheckout # timeout=10
> >>>> git checkout -f ac934778af1eeb4d6dba25a7351c59430a3c8fc9
> >>> Commit message: "Fill in some gaps in the Javadoc"
> >>>> git rev-list --no-walk c50607e7c834422c7fd926a345b1badebd1a2675 #
> >>> timeout=10
> >>> Parsing POMs
> >>> Established TCP socket on 48797
> >>> maven35-agent.jar already up to date
> >>> maven35-interceptor.jar already up to date
> >>> maven3-interceptor-commons.jar already up to date
> >>> [commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g
> >>> -Xms256m -cp
> >>
> >>>
> /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
> >>> jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/
> >>> /home/jenkins/jenkins-slave/slave.jar
> >>> /home/jenkins/jenkins-slave/maven35-interceptor.jar
> >>> /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 48797
> >>> <===[JENKINS REMOTING CAPACITY]===>   channel started
> >>> Executing Maven:  -B -f <
> >>> https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
> >>> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V
> >>> clean install --batch-mode -Dgpg.skip -Prelease
> >>> [1mApache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
> >>> 2017-10-18T07:58:13Z) [m
> >>> Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
> >>> Java version: 1.8.0_172, vendor: Oracle Corporation
> >>> Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
> >>> Default locale: en_US, platform encoding: ISO-8859-1
> >>> OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family:
> >>> "unix"
> >>> [INFO] Scanning for projects...
> >>> [WARNING] The project
> >>> org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT
> >>> uses prerequisites which is only intended for maven-plugin projects but
> >>> not
> >>> for non maven-plugin projects. For such purposes you should use the
> >>> maven-enforcer-plugin. See
> >>>
> https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> >>> [INFO]
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO]
> >>> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
> >>> commons-dbcp2
> >>> ---
> >>> [INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
> >>> [INFO]
> >>> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce
> >>> (enforce-maven-version) @
> >>> commons-dbcp2 ---
> >>> [INFO]
> >>> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @
> >>> commons-dbcp2 ---
> >>> [INFO]
> >>> [INFO] --- build-helper-maven-plugin:3.0.0:parse-version
> >>> (parse-version) @
> >>> commons-dbcp2 ---
> >>> [INFO]
> >>> [INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @
> >>> commons-dbcp2
> >>> ---
> >>> [INFO] Executing tasks
> >>>
> >>> main:
> >>>     [copy] Copying 2 files to <
> >>> https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
> >>> [INFO] Executed tasks
> >>> [INFO]
> >>> [INFO] --- maven-remote-resources-plugin:1.5:process
> >>> (process-resource-bundles) @ commons-dbcp2 ---
> >>> [INFO]
> >>> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @
> >>> commons-dbcp2 ---
> >>> [INFO] Executing: /bin/sh -c cd '<
> >>> https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
> >>> '--verify' 'HEAD'
> >>> [INFO] Working directory:
> >>> <https://builds.apache.org/job/commons-dbcp/ws/>
> >>> [INFO] Storing buildNumber: ac934778af1eeb4d6dba25a7351c59430a3c8fc9 at
> >>> timestamp: 1529403164143
> >>> [WARNING] Cannot get the branch information from the git repository:
> >>> Detecting the current branch failed: fatal: ref HEAD is not a symbolic
> >>> ref
> >>>
> >>> [INFO] Executing: /bin/sh -c cd '<
> >>> https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
> >>> '--verify' 'HEAD'
> >>> [INFO] Working directory:
> >>> <https://builds.apache.org/job/commons-dbcp/ws/>
> >>> [INFO] Storing buildScmBranch: UNKNOWN
> >>> [INFO]
> >>> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @
> >>> commons-dbcp2 ---
> >>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >>> [INFO] Copying 1 resource
> >>> [INFO] Copying 2 resources to META-INF
> >>> [INFO]
> >>> [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
> >>> commons-dbcp2 ---
> >>> [INFO] Changes detected - recompiling the module!
> >>> [INFO] Compiling 60 source files to <
> >>> https://builds.apache.org/job/commons-dbcp/ws/target/classes>
> >>> [INFO] -------------------------------------------------------------
> >>> [ERROR] COMPILATION ERROR :
> >>> [INFO] -------------------------------------------------------------
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >>> :[2297,42]
> >>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >>> take
> >>> parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >>> :[2466,61]
> >>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >>> take
> >>> parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
> >>> :[176,43]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
> >>> :[176,110]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >>> :[2262,38]
> >>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >>> take
> >>> parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >>> :[2262,95]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
> >>> :[312,47]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
> >>> :[312,118]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
> >>> :[185,47]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
> >>> :[185,118]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
> >>> :[74,47]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
> >>> :[74,118]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>>  reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [INFO] 12 errors
> >>> [INFO] -------------------------------------------------------------
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] BUILD FAILURE
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Total time: 24.199 s
> >>> [INFO] Finished at: 2018-06-19T10:12:57Z
> >>> [INFO] Final Memory: 30M/402M
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> Waiting for Jenkins to finish collecting data
> >>> [ERROR] Failed to execute goal
> >>> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> >>> (default-compile) on project commons-dbcp2: Compilation failure:
> >>> Compilation failure:
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >>> :[2297,42]
> >>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >>> take
> >>> parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >>> :[2466,61]
> >>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >>> take
> >>> parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
> >>> :[176,43]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
> >>> :[176,110]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >>> :[2262,38]
> >>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >>> take
> >>> parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >>> :[2262,95]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >>> [ERROR] reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
> >>> :[312,47]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
> >>> :[312,118]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
> >>> :[185,47]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
> >>> :[185,118]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
> >>> :[74,47]
> >>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >>> not
> >>> take parameters
> >>> [ERROR] <
> >>>
> >>
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
> >>> :[74,118]
> >>> cannot infer type arguments for
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] reason: cannot use '<>' with non-generic class
> >>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >>> [ERROR] -> [Help 1]
> >>> [ERROR]
> >>> [ERROR] To see the full stack trace of the errors, re-run Maven with
> >>> the -e
> >>> switch.
> >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> >>> [ERROR]
> >>> [ERROR] For more information about the errors and possible solutions,
> >>> please read the following articles:
> >>> [ERROR] [Help 1]
> >>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> >>> [JENKINS] Archiving
> >>> <https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
> >>> to
> >>
> >>>
> org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
> >>> Sending e-mails to: notifications@commons.apache.org
> >>> channel stopped
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Re: Fwd: Build failed in Jenkins: commons-dbcp #237

Posted by Mark Thomas <ma...@apache.org>.
On 19/06/18 16:03, Gary Gregory wrote:
> What is odd is that you've added generics to places where there are none.

Ah. Found it. My local DBCP workspace depends on the local Pool
workspace rather than the 2.5.0 release. I was picking up genrics
changes that will be in the next pool release and adapting DBCP too them.

I'll revert those premature changes shortly.

Mark


> 
> Gary
> 
> On Tue, Jun 19, 2018 at 8:42 AM Mark Thomas <ma...@apache.org> wrote:
> 
>> On 19 June 2018 15:23:52 BST, Gary Gregory <ga...@gmail.com> wrote:
>>> Mark,
>>>
>>> I'm not sure what compiler you are using, but these changes break the
>>> build
>>> in Jenkins, in my local Eclipse workspace, and with Maven and Orcale
>>> Java
>>> 8. Please fix:
>>
>> Odd. I'm using Eclipse and Java 8 and was seeing generics warnings before
>> these changes. I checked Eclipse was set to compile for Java 8 before
>> making the change. I did see something along these lines in the Tomcat 8
>> build that uses the same code but that builds with Java 7.
>>
>> Let me recheck all my compilation settings and also test with Maven on the
>> command line and see if I can figure out what is going on here.
>>
>> Mark
>>
>>
>>
>>>
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -------------------------------------------------------------
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2297,42]
>>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>>> take
>>> parameters
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2466,61]
>>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>>> take
>>> parameters
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,47]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,118]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,47]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,118]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,47]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,118]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,38]
>>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>>> take
>>> parameters
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,95]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,43]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR]
>>
>>> /C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,110]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>>
>>> Gary
>>>
>>> ---------- Forwarded message ---------
>>> From: Apache Jenkins Server <je...@builds.apache.org>
>>> Date: Tue, Jun 19, 2018 at 4:13 AM
>>> Subject: Build failed in Jenkins: commons-dbcp #237
>>> To: <no...@commons.apache.org>
>>>
>>>
>>> See <
>>>
>> https://builds.apache.org/job/commons-dbcp/237/display/redirect?page=changes
>>>>
>>>
>>> Changes:
>>>
>>> [markt] Fill in some gaps in the Javadoc
>>>
>>> ------------------------------------------
>>> Started by an SCM change
>>> [EnvInject] - Loading node environment variables.
>>> Building remotely on H10 (Hadoop) in workspace <
>>> https://builds.apache.org/job/commons-dbcp/ws/>
>>>> git rev-parse --is-inside-work-tree # timeout=10
>>> Fetching changes from the remote Git repository
>>>> git config remote.origin.url
>>> https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
>>> Fetching upstream changes from
>>> https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
>>>> git --version # timeout=10
>>>> git fetch --tags --progress
>>> https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
>>> +refs/heads/*:refs/remotes/origin/*
>>>> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
>>>> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
>>> Checking out Revision ac934778af1eeb4d6dba25a7351c59430a3c8fc9
>>> (refs/remotes/origin/master)
>>>> git config core.sparsecheckout # timeout=10
>>>> git checkout -f ac934778af1eeb4d6dba25a7351c59430a3c8fc9
>>> Commit message: "Fill in some gaps in the Javadoc"
>>>> git rev-list --no-walk c50607e7c834422c7fd926a345b1badebd1a2675 #
>>> timeout=10
>>> Parsing POMs
>>> Established TCP socket on 48797
>>> maven35-agent.jar already up to date
>>> maven35-interceptor.jar already up to date
>>> maven3-interceptor-commons.jar already up to date
>>> [commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g
>>> -Xms256m -cp
>>
>>> /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
>>> jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/
>>> /home/jenkins/jenkins-slave/slave.jar
>>> /home/jenkins/jenkins-slave/maven35-interceptor.jar
>>> /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 48797
>>> <===[JENKINS REMOTING CAPACITY]===>   channel started
>>> Executing Maven:  -B -f <
>>> https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
>>> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V
>>> clean install --batch-mode -Dgpg.skip -Prelease
>>> [1mApache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
>>> 2017-10-18T07:58:13Z) [m
>>> Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
>>> Java version: 1.8.0_172, vendor: Oracle Corporation
>>> Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
>>> Default locale: en_US, platform encoding: ISO-8859-1
>>> OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family:
>>> "unix"
>>> [INFO] Scanning for projects...
>>> [WARNING] The project
>>> org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT
>>> uses prerequisites which is only intended for maven-plugin projects but
>>> not
>>> for non maven-plugin projects. For such purposes you should use the
>>> maven-enforcer-plugin. See
>>> https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
>>> [INFO]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
>>> commons-dbcp2
>>> ---
>>> [INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
>>> [INFO]
>>> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce
>>> (enforce-maven-version) @
>>> commons-dbcp2 ---
>>> [INFO]
>>> [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @
>>> commons-dbcp2 ---
>>> [INFO]
>>> [INFO] --- build-helper-maven-plugin:3.0.0:parse-version
>>> (parse-version) @
>>> commons-dbcp2 ---
>>> [INFO]
>>> [INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @
>>> commons-dbcp2
>>> ---
>>> [INFO] Executing tasks
>>>
>>> main:
>>>     [copy] Copying 2 files to <
>>> https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
>>> [INFO] Executed tasks
>>> [INFO]
>>> [INFO] --- maven-remote-resources-plugin:1.5:process
>>> (process-resource-bundles) @ commons-dbcp2 ---
>>> [INFO]
>>> [INFO] --- buildnumber-maven-plugin:1.4:create (default) @
>>> commons-dbcp2 ---
>>> [INFO] Executing: /bin/sh -c cd '<
>>> https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
>>> '--verify' 'HEAD'
>>> [INFO] Working directory:
>>> <https://builds.apache.org/job/commons-dbcp/ws/>
>>> [INFO] Storing buildNumber: ac934778af1eeb4d6dba25a7351c59430a3c8fc9 at
>>> timestamp: 1529403164143
>>> [WARNING] Cannot get the branch information from the git repository:
>>> Detecting the current branch failed: fatal: ref HEAD is not a symbolic
>>> ref
>>>
>>> [INFO] Executing: /bin/sh -c cd '<
>>> https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
>>> '--verify' 'HEAD'
>>> [INFO] Working directory:
>>> <https://builds.apache.org/job/commons-dbcp/ws/>
>>> [INFO] Storing buildScmBranch: UNKNOWN
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @
>>> commons-dbcp2 ---
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 1 resource
>>> [INFO] Copying 2 resources to META-INF
>>> [INFO]
>>> [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
>>> commons-dbcp2 ---
>>> [INFO] Changes detected - recompiling the module!
>>> [INFO] Compiling 60 source files to <
>>> https://builds.apache.org/job/commons-dbcp/ws/target/classes>
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
>>> :[2297,42]
>>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>>> take
>>> parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
>>> :[2466,61]
>>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>>> take
>>> parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
>>> :[176,43]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
>>> :[176,110]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
>>> :[2262,38]
>>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>>> take
>>> parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
>>> :[2262,95]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
>>> :[312,47]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
>>> :[312,118]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
>>> :[185,47]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
>>> :[185,118]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
>>> :[74,47]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
>>> :[74,118]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>>  reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [INFO] 12 errors
>>> [INFO] -------------------------------------------------------------
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 24.199 s
>>> [INFO] Finished at: 2018-06-19T10:12:57Z
>>> [INFO] Final Memory: 30M/402M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> Waiting for Jenkins to finish collecting data
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
>>> (default-compile) on project commons-dbcp2: Compilation failure:
>>> Compilation failure:
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
>>> :[2297,42]
>>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>>> take
>>> parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
>>> :[2466,61]
>>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>>> take
>>> parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
>>> :[176,43]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
>>> :[176,110]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
>>> :[2262,38]
>>> type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>>> take
>>> parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
>>> :[2262,95]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
>>> [ERROR] reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericObjectPoolConfig
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
>>> :[312,47]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
>>> :[312,118]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
>>> :[185,47]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
>>> :[185,118]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
>>> :[74,47]
>>> type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>>> not
>>> take parameters
>>> [ERROR] <
>>>
>> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
>>> :[74,118]
>>> cannot infer type arguments for
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] reason: cannot use '<>' with non-generic class
>>> org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>> the -e
>>> switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>> [JENKINS] Archiving
>>> <https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
>>> to
>>
>>> org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
>>> Sending e-mails to: notifications@commons.apache.org
>>> channel stopped
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: Fwd: Build failed in Jenkins: commons-dbcp #237

Posted by Gary Gregory <ga...@gmail.com>.
What is odd is that you've added generics to places where there are none.

Gary

On Tue, Jun 19, 2018 at 8:42 AM Mark Thomas <ma...@apache.org> wrote:

> On 19 June 2018 15:23:52 BST, Gary Gregory <ga...@gmail.com> wrote:
> >Mark,
> >
> >I'm not sure what compiler you are using, but these changes break the
> >build
> >in Jenkins, in my local Eclipse workspace, and with Maven and Orcale
> >Java
> >8. Please fix:
>
> Odd. I'm using Eclipse and Java 8 and was seeing generics warnings before
> these changes. I checked Eclipse was set to compile for Java 8 before
> making the change. I did see something along these lines in the Tomcat 8
> build that uses the same code but that builds with Java 7.
>
> Let me recheck all my compilation settings and also test with Maven on the
> command line and see if I can figure out what is going on here.
>
> Mark
>
>
>
> >
> >[ERROR] COMPILATION ERROR :
> >[INFO] -------------------------------------------------------------
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2297,42]
> >type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >take
> >parameters
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2466,61]
> >type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >take
> >parameters
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,47]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,118]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,47]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,118]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,47]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,118]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,38]
> >type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >take
> >parameters
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,95]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,43]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR]
>
> >/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,110]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >
> >Gary
> >
> >---------- Forwarded message ---------
> >From: Apache Jenkins Server <je...@builds.apache.org>
> >Date: Tue, Jun 19, 2018 at 4:13 AM
> >Subject: Build failed in Jenkins: commons-dbcp #237
> >To: <no...@commons.apache.org>
> >
> >
> >See <
> >
> https://builds.apache.org/job/commons-dbcp/237/display/redirect?page=changes
> >>
> >
> >Changes:
> >
> >[markt] Fill in some gaps in the Javadoc
> >
> >------------------------------------------
> >Started by an SCM change
> >[EnvInject] - Loading node environment variables.
> >Building remotely on H10 (Hadoop) in workspace <
> >https://builds.apache.org/job/commons-dbcp/ws/>
> > > git rev-parse --is-inside-work-tree # timeout=10
> >Fetching changes from the remote Git repository
> > > git config remote.origin.url
> >https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
> >Fetching upstream changes from
> >https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
> > > git --version # timeout=10
> > > git fetch --tags --progress
> >https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
> >+refs/heads/*:refs/remotes/origin/*
> > > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> >> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
> >Checking out Revision ac934778af1eeb4d6dba25a7351c59430a3c8fc9
> >(refs/remotes/origin/master)
> > > git config core.sparsecheckout # timeout=10
> > > git checkout -f ac934778af1eeb4d6dba25a7351c59430a3c8fc9
> >Commit message: "Fill in some gaps in the Javadoc"
> > > git rev-list --no-walk c50607e7c834422c7fd926a345b1badebd1a2675 #
> >timeout=10
> >Parsing POMs
> >Established TCP socket on 48797
> >maven35-agent.jar already up to date
> >maven35-interceptor.jar already up to date
> >maven3-interceptor-commons.jar already up to date
> >[commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g
> >-Xms256m -cp
>
> >/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
> >jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/
> >/home/jenkins/jenkins-slave/slave.jar
> >/home/jenkins/jenkins-slave/maven35-interceptor.jar
> >/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 48797
> ><===[JENKINS REMOTING CAPACITY]===>   channel started
> >Executing Maven:  -B -f <
> >https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
> >-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V
> >clean install --batch-mode -Dgpg.skip -Prelease
> > [1mApache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
> >2017-10-18T07:58:13Z) [m
> >Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
> >Java version: 1.8.0_172, vendor: Oracle Corporation
> >Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
> >Default locale: en_US, platform encoding: ISO-8859-1
> >OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family:
> >"unix"
> >[INFO] Scanning for projects...
> >[WARNING] The project
> >org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT
> >uses prerequisites which is only intended for maven-plugin projects but
> >not
> >for non maven-plugin projects. For such purposes you should use the
> >maven-enforcer-plugin. See
> >https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> >[INFO]
> >[INFO]
> >------------------------------------------------------------------------
> >[INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
> >[INFO]
> >------------------------------------------------------------------------
> >[INFO]
> >[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
> >commons-dbcp2
> >---
> >[INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
> >[INFO]
> >[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce
> >(enforce-maven-version) @
> >commons-dbcp2 ---
> >[INFO]
> >[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @
> >commons-dbcp2 ---
> >[INFO]
> >[INFO] --- build-helper-maven-plugin:3.0.0:parse-version
> >(parse-version) @
> >commons-dbcp2 ---
> >[INFO]
> >[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @
> >commons-dbcp2
> >---
> >[INFO] Executing tasks
> >
> >main:
> >     [copy] Copying 2 files to <
> >https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
> >[INFO] Executed tasks
> >[INFO]
> >[INFO] --- maven-remote-resources-plugin:1.5:process
> >(process-resource-bundles) @ commons-dbcp2 ---
> >[INFO]
> >[INFO] --- buildnumber-maven-plugin:1.4:create (default) @
> >commons-dbcp2 ---
> >[INFO] Executing: /bin/sh -c cd '<
> >https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
> >'--verify' 'HEAD'
> >[INFO] Working directory:
> ><https://builds.apache.org/job/commons-dbcp/ws/>
> >[INFO] Storing buildNumber: ac934778af1eeb4d6dba25a7351c59430a3c8fc9 at
> >timestamp: 1529403164143
> >[WARNING] Cannot get the branch information from the git repository:
> >Detecting the current branch failed: fatal: ref HEAD is not a symbolic
> >ref
> >
> >[INFO] Executing: /bin/sh -c cd '<
> >https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
> >'--verify' 'HEAD'
> >[INFO] Working directory:
> ><https://builds.apache.org/job/commons-dbcp/ws/>
> >[INFO] Storing buildScmBranch: UNKNOWN
> >[INFO]
> >[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @
> >commons-dbcp2 ---
> >[INFO] Using 'UTF-8' encoding to copy filtered resources.
> >[INFO] Copying 1 resource
> >[INFO] Copying 2 resources to META-INF
> >[INFO]
> >[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
> >commons-dbcp2 ---
> >[INFO] Changes detected - recompiling the module!
> >[INFO] Compiling 60 source files to <
> >https://builds.apache.org/job/commons-dbcp/ws/target/classes>
> >[INFO] -------------------------------------------------------------
> >[ERROR] COMPILATION ERROR :
> >[INFO] -------------------------------------------------------------
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >:[2297,42]
> >type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >take
> >parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >:[2466,61]
> >type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >take
> >parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
> >:[176,43]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
> >:[176,110]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >:[2262,38]
> >type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >take
> >parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >:[2262,95]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
> >:[312,47]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
> >:[312,118]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
> >:[185,47]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
> >:[185,118]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
> >:[74,47]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
> >:[74,118]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >  reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[INFO] 12 errors
> >[INFO] -------------------------------------------------------------
> >[INFO]
> >------------------------------------------------------------------------
> >[INFO] BUILD FAILURE
> >[INFO]
> >------------------------------------------------------------------------
> >[INFO] Total time: 24.199 s
> >[INFO] Finished at: 2018-06-19T10:12:57Z
> >[INFO] Final Memory: 30M/402M
> >[INFO]
> >------------------------------------------------------------------------
> >Waiting for Jenkins to finish collecting data
> >[ERROR] Failed to execute goal
> >org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> >(default-compile) on project commons-dbcp2: Compilation failure:
> >Compilation failure:
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >:[2297,42]
> >type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >take
> >parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >:[2466,61]
> >type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >take
> >parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
> >:[176,43]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java
> >:[176,110]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >:[2262,38]
> >type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
> >take
> >parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
> >:[2262,95]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >[ERROR] reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericObjectPoolConfig
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
> >:[312,47]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
> >:[312,118]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
> >:[185,47]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
> >:[185,118]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
> >:[74,47]
> >type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
> >not
> >take parameters
> >[ERROR] <
> >
> https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
> >:[74,118]
> >cannot infer type arguments for
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] reason: cannot use '<>' with non-generic class
> >org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
> >[ERROR] -> [Help 1]
> >[ERROR]
> >[ERROR] To see the full stack trace of the errors, re-run Maven with
> >the -e
> >switch.
> >[ERROR] Re-run Maven using the -X switch to enable full debug logging.
> >[ERROR]
> >[ERROR] For more information about the errors and possible solutions,
> >please read the following articles:
> >[ERROR] [Help 1]
> >http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> >[JENKINS] Archiving
> ><https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
> >to
>
> >org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
> >Sending e-mails to: notifications@commons.apache.org
> >channel stopped
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Re: Fwd: Build failed in Jenkins: commons-dbcp #237

Posted by Mark Thomas <ma...@apache.org>.
On 19 June 2018 15:23:52 BST, Gary Gregory <ga...@gmail.com> wrote:
>Mark,
>
>I'm not sure what compiler you are using, but these changes break the
>build
>in Jenkins, in my local Eclipse workspace, and with Maven and Orcale
>Java
>8. Please fix:

Odd. I'm using Eclipse and Java 8 and was seeing generics warnings before these changes. I checked Eclipse was set to compile for Java 8 before making the change. I did see something along these lines in the Tomcat 8 build that uses the same code but that builds with Java 7.

Let me recheck all my compilation settings and also test with Maven on the command line and see if I can figure out what is going on here.

Mark



>
>[ERROR] COMPILATION ERROR :
>[INFO] -------------------------------------------------------------
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2297,42]
>type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>take
>parameters
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2466,61]
>type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>take
>parameters
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,47]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,118]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,47]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,118]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,47]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,118]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,38]
>type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>take
>parameters
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,95]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericObjectPoolConfig
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,43]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR]
>/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,110]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>
>Gary
>
>---------- Forwarded message ---------
>From: Apache Jenkins Server <je...@builds.apache.org>
>Date: Tue, Jun 19, 2018 at 4:13 AM
>Subject: Build failed in Jenkins: commons-dbcp #237
>To: <no...@commons.apache.org>
>
>
>See <
>https://builds.apache.org/job/commons-dbcp/237/display/redirect?page=changes
>>
>
>Changes:
>
>[markt] Fill in some gaps in the Javadoc
>
>------------------------------------------
>Started by an SCM change
>[EnvInject] - Loading node environment variables.
>Building remotely on H10 (Hadoop) in workspace <
>https://builds.apache.org/job/commons-dbcp/ws/>
> > git rev-parse --is-inside-work-tree # timeout=10
>Fetching changes from the remote Git repository
> > git config remote.origin.url
>https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
>Fetching upstream changes from
>https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
> > git --version # timeout=10
> > git fetch --tags --progress
>https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
>+refs/heads/*:refs/remotes/origin/*
> > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
>> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
>Checking out Revision ac934778af1eeb4d6dba25a7351c59430a3c8fc9
>(refs/remotes/origin/master)
> > git config core.sparsecheckout # timeout=10
> > git checkout -f ac934778af1eeb4d6dba25a7351c59430a3c8fc9
>Commit message: "Fill in some gaps in the Javadoc"
> > git rev-list --no-walk c50607e7c834422c7fd926a345b1badebd1a2675 #
>timeout=10
>Parsing POMs
>Established TCP socket on 48797
>maven35-agent.jar already up to date
>maven35-interceptor.jar already up to date
>maven3-interceptor-commons.jar already up to date
>[commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g
>-Xms256m -cp
>/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
>jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/
>/home/jenkins/jenkins-slave/slave.jar
>/home/jenkins/jenkins-slave/maven35-interceptor.jar
>/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 48797
><===[JENKINS REMOTING CAPACITY]===>   channel started
>Executing Maven:  -B -f <
>https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
>-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V
>clean install --batch-mode -Dgpg.skip -Prelease
> [1mApache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
>2017-10-18T07:58:13Z) [m
>Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
>Java version: 1.8.0_172, vendor: Oracle Corporation
>Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
>Default locale: en_US, platform encoding: ISO-8859-1
>OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family:
>"unix"
>[INFO] Scanning for projects...
>[WARNING] The project
>org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT
>uses prerequisites which is only intended for maven-plugin projects but
>not
>for non maven-plugin projects. For such purposes you should use the
>maven-enforcer-plugin. See
>https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
>[INFO]
>[INFO]
>------------------------------------------------------------------------
>[INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
>[INFO]
>------------------------------------------------------------------------
>[INFO]
>[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
>commons-dbcp2
>---
>[INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
>[INFO]
>[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce
>(enforce-maven-version) @
>commons-dbcp2 ---
>[INFO]
>[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @
>commons-dbcp2 ---
>[INFO]
>[INFO] --- build-helper-maven-plugin:3.0.0:parse-version
>(parse-version) @
>commons-dbcp2 ---
>[INFO]
>[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @
>commons-dbcp2
>---
>[INFO] Executing tasks
>
>main:
>     [copy] Copying 2 files to <
>https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
>[INFO] Executed tasks
>[INFO]
>[INFO] --- maven-remote-resources-plugin:1.5:process
>(process-resource-bundles) @ commons-dbcp2 ---
>[INFO]
>[INFO] --- buildnumber-maven-plugin:1.4:create (default) @
>commons-dbcp2 ---
>[INFO] Executing: /bin/sh -c cd '<
>https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
>'--verify' 'HEAD'
>[INFO] Working directory:
><https://builds.apache.org/job/commons-dbcp/ws/>
>[INFO] Storing buildNumber: ac934778af1eeb4d6dba25a7351c59430a3c8fc9 at
>timestamp: 1529403164143
>[WARNING] Cannot get the branch information from the git repository:
>Detecting the current branch failed: fatal: ref HEAD is not a symbolic
>ref
>
>[INFO] Executing: /bin/sh -c cd '<
>https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
>'--verify' 'HEAD'
>[INFO] Working directory:
><https://builds.apache.org/job/commons-dbcp/ws/>
>[INFO] Storing buildScmBranch: UNKNOWN
>[INFO]
>[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @
>commons-dbcp2 ---
>[INFO] Using 'UTF-8' encoding to copy filtered resources.
>[INFO] Copying 1 resource
>[INFO] Copying 2 resources to META-INF
>[INFO]
>[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
>commons-dbcp2 ---
>[INFO] Changes detected - recompiling the module!
>[INFO] Compiling 60 source files to <
>https://builds.apache.org/job/commons-dbcp/ws/target/classes>
>[INFO] -------------------------------------------------------------
>[ERROR] COMPILATION ERROR :
>[INFO] -------------------------------------------------------------
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2297,42]
>type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>take
>parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2466,61]
>type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>take
>parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,38]
>type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>take
>parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,95]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericObjectPoolConfig
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>  reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[INFO] 12 errors
>[INFO] -------------------------------------------------------------
>[INFO]
>------------------------------------------------------------------------
>[INFO] BUILD FAILURE
>[INFO]
>------------------------------------------------------------------------
>[INFO] Total time: 24.199 s
>[INFO] Finished at: 2018-06-19T10:12:57Z
>[INFO] Final Memory: 30M/402M
>[INFO]
>------------------------------------------------------------------------
>Waiting for Jenkins to finish collecting data
>[ERROR] Failed to execute goal
>org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
>(default-compile) on project commons-dbcp2: Compilation failure:
>Compilation failure:
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2297,42]
>type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>take
>parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2466,61]
>type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>take
>parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,38]
>type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not
>take
>parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,95]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericObjectPoolConfig
>[ERROR] reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericObjectPoolConfig
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47]
>type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does
>not
>take parameters
>[ERROR] <
>https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118]
>cannot infer type arguments for
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] reason: cannot use '<>' with non-generic class
>org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
>[ERROR] -> [Help 1]
>[ERROR]
>[ERROR] To see the full stack trace of the errors, re-run Maven with
>the -e
>switch.
>[ERROR] Re-run Maven using the -X switch to enable full debug logging.
>[ERROR]
>[ERROR] For more information about the errors and possible solutions,
>please read the following articles:
>[ERROR] [Help 1]
>http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>[JENKINS] Archiving
><https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
>to
>org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
>Sending e-mails to: notifications@commons.apache.org
>channel stopped


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Fwd: Build failed in Jenkins: commons-dbcp #237

Posted by Gary Gregory <ga...@gmail.com>.
Mark,

I'm not sure what compiler you are using, but these changes break the build
in Jenkins, in my local Eclipse workspace, and with Maven and Orcale Java
8. Please fix:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2297,42]
type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take
parameters
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2466,61]
type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take
parameters
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,47]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java:[312,118]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,47]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java:[74,118]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,47]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java:[185,118]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,38]
type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take
parameters
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java:[2262,95]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,43]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR]
/C:/vcs/git/apache/commons/commons-dbcp/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java:[176,110]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig

Gary

---------- Forwarded message ---------
From: Apache Jenkins Server <je...@builds.apache.org>
Date: Tue, Jun 19, 2018 at 4:13 AM
Subject: Build failed in Jenkins: commons-dbcp #237
To: <no...@commons.apache.org>


See <
https://builds.apache.org/job/commons-dbcp/237/display/redirect?page=changes
>

Changes:

[markt] Fill in some gaps in the Javadoc

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H10 (Hadoop) in workspace <
https://builds.apache.org/job/commons-dbcp/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url
https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
Fetching upstream changes from
https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
 > git --version # timeout=10
 > git fetch --tags --progress
https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
+refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision ac934778af1eeb4d6dba25a7351c59430a3c8fc9
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ac934778af1eeb4d6dba25a7351c59430a3c8fc9
Commit message: "Fill in some gaps in the Javadoc"
 > git rev-list --no-walk c50607e7c834422c7fd926a345b1badebd1a2675 #
timeout=10
Parsing POMs
Established TCP socket on 48797
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g
-Xms256m -cp
/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/
/home/jenkins/jenkins-slave/slave.jar
/home/jenkins/jenkins-slave/maven35-interceptor.jar
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 48797
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <
https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V
clean install --batch-mode -Dgpg.skip -Prelease
 [1mApache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
2017-10-18T07:58:13Z) [m
Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
Java version: 1.8.0_172, vendor: Oracle Corporation
Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family:
"unix"
[INFO] Scanning for projects...
[WARNING] The project org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT
uses prerequisites which is only intended for maven-plugin projects but not
for non maven-plugin projects. For such purposes you should use the
maven-enforcer-plugin. See
https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ commons-dbcp2
---
[INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @
commons-dbcp2 ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @
commons-dbcp2 ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (parse-version) @
commons-dbcp2 ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ commons-dbcp2
---
[INFO] Executing tasks

main:
     [copy] Copying 2 files to <
https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ commons-dbcp2 ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ commons-dbcp2 ---
[INFO] Executing: /bin/sh -c cd '<
https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
'--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildNumber: ac934778af1eeb4d6dba25a7351c59430a3c8fc9 at
timestamp: 1529403164143
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd '<
https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse'
'--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @
commons-dbcp2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources to META-INF
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
commons-dbcp2 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 60 source files to <
https://builds.apache.org/job/commons-dbcp/ws/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2297,42]
type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take
parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2466,61]
type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take
parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,38]
type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take
parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,95]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[INFO] 12 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 24.199 s
[INFO] Finished at: 2018-06-19T10:12:57Z
[INFO] Final Memory: 30M/402M
[INFO]
------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
(default-compile) on project commons-dbcp2: Compilation failure:
Compilation failure:
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2297,42]
type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take
parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2466,61]
type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take
parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,38]
type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take
parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,95]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47]
type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not
take parameters
[ERROR] <
https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118]
cannot infer type arguments for
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving <https://builds.apache.org/job/commons-dbcp/ws/pom.xml>
to
org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped

Build failed in Jenkins: commons-dbcp #237

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/commons-dbcp/237/display/redirect?page=changes>

Changes:

[markt] Fill in some gaps in the Javadoc

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H10 (Hadoop) in workspace <https://builds.apache.org/job/commons-dbcp/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/commons-dbcp.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision ac934778af1eeb4d6dba25a7351c59430a3c8fc9 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ac934778af1eeb4d6dba25a7351c59430a3c8fc9
Commit message: "Fill in some gaps in the Javadoc"
 > git rev-list --no-walk c50607e7c834422c7fd926a345b1badebd1a2675 # timeout=10
Parsing POMs
Established TCP socket on 48797
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/ /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 48797
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V clean install --batch-mode -Dgpg.skip -Prelease
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
Java version: 1.8.0_172, vendor: Oracle Corporation
Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[WARNING] The project org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ commons-dbcp2 ---
[INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @ commons-dbcp2 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (parse-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ commons-dbcp2 ---
[INFO] Executing tasks

main:
     [copy] Copying 2 files to <https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ commons-dbcp2 ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ commons-dbcp2 ---
[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildNumber: ac934778af1eeb4d6dba25a7351c59430a3c8fc9 at timestamp: 1529403164143
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ commons-dbcp2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ commons-dbcp2 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 60 source files to <https://builds.apache.org/job/commons-dbcp/ws/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2297,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2466,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[INFO] 12 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.199 s
[INFO] Finished at: 2018-06-19T10:12:57Z
[INFO] Final Memory: 30M/402M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project commons-dbcp2: Compilation failure: Compilation failure:
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2297,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2466,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2262,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped

Build failed in Jenkins: commons-dbcp #236

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/commons-dbcp/236/display/redirect?page=changes>

Changes:

[markt] Fix [Find|Spot]Bugs locking warning

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H10 (Hadoop) in workspace <https://builds.apache.org/job/commons-dbcp/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/commons-dbcp.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision c50607e7c834422c7fd926a345b1badebd1a2675 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c50607e7c834422c7fd926a345b1badebd1a2675
Commit message: "Fix [Find|Spot]Bugs locking warning"
 > git rev-list --no-walk 6fac1ecfdbc6d088498b1e7a5556c7041c86bbed # timeout=10
Parsing POMs
Established TCP socket on 33795
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/ /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 33795
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V clean install --batch-mode -Dgpg.skip -Prelease
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
Java version: 1.8.0_172, vendor: Oracle Corporation
Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[WARNING] The project org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ commons-dbcp2 ---
[INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @ commons-dbcp2 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (parse-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ commons-dbcp2 ---
[INFO] Executing tasks

main:
     [copy] Copying 2 files to <https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ commons-dbcp2 ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ commons-dbcp2 ---
[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildNumber: c50607e7c834422c7fd926a345b1badebd1a2675 at timestamp: 1529400617239
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ commons-dbcp2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ commons-dbcp2 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 60 source files to <https://builds.apache.org/job/commons-dbcp/ws/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2288,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2453,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[INFO] 12 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.099 s
[INFO] Finished at: 2018-06-19T09:30:28Z
[INFO] Final Memory: 28M/299M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project commons-dbcp2: Compilation failure: Compilation failure:
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2288,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2453,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped

Build failed in Jenkins: commons-dbcp #235

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/commons-dbcp/235/display/redirect?page=changes>

Changes:

[markt] Better super constructor to avoid unused parameter

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H10 (Hadoop) in workspace <https://builds.apache.org/job/commons-dbcp/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/commons-dbcp.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 6fac1ecfdbc6d088498b1e7a5556c7041c86bbed (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6fac1ecfdbc6d088498b1e7a5556c7041c86bbed
Commit message: "Better super constructor to avoid unused parameter"
 > git rev-list --no-walk 2d9149dc807556bdce029b966e1775d768b284b9 # timeout=10
Parsing POMs
Established TCP socket on 56172
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/ /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 56172
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V clean install --batch-mode -Dgpg.skip -Prelease
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
Java version: 1.8.0_172, vendor: Oracle Corporation
Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[WARNING] The project org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ commons-dbcp2 ---
[INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @ commons-dbcp2 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (parse-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ commons-dbcp2 ---
[INFO] Executing tasks

main:
     [copy] Copying 2 files to <https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ commons-dbcp2 ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ commons-dbcp2 ---
[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildNumber: 6fac1ecfdbc6d088498b1e7a5556c7041c86bbed at timestamp: 1529400101367
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ commons-dbcp2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ commons-dbcp2 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 60 source files to <https://builds.apache.org/job/commons-dbcp/ws/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2288,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2453,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[INFO] 12 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.921 s
[INFO] Finished at: 2018-06-19T09:21:50Z
[INFO] Final Memory: 30M/372M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project commons-dbcp2: Compilation failure: Compilation failure:
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2288,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2453,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped

Build failed in Jenkins: commons-dbcp #234

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/commons-dbcp/234/display/redirect?page=changes>

Changes:

[markt] Fix Javadoc warnings

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H10 (Hadoop) in workspace <https://builds.apache.org/job/commons-dbcp/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/commons-dbcp.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/commons-dbcp.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/commons-dbcp.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 2d9149dc807556bdce029b966e1775d768b284b9 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2d9149dc807556bdce029b966e1775d768b284b9
Commit message: "Fix Javadoc warnings"
 > git rev-list --no-walk 7a2d76735fce33b815c9fd674b1c3e3eeb3aebf0 # timeout=10
Parsing POMs
Established TCP socket on 42553
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-dbcp] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/ /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 42553
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -V clean install --batch-mode -Dgpg.skip -Prelease
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: /usr/local/asfpackages/maven/apache-maven-3.5.2
Java version: 1.8.0_172, vendor: Oracle Corporation
Java home: /usr/local/asfpackages/java/jdk1.8.0_172/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.13.0-137-generic", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[WARNING] The project org.apache.commons:commons-dbcp2:jar:2.5.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Commons DBCP 2.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ commons-dbcp2 ---
[INFO] Deleting <https://builds.apache.org/job/commons-dbcp/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-3) @ commons-dbcp2 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (parse-version) @ commons-dbcp2 ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ commons-dbcp2 ---
[INFO] Executing tasks

main:
     [copy] Copying 2 files to <https://builds.apache.org/job/commons-dbcp/ws/target/apidocs/META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ commons-dbcp2 ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ commons-dbcp2 ---
[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildNumber: 2d9149dc807556bdce029b966e1775d768b284b9 at timestamp: 1529399934396
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/commons-dbcp/ws/'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/commons-dbcp/ws/>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ commons-dbcp2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ commons-dbcp2 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 60 source files to <https://builds.apache.org/job/commons-dbcp/ws/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2288,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2453,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
  reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[INFO] 12 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.061 s
[INFO] Finished at: 2018-06-19T09:19:04Z
[INFO] Final Memory: 28M/296M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project commons-dbcp2: Compilation failure: Compilation failure:
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2288,42] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2453,61] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,43] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/datasources/SharedPoolDataSource.java>:[176,110] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,38] type org.apache.commons.pool2.impl.GenericObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java>:[2253,95] cannot infer type arguments for org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java>:[312,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java>:[185,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,47] type org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig does not take parameters
[ERROR] <https://builds.apache.org/job/commons-dbcp/ws/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java>:[74,118] cannot infer type arguments for org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] reason: cannot use '<>' with non-generic class org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped