transmittable-thread-local
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.alibaba</groupId> <artifactId>transmittable-thread-local</artifactId> <version>2.8.1</version> </dependency>
<?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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.alibaba</groupId> <artifactId>transmittable-thread-local</artifactId> <name>TransmittableThreadLocal(TTL)</name> <version>2.8.1</version> <description>The missing std Java™ lib(simple & 0-dependency) for framework/middleware, transmitting ThreadLocal value between threads even using thread pooling components.</description> <url>https://github.com/alibaba/transmittable-thread-local</url> <issueManagement> <system>GitHub Issues</system> <url>https://github.com/alibaba/transmittable-thread-local/issues</url> </issueManagement> <inceptionYear>2013</inceptionYear> <developers> <developer> <id>oldratlee</id> <name>Jerry Lee</name> <email>oldratlee(AT)gmail(DOT)com</email> <organization>Alibaba</organization> <organizationUrl>http://www.alibaba.com</organizationUrl> <roles> <role>Developer</role> </roles> <timezone>+8</timezone> </developer> <developer> <id>driventokill</id> <name>Yang Fang</name> <email>snoop(DOT)fy(AT)gmail(DOT)com</email> <organization>Alibaba</organization> <organizationUrl>http://www.alibaba.com</organizationUrl> <roles> <role>Developer</role> </roles> <timezone>+8</timezone> </developer> <developer> <id>wuwen</id> <name>wuwen</name> <email>wuwen.55(AT)aliyun(DOT)com</email> <organization>ofpay</organization> <organizationUrl>http://www.ofpay.com</organizationUrl> <roles> <role>Developer</role> </roles> <timezone>+8</timezone> </developer> <developer> <id>LNAmp</id> <name>David Dai</name> <email>351450944(AT)qq(DOT)com</email> <organization>Alibaba</organization> <organizationUrl>http://www.alibaba.com</organizationUrl> <roles> <role>Developer</role> </roles> <timezone>+8</timezone> </developer> </developers> <licenses> <license> <name>Apache 2</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <scm> <connection>scm:git:git@github.com:alibaba/transmittable-thread-local.git</connection> <developerConnection>scm:git:git@github.com:alibaba/transmittable-thread-local.git</developerConnection> <url>git@github.com:alibaba/transmittable-thread-local.git</url> </scm> <organization> <name>Alibaba</name> <url>http://www.alibaba.com</url> </organization> <build> <plugins> <plugin> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-plugin</artifactId> <version>${kotlin.version}</version> <executions> <execution> <id>compile</id> <goals> <goal>compile</goal> </goals> <configuration> <sourceDirs> <sourceDir>${project.basedir}/src/main/java</sourceDir> </sourceDirs> </configuration> </execution> <execution> <id>test-compile</id> <goals> <goal>test-compile</goal> </goals> <configuration> <sourceDirs> <sourceDir>${project.basedir}/src/test/java</sourceDir> </sourceDirs> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <executions> <execution> <id>default-compile</id> <phase>none</phase> </execution> <execution> <id>default-testCompile</id> <phase>none</phase> </execution> <execution> <id>java-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> </execution> <execution> <id>java-test-compile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> </execution> </executions> <configuration> <source>1.6</source> <target>1.6</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.1.0</version> <configuration> <archive> <manifestEntries> <Premain-Class>com.alibaba.ttl.threadpool.agent.TtlAgent</Premain-Class> <Boot-Class-Path>${project.artifactId}-${project.version}.jar</Boot-Class-Path> <Can-Redefine-Classes>false</Can-Redefine-Classes> <Can-Retransform-Classes>true</Can-Retransform-Classes> <Can-Set-Native-Method-Prefix>false</Can-Set-Native-Method-Prefix> </manifestEntries> </archive> </configuration> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.0</version> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.7.1</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <createSourcesJar>true</createSourcesJar> <relocations> <relocation> <pattern>javassist</pattern> <shadedPattern>com.alibaba.ttl.internal.javassist</shadedPattern> </relocation> </relocations> <artifactSet> <excludes> <exclude>com.google.code.findbugs:jsr305</exclude> </excludes> </artifactSet> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M2</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>3.5.4</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>gen-src+doc</id> <build> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> <goal>jar-no-fork</goal> </goals> </execution> </executions> <inherited>true</inherited> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <additionalJOptions> <additionalJOption>-html5</additionalJOption> <additionalJOption>-J-Duser.language=en</additionalJOption> <additionalJOption>-J-Duser.country=US</additionalJOption> </additionalJOptions> <show>protected</show> <charset>UTF-8</charset> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <links> <link>https://docs.oracle.com/javase/10/docs/api</link> </links> <excludePackageNames>*.internal.*</excludePackageNames> <overview>src/api/overview.html</overview> </configuration> </execution> <execution> <id>attach-javadoc</id> <goals> <goal>jar</goal> </goals> <configuration> <additionalJOptions> <additionalJOption>-html5</additionalJOption> <additionalJOption>-J-Duser.language=en</additionalJOption> <additionalJOption>-J-Duser.country=US</additionalJOption> </additionalJOptions> <show>protected</show> <charset>UTF-8</charset> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <links> <link>https://docs.oracle.com/javase/10/docs/api</link> </links> <excludePackageNames>*.internal.*</excludePackageNames> <overview>src/api/overview.html</overview> </configuration> </execution> </executions> <inherited>true</inherited> <configuration> <additionalJOptions> <additionalJOption>-html5</additionalJOption> <additionalJOption>-J-Duser.language=en</additionalJOption> <additionalJOption>-J-Duser.country=US</additionalJOption> </additionalJOptions> <show>protected</show> <charset>UTF-8</charset> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <links> <link>https://docs.oracle.com/javase/10/docs/api</link> </links> <excludePackageNames>*.internal.*</excludePackageNames> <overview>src/api/overview.html</overview> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>gen-sign</id> <build> <plugins> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>gen-git-properties</id> <build> <plugins> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>2.2.5</version> <executions> <execution> <id>get-the-git-infos</id> <goals> <goal>revision</goal> </goals> <configuration> <validationProperties> <validationProperty> <name>validating git dirty</name> <value>${git.dirty}</value> <shouldMatchTo>false</shouldMatchTo> </validationProperty> </validationProperties> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>/Users/jerry/Codes/floware/0service-frameworks/transmittable-thread-local/target/classes/META-INF/scm/com.alibaba/transmittable-thread-local/git.properties</generateGitPropertiesFilename> </configuration> </execution> <execution> <id>validate-the-git-infos</id> <goals> <goal>validateRevision</goal> </goals> <configuration> <validationProperties> <validationProperty> <name>validating git dirty</name> <value>${git.dirty}</value> <shouldMatchTo>false</shouldMatchTo> </validationProperty> </validationProperties> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>/Users/jerry/Codes/floware/0service-frameworks/transmittable-thread-local/target/classes/META-INF/scm/com.alibaba/transmittable-thread-local/git.properties</generateGitPropertiesFilename> </configuration> </execution> </executions> <configuration> <validationProperties> <validationProperty> <name>validating git dirty</name> <value>${git.dirty}</value> <shouldMatchTo>false</shouldMatchTo> </validationProperty> </validationProperties> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>/Users/jerry/Codes/floware/0service-frameworks/transmittable-thread-local/target/classes/META-INF/scm/com.alibaba/transmittable-thread-local/git.properties</generateGitPropertiesFilename> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>travis</id> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.2</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> <configuration> <excludes> <exclude>com/alibaba/ttl/threadpool/agent/**/*.class</exclude> <exclude>com/alibaba/ttl/TtlTimerTask.class</exclude> </excludes> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>above-jdk9</id> <build> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <additionalJOptions> <additionalJOption>-html5</additionalJOption> <additionalJOption>-J-Duser.language=en</additionalJOption> <additionalJOption>-J-Duser.country=US</additionalJOption> </additionalJOptions> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>force-jdk-10+when-do-release</id> <build> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-jdk-versions</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireJavaVersion> <version>[10,)</version> </requireJavaVersion> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib</artifactId> <version>1.2.71</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>kotlin-stdlib-common</artifactId> <groupId>org.jetbrains.kotlin</groupId> </exclusion> <exclusion> <artifactId>annotations</artifactId> <groupId>org.jetbrains</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.5</version> <scope>test</scope> </dependency> </dependencies> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <properties> <kotlin.version>1.2.71</kotlin.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> </project>