Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tracingplane-java
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cld
tracing
tracingplane-java
Commits
103eb55e
Commit
103eb55e
authored
May 30, 2017
by
Jonathan Mace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split out distributions
parent
c62df39c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
194 additions
and
81 deletions
+194
-81
dist/github/pom.xml
dist/github/pom.xml
+55
-0
dist/pom.xml
dist/pom.xml
+22
-78
dist/tracingplane/pom.xml
dist/tracingplane/pom.xml
+90
-0
dist/tracingplane/src/main/resources/reference.conf
dist/tracingplane/src/main/resources/reference.conf
+2
-0
dist/tracingplane/src/test/java/brown/tracingplane/TestConfiguration.java
...e/src/test/java/brown/tracingplane/TestConfiguration.java
+25
-0
pom.xml
pom.xml
+0
-3
No files found.
dist/github/pom.xml
0 → 100644
View file @
103eb55e
<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>
brown.tracingplane
</groupId>
<artifactId>
tracingplane-github
</artifactId>
<packaging>
pom
</packaging>
<name>
Tracing Plane Distributions - Github Distribution
</name>
<parent>
<groupId>
brown.tracingplane
</groupId>
<artifactId>
tracingplane-dist-project
</artifactId>
<version>
1.0
</version>
</parent>
<properties>
<tracingplane.root>
${basedir}/../..
</tracingplane.root>
<github.global.userName>
${GITHUB_USERNAME}
</github.global.userName>
<github.global.password>
${GITHUB_OAUTH_TOKEN}
</github.global.password>
</properties>
<build>
<plugins>
<!-- uploads mvn repo dir to github -->
<plugin>
<groupId>
com.github.github
</groupId>
<artifactId>
site-maven-plugin
</artifactId>
<version>
0.12
</version>
<configuration>
<message>
Maven artifacts for ${project.version}
</message>
<!-- git commit message -->
<noJekyll>
true
</noJekyll>
<!-- disable webpage processing -->
<outputDirectory>
${tracingplane.root}/target/mvn-repo
</outputDirectory>
<!-- matches distribution management repository url above -->
<branch>
refs/heads/mvn-repo
</branch>
<!-- remote branch name -->
<includes>
<include>
**/*
</include>
</includes>
<repositoryName>
tracingplane-java
</repositoryName>
<!-- github repo name -->
<repositoryOwner>
tracingplane
</repositoryOwner>
<!-- github repo owner -->
</configuration>
<executions>
<execution>
<goals>
<goal>
site
</goal>
</goals>
<phase>
deploy
</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
dist/pom.xml
View file @
103eb55e
<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>
brown.tracingplane
</groupId>
<artifactId>
tracingplane-dist
</artifactId>
<packaging>
pom
</packaging>
<name>
Tracing Plane - Dist
</name>
<parent>
<groupId>
brown.tracingplane
</groupId>
<artifactId>
tracingplane-project
</artifactId>
<version>
1.0
</version>
</parent>
<properties>
<tracingplane.root>
${basedir}/..
</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>
brown.tracingplane
</groupId>
<artifactId>
bdl-baggagecontext
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- copies all dependent JARs into the project build directory -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-dependency-plugin
</artifactId>
<version>
2.8
</version>
<executions>
<execution>
<id>
copy-artifact
</id>
<phase>
package
</phase>
<goals>
<goal>
copy-dependencies
</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.directory}
</outputDirectory>
<overWriteReleases>
true
</overWriteReleases>
<overWriteSnapshots>
true
</overWriteSnapshots>
<overWriteIfNewer>
true
</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<!-- uploads mvn repo dir to github -->
<plugin>
<groupId>
com.github.github
</groupId>
<artifactId>
site-maven-plugin
</artifactId>
<version>
0.12
</version>
<configuration>
<message>
Maven artifacts for ${project.version}
</message>
<!-- git commit message -->
<noJekyll>
true
</noJekyll>
<!-- disable webpage processing -->
<outputDirectory>
${tracingplane.root}/target/mvn-repo
</outputDirectory>
<!-- matches distribution management repository url above -->
<branch>
refs/heads/mvn-repo
</branch>
<!-- remote branch name -->
<includes>
<include>
**/*
</include>
</includes>
<repositoryName>
tracingplane-java
</repositoryName>
<!-- github repo name -->
<repositoryOwner>
tracingplane
</repositoryOwner>
<!-- github username -->
</configuration>
<executions>
<execution>
<goals>
<goal>
site
</goal>
</goals>
<phase>
deploy
</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
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>
brown.tracingplane
</groupId>
<artifactId>
tracingplane-dist-project
</artifactId>
<packaging>
pom
</packaging>
<name>
Tracing Plane Distributions
</name>
<modules>
<module>
tracingplane
</module>
<module>
github
</module>
</modules>
<parent>
<groupId>
brown.tracingplane
</groupId>
<artifactId>
tracingplane-project
</artifactId>
<version>
1.0
</version>
</parent>
<properties>
<tracingplane.root>
${basedir}/..
</tracingplane.root>
</properties>
</project>
dist/tracingplane/pom.xml
0 → 100644
View file @
103eb55e
<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>
brown.tracingplane
</groupId>
<artifactId>
tracingplane
</artifactId>
<packaging>
jar
</packaging>
<name>
Tracing Plane Distributions - Main Distribution
</name>
<parent>
<groupId>
brown.tracingplane
</groupId>
<artifactId>
tracingplane-dist-project
</artifactId>
<version>
1.0
</version>
</parent>
<properties>
<tracingplane.root>
${basedir}/../..
</tracingplane.root>
</properties>
<dependencies>
<dependency>
<groupId>
brown.tracingplane
</groupId>
<artifactId>
bdl-baggagecontext
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
brown.tracingplane
</groupId>
<artifactId>
baggagecontext-staticapi
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
brown.tracingplane
</groupId>
<artifactId>
transitlayer
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
com.typesafe
</groupId>
<artifactId>
config
</artifactId>
</dependency>
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<!-- copies all dependent JARs into the project build directory -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-dependency-plugin
</artifactId>
<version>
2.8
</version>
<executions>
<execution>
<id>
copy-artifact
</id>
<phase>
package
</phase>
<goals>
<goal>
copy-dependencies
</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.directory}/lib
</outputDirectory>
<overWriteReleases>
true
</overWriteReleases>
<overWriteSnapshots>
true
</overWriteSnapshots>
<overWriteIfNewer>
true
</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<!-- creates a fat jar -->
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
3.0.0
</version>
<configuration>
<descriptorRefs>
<descriptorRef>
jar-with-dependencies
</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>
make-assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
dist/tracingplane/src/main/resources/reference.conf
0 → 100644
View file @
103eb55e
baggage
.
transit
=
"brown.tracingplane.impl.ThreadLocalTransitLayerFactory"
baggage
.
provider
=
"brown.tracingplane.impl.BDLContextProviderFactory"
\ No newline at end of file
dist/tracingplane/src/test/java/brown/tracingplane/TestConfiguration.java
0 → 100644
View file @
103eb55e
package
brown.tracingplane
;
import
static
org
.
junit
.
Assert
.
assertNotNull
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
org.junit.Test
;
import
brown.tracingplane.impl.BDLContextProvider
;
import
brown.tracingplane.impl.ThreadLocalTransitLayer
;
public
class
TestConfiguration
{
@Test
public
void
testDefaultBaggageProviderIsBDLContextProvider
()
{
BaggageProvider
<?>
provider
=
DefaultBaggageProvider
.
get
();
assertNotNull
(
provider
);
assertTrue
(
provider
instanceof
BDLContextProvider
);
}
@Test
public
void
testDefaultTransitLayerIsThreadLocalTransitLayer
()
{
TransitLayer
transit
=
DefaultTransitLayer
.
get
();
assertNotNull
(
transit
);
assertTrue
(
transit
instanceof
ThreadLocalTransitLayer
);
}
}
pom.xml
View file @
103eb55e
...
...
@@ -24,9 +24,6 @@
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<tracingplane.root>
${basedir}
</tracingplane.root>
<github.global.userName>
${GITHUB_USERNAME}
</github.global.userName>
<github.global.password>
${GITHUB_OAUTH_TOKEN}
</github.global.password>
</properties>
<dependencyManagement>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment