forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More BUILD file fixes for external twitter-commons java deps.
- Loading branch information
Benjy
committed
Apr 1, 2014
1 parent
6a99c6f
commit 341cf2f
Showing
8 changed files
with
62 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). | ||
# Licensed under the Apache License, Version 2.0 (see LICENSE). | ||
|
||
ORG = 'com.sun.jersey' | ||
REV = '1.12' | ||
|
||
jar_library(name='jersey-client', | ||
dependencies=[jar(org='com.sun.jersey', name='jersey-client', rev=REV).with_sources()]) | ||
dependencies=[jar(org=ORG, name='jersey-client', rev=REV).with_sources()]) | ||
|
||
jar_library(name='jersey-core', | ||
dependencies=[jar(org='com.sun.jersey', name='jersey-core', rev=REV).with_sources()]) | ||
dependencies=[jar(org=ORG, name='jersey-core', rev=REV).with_sources()]) | ||
|
||
jar_library(name='jersey-server', | ||
dependencies=[jar(org='com.sun.jersey', name='jersey-server', rev=REV).with_sources()]) | ||
dependencies=[jar(org=ORG, name='jersey-server', rev=REV).with_sources()]) | ||
|
||
jar_library(name='jersey-servlet', | ||
dependencies=[jar(org='com.sun.jersey', name='jersey-servlet', rev=REV).with_sources()]) | ||
dependencies=[jar(org=ORG, name='jersey-servlet', rev=REV).with_sources()]) | ||
|
||
jar_library(name='jersey-guice', | ||
dependencies=[jar(org='com.sun.jersey.contribs', name='jersey-guice', rev=REV).with_sources()]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,34 @@ | ||
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). | ||
# Licensed under the Apache License, Version 2.0 (see LICENSE). | ||
|
||
ORG = 'com.twitter.common' | ||
|
||
jar_library(name='application', | ||
dependencies=[jar(org=ORG, name='application', rev='0.0.72').with_sources()]) | ||
|
||
jar_library(name='application-http', | ||
dependencies=[jar(org=ORG, name='application-http', rev='0.0.58').with_sources()]) | ||
|
||
jar_library(name='application-module-http', | ||
dependencies=[jar(org=ORG, name='application-module-http', rev='0.0.61').with_sources()]) | ||
|
||
jar_library(name='application-module-lifecycle', | ||
dependencies=[jar(org=ORG, name='application-module-lifecyle', rev='0.0.47').with_sources()]) | ||
|
||
jar_library(name='application-module-log', | ||
dependencies=[jar(org=ORG, name='application-module-log', rev='0.0.55').with_sources()]) | ||
|
||
jar_library(name='application-module-stats', | ||
dependencies=[jar(org=ORG, name='application-module-stats', rev='0.0.43').with_sources()]) | ||
|
||
jar_library(name='args', | ||
dependencies=[jar(org=ORG, name='args', rev='0.2.8').with_sources()]) | ||
|
||
jar_library(name='base', | ||
dependencies=[jar(org='com.twitter.common', name='base', rev='0.0.85').with_sources()]) | ||
dependencies=[jar(org=ORG, name='base', rev='0.0.85').with_sources()]) | ||
|
||
jar_library(name='stat', | ||
dependencies=[jar(org='com.twitter.common', name='stat', rev='0.0.28').with_sources()]) | ||
dependencies=[jar(org=ORG, name='stat', rev='0.0.28').with_sources()]) | ||
|
||
jar_library(name='testing-easymock', | ||
dependencies=[jar(org=ORG, name='testing-easymock', rev='0.0.3').with_sources()]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,14 @@ | ||
# ================================================================================================== | ||
# Copyright 2013 Twitter, Inc. | ||
# -------------------------------------------------------------------------------------------------- | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this work except in compliance with the License. | ||
# You may obtain a copy of the License in the LICENSE file, or at: | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# ================================================================================================== | ||
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). | ||
# Licensed under the Apache License, Version 2.0 (see LICENSE). | ||
|
||
java_tests(name='handler', | ||
dependencies=[ | ||
pants('3rdparty:easymock'), | ||
pants('3rdparty:guava'), | ||
pants('3rdparty:junit'), | ||
pants('3rdparty/jvm/com/twitter/common:base'), | ||
pants('3rdparty/jvm/com/twitter/common:testing-easymock'), | ||
pants('src/java/com/twitter/common/examples/pingpong/handler'), | ||
pants('src/java/com/twitter/common/testing'), | ||
], | ||
sources=globs('*.java'), | ||
) |
23 changes: 5 additions & 18 deletions
23
tests/java/com/pants/examples/pingpong/handler/PingHandlerTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 3 additions & 16 deletions
19
tests/java/com/pants/examples/usethrift/UseThriftTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters