Download p6spy-2.1.4.jar file

Introduction

You can download p6spy-2.1.4.jar in this page.

License

Apache License, Version 2.0

Type List

p6spy-2.1.4.jar file has the following types.

LICENSE
META-INF/MANIFEST.MF
META-INF/maven/p6spy/p6spy/pom.properties
META-INF/maven/p6spy/p6spy/pom.xml
META-INF/services/java.sql.Driver
NOTICE
asm-license.txt
com.p6spy.cglib.asm.AnnotationVisitor.class
com.p6spy.cglib.asm.AnnotationWriter.class
com.p6spy.cglib.asm.Attribute.class
com.p6spy.cglib.asm.ByteVector.class
com.p6spy.cglib.asm.ClassAdapter.class
com.p6spy.cglib.asm.ClassReader.class
com.p6spy.cglib.asm.ClassVisitor.class
com.p6spy.cglib.asm.ClassWriter.class
com.p6spy.cglib.asm.Edge.class
com.p6spy.cglib.asm.FieldVisitor.class
com.p6spy.cglib.asm.FieldWriter.class
com.p6spy.cglib.asm.Frame.class
com.p6spy.cglib.asm.Handler.class
com.p6spy.cglib.asm.Item.class
com.p6spy.cglib.asm.Label.class
com.p6spy.cglib.asm.MethodAdapter.class
com.p6spy.cglib.asm.MethodVisitor.class
com.p6spy.cglib.asm.MethodWriter.class
com.p6spy.cglib.asm.Opcodes.class
com.p6spy.cglib.asm.Type.class
com.p6spy.cglib.asm.signature.SignatureReader.class
com.p6spy.cglib.asm.signature.SignatureVisitor.class
com.p6spy.cglib.asm.signature.SignatureWriter.class
com.p6spy.cglib.beans.BeanCopier.class
com.p6spy.cglib.beans.BeanGenerator.class
com.p6spy.cglib.beans.BeanMap.class
com.p6spy.cglib.beans.BeanMapEmitter.class
com.p6spy.cglib.beans.BulkBean.class
com.p6spy.cglib.beans.BulkBeanEmitter.class
com.p6spy.cglib.beans.BulkBeanException.class
com.p6spy.cglib.beans.FixedKeySet.class
com.p6spy.cglib.beans.ImmutableBean.class
com.p6spy.cglib.core.AbstractClassGenerator.class
com.p6spy.cglib.core.Block.class
com.p6spy.cglib.core.ClassEmitter.class
com.p6spy.cglib.core.ClassGenerator.class
com.p6spy.cglib.core.ClassInfo.class
com.p6spy.cglib.core.ClassNameReader.class
com.p6spy.cglib.core.ClassesKey.class
com.p6spy.cglib.core.CodeEmitter.class
com.p6spy.cglib.core.CodeGenerationException.class
com.p6spy.cglib.core.CollectionUtils.class
com.p6spy.cglib.core.Constants.class
com.p6spy.cglib.core.Converter.class
com.p6spy.cglib.core.Customizer.class
com.p6spy.cglib.core.DebuggingClassWriter.class
com.p6spy.cglib.core.DefaultGeneratorStrategy.class
com.p6spy.cglib.core.DefaultNamingPolicy.class
com.p6spy.cglib.core.DuplicatesPredicate.class
com.p6spy.cglib.core.EmitUtils.class
com.p6spy.cglib.core.GeneratorStrategy.class
com.p6spy.cglib.core.KeyFactory.class
com.p6spy.cglib.core.Local.class
com.p6spy.cglib.core.LocalVariablesSorter.class
com.p6spy.cglib.core.MethodInfo.class
com.p6spy.cglib.core.MethodInfoTransformer.class
com.p6spy.cglib.core.MethodWrapper.class
com.p6spy.cglib.core.NamingPolicy.class
com.p6spy.cglib.core.ObjectSwitchCallback.class
com.p6spy.cglib.core.Predicate.class
com.p6spy.cglib.core.ProcessArrayCallback.class
com.p6spy.cglib.core.ProcessSwitchCallback.class
com.p6spy.cglib.core.ReflectUtils.class
com.p6spy.cglib.core.RejectModifierPredicate.class
com.p6spy.cglib.core.Signature.class
com.p6spy.cglib.core.TinyBitSet.class
com.p6spy.cglib.core.Transformer.class
com.p6spy.cglib.core.TypeUtils.class
com.p6spy.cglib.core.VisibilityPredicate.class
com.p6spy.cglib.proxy.BridgeMethodResolver.class
com.p6spy.cglib.proxy.Callback.class
com.p6spy.cglib.proxy.CallbackFilter.class
com.p6spy.cglib.proxy.CallbackGenerator.class
com.p6spy.cglib.proxy.CallbackHelper.class
com.p6spy.cglib.proxy.CallbackInfo.class
com.p6spy.cglib.proxy.Dispatcher.class
com.p6spy.cglib.proxy.DispatcherGenerator.class
com.p6spy.cglib.proxy.Enhancer.class
com.p6spy.cglib.proxy.Factory.class
com.p6spy.cglib.proxy.FixedValue.class
com.p6spy.cglib.proxy.FixedValueGenerator.class
com.p6spy.cglib.proxy.InterfaceMaker.class
com.p6spy.cglib.proxy.InvocationHandler.class
com.p6spy.cglib.proxy.InvocationHandlerGenerator.class
com.p6spy.cglib.proxy.LazyLoader.class
com.p6spy.cglib.proxy.LazyLoaderGenerator.class
com.p6spy.cglib.proxy.MethodInterceptor.class
com.p6spy.cglib.proxy.MethodInterceptorGenerator.class
com.p6spy.cglib.proxy.MethodProxy.class
com.p6spy.cglib.proxy.Mixin.class
com.p6spy.cglib.proxy.MixinBeanEmitter.class
com.p6spy.cglib.proxy.MixinEmitter.class
com.p6spy.cglib.proxy.MixinEverythingEmitter.class
com.p6spy.cglib.proxy.NoOp.class
com.p6spy.cglib.proxy.NoOpGenerator.class
com.p6spy.cglib.proxy.Proxy.class
com.p6spy.cglib.proxy.ProxyRefDispatcher.class
com.p6spy.cglib.proxy.UndeclaredThrowableException.class
com.p6spy.cglib.reflect.ConstructorDelegate.class
com.p6spy.cglib.reflect.FastClass.class
com.p6spy.cglib.reflect.FastClassEmitter.class
com.p6spy.cglib.reflect.FastConstructor.class
com.p6spy.cglib.reflect.FastMember.class
com.p6spy.cglib.reflect.FastMethod.class
com.p6spy.cglib.reflect.MethodDelegate.class
com.p6spy.cglib.reflect.MulticastDelegate.class
com.p6spy.cglib.transform.AbstractClassFilterTransformer.class
com.p6spy.cglib.transform.AbstractClassLoader.class
com.p6spy.cglib.transform.AbstractClassTransformer.class
com.p6spy.cglib.transform.AbstractProcessTask.class
com.p6spy.cglib.transform.AbstractTransformTask.class
com.p6spy.cglib.transform.AnnotationVisitorTee.class
com.p6spy.cglib.transform.ClassEmitterTransformer.class
com.p6spy.cglib.transform.ClassFilter.class
com.p6spy.cglib.transform.ClassFilterTransformer.class
com.p6spy.cglib.transform.ClassReaderGenerator.class
com.p6spy.cglib.transform.ClassTransformer.class
com.p6spy.cglib.transform.ClassTransformerChain.class
com.p6spy.cglib.transform.ClassTransformerFactory.class
com.p6spy.cglib.transform.ClassTransformerTee.class
com.p6spy.cglib.transform.ClassVisitorTee.class
com.p6spy.cglib.transform.FieldVisitorTee.class
com.p6spy.cglib.transform.MethodFilter.class
com.p6spy.cglib.transform.MethodFilterTransformer.class
com.p6spy.cglib.transform.MethodVisitorTee.class
com.p6spy.cglib.transform.TransformingClassGenerator.class
com.p6spy.cglib.transform.TransformingClassLoader.class
com.p6spy.cglib.transform.impl.AbstractInterceptFieldCallback.class
com.p6spy.cglib.transform.impl.AccessFieldTransformer.class
com.p6spy.cglib.transform.impl.AddDelegateTransformer.class
com.p6spy.cglib.transform.impl.AddInitTransformer.class
com.p6spy.cglib.transform.impl.AddPropertyTransformer.class
com.p6spy.cglib.transform.impl.AddStaticInitTransformer.class
com.p6spy.cglib.transform.impl.FieldProvider.class
com.p6spy.cglib.transform.impl.FieldProviderTransformer.class
com.p6spy.cglib.transform.impl.InterceptFieldCallback.class
com.p6spy.cglib.transform.impl.InterceptFieldEnabled.class
com.p6spy.cglib.transform.impl.InterceptFieldFilter.class
com.p6spy.cglib.transform.impl.InterceptFieldTransformer.class
com.p6spy.cglib.transform.impl.UndeclaredThrowableStrategy.class
com.p6spy.cglib.transform.impl.UndeclaredThrowableTransformer.class
com.p6spy.cglib.util.ParallelSorter.class
com.p6spy.cglib.util.ParallelSorterEmitter.class
com.p6spy.cglib.util.SorterTemplate.class
com.p6spy.cglib.util.StringSwitcher.class
com.p6spy.engine.common.CallableStatementInformation.class
com.p6spy.engine.common.ClassHasher.class
com.p6spy.engine.common.ConnectionInformation.class
com.p6spy.engine.common.CustomHashedHashSet.class
com.p6spy.engine.common.Hasher.class
com.p6spy.engine.common.Loggable.class
com.p6spy.engine.common.P6LogQuery.class
com.p6spy.engine.common.P6ObjectEqualsDelegate.class
com.p6spy.engine.common.P6ProxyUnwrapDelegate.class
com.p6spy.engine.common.P6Util.class
com.p6spy.engine.common.P6WrapperIsWrapperDelegate.class
com.p6spy.engine.common.P6WrapperUnwrapDelegate.class
com.p6spy.engine.common.PreparedStatementInformation.class
com.p6spy.engine.common.ResultSetInformation.class
com.p6spy.engine.common.StatementInformation.class
com.p6spy.engine.logging.Category.class
com.p6spy.engine.logging.P6LogCallableStatementGetResultSetDelegate.class
com.p6spy.engine.logging.P6LogCallableStatementInvocationHandler.class
com.p6spy.engine.logging.P6LogCallableStatementSetParameterValueDelegate.class
com.p6spy.engine.logging.P6LogConnectionCommitDelegate.class
com.p6spy.engine.logging.P6LogConnectionCreateStatementDelegate.class
com.p6spy.engine.logging.P6LogConnectionInvocationHandler.class
com.p6spy.engine.logging.P6LogConnectionPrepareCallDelegate.class
com.p6spy.engine.logging.P6LogConnectionPrepareStatementDelegate.class
com.p6spy.engine.logging.P6LogConnectionRollbackDelegate.class
com.p6spy.engine.logging.P6LogFactory.class
com.p6spy.engine.logging.P6LogLoadableOptions.class
com.p6spy.engine.logging.P6LogOptions.class
com.p6spy.engine.logging.P6LogOptionsMBean.class
com.p6spy.engine.logging.P6LogPreparedStatementAddBatchDelegate.class
com.p6spy.engine.logging.P6LogPreparedStatementExecuteDelegate.class
com.p6spy.engine.logging.P6LogPreparedStatementInvocationHandler.class
com.p6spy.engine.logging.P6LogPreparedStatementSetParameterValueDelegate.class
com.p6spy.engine.logging.P6LogResultSetCloseDelegate.class
com.p6spy.engine.logging.P6LogResultSetGetColumnValueDelegate.class
com.p6spy.engine.logging.P6LogResultSetInvocationHandler.class
com.p6spy.engine.logging.P6LogResultSetNextDelegate.class
com.p6spy.engine.logging.P6LogStatementAddBatchDelegate.class
com.p6spy.engine.logging.P6LogStatementExecuteBatchDelegate.class
com.p6spy.engine.logging.P6LogStatementExecuteDelegate.class
com.p6spy.engine.logging.P6LogStatementInvocationHandler.class
com.p6spy.engine.outage.InvocationInfo.class
com.p6spy.engine.outage.P6OutageCallableStatementInvocationHandler.class
com.p6spy.engine.outage.P6OutageConnectionCommitDelegate.class
com.p6spy.engine.outage.P6OutageConnectionCreateStatementDelegate.class
com.p6spy.engine.outage.P6OutageConnectionInvocationHandler.class
com.p6spy.engine.outage.P6OutageConnectionPrepareCallDelegate.class
com.p6spy.engine.outage.P6OutageConnectionPrepareStatementDelegate.class
com.p6spy.engine.outage.P6OutageConnectionRollbackDelegate.class
com.p6spy.engine.outage.P6OutageDetector.class
com.p6spy.engine.outage.P6OutageFactory.class
com.p6spy.engine.outage.P6OutageLoadableOptions.class
com.p6spy.engine.outage.P6OutageOptions.class
com.p6spy.engine.outage.P6OutageOptionsMBean.class
com.p6spy.engine.outage.P6OutagePreparedStatementAddBatchDelegate.class
com.p6spy.engine.outage.P6OutagePreparedStatementExecuteDelegate.class
com.p6spy.engine.outage.P6OutagePreparedStatementInvocationHandler.class
com.p6spy.engine.outage.P6OutagePreparedStatementSetParameterValueDelegate.class
com.p6spy.engine.outage.P6OutageStatementAddBatchDelegate.class
com.p6spy.engine.outage.P6OutageStatementExecuteDelegate.class
com.p6spy.engine.outage.P6OutageStatementInvocationHandler.class
com.p6spy.engine.proxy.Delegate.class
com.p6spy.engine.proxy.GenericInvocationHandler.class
com.p6spy.engine.proxy.MethodMatcher.class
com.p6spy.engine.proxy.MethodNameAndParameterLikeMatcher.class
com.p6spy.engine.proxy.MethodNameAndParameterMatcher.class
com.p6spy.engine.proxy.MethodNameMatcher.class
com.p6spy.engine.proxy.P6Proxy.class
com.p6spy.engine.proxy.ProxyFactory.class
com.p6spy.engine.proxy.ProxyNamingPolicy.class
com.p6spy.engine.proxy.cache.Cache.class
com.p6spy.engine.proxy.cache.CacheFactory.class
com.p6spy.engine.proxy.cache.HashMapBasedCache.class
com.p6spy.engine.proxy.cache.MethodMatcherCacheKey.class
com.p6spy.engine.spy.P6Core.class
com.p6spy.engine.spy.P6DataSource.class
com.p6spy.engine.spy.P6DataSourceFactory.class
com.p6spy.engine.spy.P6DriverManagerDataSource.class
com.p6spy.engine.spy.P6DriverNotFoundError.class
com.p6spy.engine.spy.P6Factory.class
com.p6spy.engine.spy.P6LoadableOptions.class
com.p6spy.engine.spy.P6MBeansRegistry.class
com.p6spy.engine.spy.P6ModuleManager.class
com.p6spy.engine.spy.P6PooledConnection.class
com.p6spy.engine.spy.P6SpyDriver.class
com.p6spy.engine.spy.P6SpyFactory.class
com.p6spy.engine.spy.P6SpyLoadableOptions.class
com.p6spy.engine.spy.P6SpyOptions.class
com.p6spy.engine.spy.P6SpyOptionsMBean.class
com.p6spy.engine.spy.P6XAConnection.class
com.p6spy.engine.spy.SpyDotPropertiesReloadChangedListener.class
com.p6spy.engine.spy.appender.BatchFileLogger.class
com.p6spy.engine.spy.appender.FileLogger.class
com.p6spy.engine.spy.appender.FormattedLogger.class
com.p6spy.engine.spy.appender.MessageFormattingStrategy.class
com.p6spy.engine.spy.appender.MultiLineFormat.class
com.p6spy.engine.spy.appender.P6Logger.class
com.p6spy.engine.spy.appender.SingleLineFormat.class
com.p6spy.engine.spy.appender.Slf4JLogger.class
com.p6spy.engine.spy.appender.StdoutLogger.class
com.p6spy.engine.spy.option.EnvironmentVariables.class
com.p6spy.engine.spy.option.P6OptionChangedListener.class
com.p6spy.engine.spy.option.P6OptionsRepository.class
com.p6spy.engine.spy.option.P6OptionsSource.class
com.p6spy.engine.spy.option.SpyDotProperties.class
com.p6spy.engine.spy.option.SpyDotPropertiesReloader.class
com.p6spy.engine.spy.option.SystemProperties.class
org.objectweb.util.monolog.wrapper.p6spy.P6SpyLogger.class

Pom

p6spy-2.1.4.pom file content.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>
  <packaging>jar</packaging>

  <groupId>p6spy</groupId>
  <artifactId>p6spy</artifactId>
  <name>P6Spy</name>
  <version>2.1.4</version>
  <organization>
    <name>P6Spy</name>
  </organization>
  <inceptionYear>2002</inceptionYear>
  <description>
    P6Spy is a framework that enables database activity to be seamlessly intercepted and logged with no code changes to
    existing applications.
  </description>

  <url>http://p6spy.github.io/p6spy/</url>

  <mailingLists>
    <mailingList>
      <name>Developer List</name>
      <post>p6spy-developers@googlegroups.com</post>
      <subscribe>http://groups.google.com/group/p6spy-developers</subscribe>
      <unsubscribe>http://groups.google.com/group/p6spy-developers</unsubscribe>
      <archive>http://groups.google.com/group/p6spy-developers</archive>
    </mailingList>
    <mailingList>
      <name>User's List</name>
      <post>p6spy-users@googlegroups.com</post>
      <subscribe>http://groups.google.com/group/p6spy-users</subscribe>
      <unsubscribe>http://groups.google.com/group/p6spy-users</unsubscribe>
      <archive>http://groups.google.com/group/p6spy-users</archive>
    </mailingList>
  </mailingLists>

  <distributionManagement>
    <site>
      <id>github-pages-site</id>
      <name>Deployment through GitHub's site deployment plugin</name>
      <url>http://p6spy.github.io/p6spy/</url>
    </site>
  </distributionManagement>

  <issueManagement>
    <system>github</system>
    <url>http://github.com/p6spy/p6spy/issues#issue/</url>
  </issueManagement>

  <ciManagement>
    <url>https://travis-ci.org/p6spy/p6spy</url>
    <system>Travis CI</system>
  </ciManagement>

  <developers>
    <developer>
      <id>aarvesen</id>
      <name>Alan Arvesen</name>
      <email>aarvesen@users.sourceforge.net</email>
    </developer>
    <developer>
      <id>bradleydot</id>
      <name>Bradley Johnson</name>
      <email>bradleydot@users.sourceforge.net</email>
    </developer>
    <developer>
      <id>cheechq</id>
      <name>Frank Quatro</name>
      <email>cheechq@users.sourceforge.net</email>
    </developer>
    <developer>
      <id>jeffgoke</id>
      <name>Jeff Goke</name>
      <email>jeffgoke@users.sourceforge.net</email>
    </developer>
    <developer>
      <id>Caleb Cranford</id>
      <name>thinknot</name>
      <email>thinknot@users.sourceforge.net</email>
    </developer>
    <developer>
      <id>Patrick Moore</id>
      <name>patmoore</name>
      <email>patmoore@users.sourceforge.net</email>
    </developer>
    <developer>
      <id>Quinton McCombs</id>
      <name>qmccombs</name>
      <email>quinton.mccombs@gmail.com</email>
    </developer>
    <developer>
      <id>typekpb</id>
      <name>Peter Butkovic</name>
      <email>butkovic@gmail.com</email>
    </developer>
  </developers>

  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>https://raw.github.com/p6spy/p6spy/master/license.txt</url>
    </license>
  </licenses>

  <scm>
    <url>https://github.com/p6spy/p6spy/</url>
    <connection>scm:git:https://github.com/p6spy/p6spy.git</connection>
    <developerConnection>scm:git:https://github.com/p6spy/p6spy.git</developerConnection>
    <tag>HEAD</tag>
  </scm>

  <properties>
    <java-build>1.6</java-build>
    <commons-logging-build>1.1</commons-logging-build>
    <slf4j-build>1.7.7</slf4j-build>
    <log4j-build>1.2.17</log4j-build>
    <log4j2-build>2.0-rc1</log4j2-build>
    <logback-build>1.1.2</logback-build>
    <mysql-connector-java-build>5.1.21</mysql-connector-java-build>
    <!-- please note we use jdbc type 3 here, to prove in tests it works for us, see: https://github.com/p6spy/p6spy/issues/30 -->
    <postgresql-build>9.3-1100-jdbc41</postgresql-build>
    <hsqldb-build>2.3.1</hsqldb-build>
    <h2-build>1.3.173</h2-build>
    <derby-build>10.10.1.1</derby-build>
    <sqlite-build>3.7.2</sqlite-build>
    <cobertura-maven-plugin-build>2.6</cobertura-maven-plugin-build>
    <maven-eclipse-plugin-build>2.9</maven-eclipse-plugin-build>
    <maven-project-info-reports-plugin-build>2.7</maven-project-info-reports-plugin-build>
    <maven-site-plugin-build>3.3</maven-site-plugin-build>
    <maven-surefire-plugin-build>2.17</maven-surefire-plugin-build>
    <commons-digester-build>1.8.1</commons-digester-build>
    <pmd-build>4.2.5</pmd-build>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.version>3.0.4</maven.version>
    <sonar.host.url>http://nemo.sonarqube.org/</sonar.host.url>
  </properties>

  <prerequisites>
    <maven>${maven.version}</maven>
  </prerequisites>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${maven-surefire-plugin-build}</version>
        <configuration>
          <systemPropertyVariables>
            <user.language>en_US</user.language>
            <derby.stream.error.file>target/derby.log</derby.stream.error.file>
          </systemPropertyVariables>
          <!-- to enable remote JMX testing, 
            	see: http://stackoverflow.com/questions/5552960/how-to-connect-to-a-java-program-on-localhost-jvm-using-jmx -->
          <!-- to workaround oracle timezone issue: http://stackoverflow.com/questions/9156379/ora-01882-timezone-region-not-found -->
          <!-- to get rid of DB2 traces => -Ddb2.jcc.override.traceLevel=0
            see: http://publib.boulder.ibm.com/infocenter/idshelp/v111/index.jsp?topic=/com.ibm.jccids.doc/com.ibm.db2.luw.apdv.java.doc/doc/r0052075.htm -->
          <argLine>-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false
            -Dcom.sun.management.jmxremote.port=1234 -Dcom.sun.management.jmxremote.ssl=false
            -Doracle.jdbc.timezoneAsRegion=false -Ddb2.jcc.override.traceLevel=0
          </argLine>
          <includes>
            <include>**/P6Test*.java</include>
            <include>**/*Test.java</include>
          </includes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <version>1.3.1</version>
        <executions>
          <execution>
            <id>enforce-java</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <requireJavaVersion>
                  <!-- require Java 1.7 or later for the build -->
                  <version>(1.7,)</version>
                </requireJavaVersion>
              </rules>
            </configuration>
          </execution>
        </executions>

      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.1</version>
        <configuration>
          <source>${java-build}</source>
          <target>${java-build}</target>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>${cobertura-maven-plugin-build}</version>
        <executions>
          <execution>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <!-- 
        The jar plugin is listed simply to force the execution order
        with the other plugins executing in the package phase
        -->
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.4</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9</version>
        <configuration>
          <quiet>true</quiet>
        </configuration>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>${maven-site-plugin-build}</version>
        <configuration>
          <!-- prevent deploy since that will be handled by the github plugin -->
          <skipDeploy>true</skipDeploy>
        </configuration>
        <dependencies>
          <dependency>
            <groupId>org.apache.maven.doxia</groupId>
            <artifactId>doxia-module-markdown</artifactId>
            <version>1.4</version>
          </dependency>
        </dependencies>
      </plugin>

      <plugin>
        <groupId>com.github.github</groupId>
        <artifactId>site-maven-plugin</artifactId>
        <version>0.10</version>
        <configuration>
          <message>Creating site for ${project.name} v${project.version}</message>
          <oauth2Token>3644419c9515fff26a97516a565594a5b4b58c89</oauth2Token>
          <outputDirectory>${project.build.directory}/staging</outputDirectory>
          <merge>false</merge>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.2.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>${maven-project-info-reports-plugin-build}</version>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.4.1</version>
        <configuration>
          <!-- required to prevent gpg plugin from hanging
             http://jira.codehaus.org/browse/MGPG-9  -->
          <mavenExecutorId>forked-path</mavenExecutorId>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <artifactSet>
            <includes>
              <include>cglib:*</include>
            </includes>
          </artifactSet>
          <relocations>
            <relocation>
              <pattern>net.sf.cglib</pattern>
              <shadedPattern>com.p6spy.cglib</shadedPattern>
            </relocation>
          </relocations>
          <shadedArtifactAttached>false</shadedArtifactAttached>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.4</version>
        <executions>
          <execution>
            <id>nodep</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
            <configuration>
              <appendAssemblyId>true</appendAssemblyId>
              <descriptors>
                <descriptor>src/main/assembly/log4j2-nodep.xml</descriptor>
                <descriptor>src/main/assembly/log4j-nodep.xml</descriptor>
                <descriptor>src/main/assembly/logback-nodep.xml</descriptor>
              </descriptors>
            </configuration>
          </execution>
          <execution>
            <id>distribution</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
            <configuration>
              <appendAssemblyId>false</appendAssemblyId>
              <descriptors>
                <descriptor>src/main/assembly/distribution.xml</descriptor>
              </descriptors>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>license-maven-plugin</artifactId>
        <executions>
          <!-- generate license headers automatically -->
          <execution>
            <id>update licenses</id>
            <goals>
              <goal>update-file-header</goal>
            </goals>
            <phase>process-resources</phase>
            <configuration>
              <failOnMissingHeader>false</failOnMissingHeader>
              <failOnNotUptodateHeader>false</failOnNotUptodateHeader>
            </configuration>
          </execution>
        </executions>
      </plugin>

    </plugins>

    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>license-maven-plugin</artifactId>
          <version>1.5</version>
          <configuration>
            <addSvnKeyWords>false</addSvnKeyWords>
            <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
            <failOnMissingHeader>true</failOnMissingHeader>
            <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
            <licenseName>apache_v2</licenseName>
            <roots>
              <root>src/main/assembly</root>
              <root>src/main/java</root>
              <root>src/main/resources</root>
              <root>src/test/java</root>
              <root>src/test/resources</root>
            </roots>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

  <!-- 
  for providing misc *-nodep artifacts, please note that order matters here
  even if slf4j complains about multiple implementations on classpath, it takes the 1.st one
  and as we use log4j in tests => bridge needs to be the 1.st one specified 
   -->
  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${slf4j-build}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>1.7.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>${log4j-build}</version>
      <scope>provided</scope>
      <exclusions>
        <!-- dependencies show up in 1.2.15 -->
        <exclusion>
          <groupId>com.sun.jmx</groupId>
          <artifactId>jmxri</artifactId>
        </exclusion>
        <exclusion>
          <groupId>com.sun.jdmk</groupId>
          <artifactId>jmxtools</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.jms</groupId>
          <artifactId>jms</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.mail</groupId>
          <artifactId>mail</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-slf4j-impl</artifactId>
      <version>${log4j2-build}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-api</artifactId>
      <version>${log4j2-build}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-core</artifactId>
      <version>${log4j2-build}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <version>${logback-build}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-core</artifactId>
      <version>${logback-build}</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>cglib</groupId>
      <artifactId>cglib-nodep</artifactId>
      <version>2.2.2</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
      <version>4.11</version>
    </dependency>
    <dependency>
      <!-- data source testing through JNDI -->
      <groupId>org.eclipse.jetty</groupId>
      <artifactId>jetty-plus</artifactId>
      <version>8.1.7.v20120910</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <!-- data source testing -->
      <groupId>commons-dbcp</groupId>
      <artifactId>commons-dbcp</artifactId>
      <version>1.4</version>
      <scope>test</scope>
    </dependency>
    <!-- xa datasource testing  -->
    <dependency>
      <groupId>org.codehaus.btm</groupId>
      <artifactId>btm</artifactId>
      <version>2.1.4</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-exec</artifactId>
      <version>1.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jta_1.1_spec</artifactId>
      <version>1.1.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.liquibase</groupId>
      <artifactId>liquibase-core</artifactId>
      <version>3.0.8</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.mattbertolini</groupId>
      <artifactId>liquibase-slf4j</artifactId>
      <version>1.2.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-jdbc</artifactId>
      <version>3.2.4.RELEASE</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <version>3.2.4.RELEASE</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <!-- jmx testing -->
      <groupId>com.j256.simplejmx</groupId>
      <artifactId>simplejmx</artifactId>
      <version>1.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>2.4</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.3.2</version>
      <scope>test</scope>
    </dependency>

    <!-- needed for testing, let's prevent users from needing modify their settings.xml just for the project build -->
    <dependency>
      <groupId>p6spy</groupId>
      <artifactId>p6spy-signedjar-test</artifactId>
      <version>1.0.0</version>
      <scope>system</scope>
      <systemPath>${basedir}/src/test/resources/p6spy-signedjar-test-1.0.0.jar</systemPath>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>1.9.1</version>
      <scope>test</scope>
    </dependency>

    <!-- all the JDBC drivers tested -->
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>${mysql-connector-java-build}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.postgresql</groupId>
      <artifactId>postgresql</artifactId>
      <version>${postgresql-build}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <version>${hsqldb-build}</version>
      <classifier>jdk6debug</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.h2database</groupId>
      <artifactId>h2</artifactId>
      <version>${h2-build}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <!-- Note: This is a type 3 driver! -->
      <groupId>org.xerial</groupId>
      <artifactId>sqlite-jdbc</artifactId>
      <version>${sqlite-build}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>${derby-build}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <!-- Note: they claim this to be type 4.1 driver -->
      <groupId>org.firebirdsql.jdbc</groupId>
      <artifactId>jaybird-jdk17</artifactId>
      <version>2.2.3</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <reportSets>
          <reportSet>
            <id>parent</id>
            <inherited>false</inherited>
            <reports>
              <report>index</report>
              <report>project-team</report>
              <report>mailing-list</report>
              <report>issue-tracking</report>
              <report>scm</report>
              <report>cim</report>
              <report>license</report>
              <report>dependency-info</report>
              <report>dependencies</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <!--
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-plugin-plugin</artifactId>
              <version>3.2</version>
            </plugin>
      -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9</version>
        <configuration>
          <quiet>true</quiet>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
        <version>2.3</version>
      </plugin>
      <!--
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-changelog-plugin</artifactId>
            </plugin>
      -->
      <plugin>
        <groupId>org.codehaus.sonar-plugins</groupId>
        <artifactId>maven-report</artifactId>
        <version>0.1</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>${cobertura-maven-plugin-build}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>${maven-surefire-plugin-build}</version>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.9</version>
        <configuration>
          <includeOpenIssues>false</includeOpenIssues>
          <onlyMilestoneIssues>false</onlyMilestoneIssues>
          <onlyCurrentVersion>false</onlyCurrentVersion>
          <columnNames>Id,Type,Reporter,Summary,Created,Updated,Fix Version</columnNames>
        </configuration>
      </plugin>
    </plugins>
  </reporting>

  <profiles>
    <profile>
      <id>release-sign-artifacts</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.4</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>

        </plugins>
      </build>
    </profile>
    <profile>
      <id>defaultDB</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <systemPropertyVariables>
                <!-- can be started with any DBs to test for, like: "-DDB=H2,HSQLDB" however if none specified, default is H2
                however keep in mind that some tests run with preconfigured drivers (i.e. multidriver, ...)-->
                <DB>${env.DB}</DB>
              </systemPropertyVariables>
              <!-- signed jar proxing -->
              <additionalClasspathElements>
                <additionalClasspathElement>${project.build.directory}/test-classes/p6spy-signedjar-test-1.0.0.jar
                </additionalClasspathElement>
              </additionalClasspathElements>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>

    <profile>
      <id>travis</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <systemPropertyVariables>
                <!-- all the DBs we want to test with -->
                <!-- <DB>PostgreSQL,MySQL,H2,HSQLDB,SQLite,Firebird,Derby,DB2,Oracle</DB> -->
                <DB>PostgreSQL,MySQL,H2,HSQLDB,SQLite,Firebird,Derby,Oracle</DB>
              </systemPropertyVariables>

              <!-- signed jar proxing -->
              <additionalClasspathElements>
                <additionalClasspathElement>
                  ${project.build.directory}/test-classes/p6spy-signedjar-test-1.0.0.jar
                </additionalClasspathElement>
              </additionalClasspathElements>
            </configuration>
          </plugin>

          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>license-maven-plugin</artifactId>
            <executions>
              <!-- check/force licenses on travis only (too late for modifications)
                moreover let's do it prior to "process-resources" phase - as that's where we generate these
                to make sure developer introducing new file, took care of this on his/her local machine -->
              <execution>
                <id>check licenses</id>
                <goals>
                  <goal>check-file-header</goal>
                </goals>
                <phase>generate-resources</phase>
                <configuration>
                  <failOnMissingHeader>true</failOnMissingHeader>
                  <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <!-- please note these are manually imported to local maven repo in scripts/travis/before_install_db2.sh -->
        <!--  		<dependency>
              <groupId>com.ibm.db2</groupId>
                  <artifactId>db2jcc4</artifactId>
                  <version>9.7</version>
                  <scope>test</scope>
            </dependency>
                <dependency>
              <groupId>com.ibm.db2</groupId>
                  <artifactId>db2jcc_license_cu</artifactId>
                  <version>9.7</version>
                  <scope>test</scope>
            </dependency>
         -->
        <!-- fetched from the cloudbees maven repo -->
        <dependency>
          <groupId>com.oracle</groupId>
          <artifactId>ojdbc6</artifactId>
          <version>11.2.0.4</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
    </profile>

  </profiles>

</project>

POM Entry

<dependency>
   <groupId>p6spy</groupId>
   <artifactId>p6spy</artifactId>
   <version>2.1.4</version>
</dependency>

Download

If you think the following p6spy-2.1.4.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.



Download p6spy-2.1.4.jar file




PreviousNext

Related