• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 8815
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: csb/pex-2.97.3
DEFAULT BRANCH: main
Ran 28 Jan 2016 09:44PM UTC
Jobs 7
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8815

push

travis-ci

gmalmquist
Don't skip writing <artifact>s to ivy.xml even if there's only one.

We ran into a problem internally at Square where ivy would
stubbornly resolve a 'test-jar' instead of a 'jar' artifact, even
when we directly declared a dependency on the 'jar'. The reason for
this appears to be that pants was short-circuiting instead of
writing an explicit artifact for the 'jar'.

This changes:

```
   <dependency org="org.apache.hadoop"
                  name="hadoop-common"
                  rev="2.0.0-cdh4.6.0">
        <conf name="default" mapped="default"/>
        <!-- excludes, etc -->
    </dependency>
```

To:

```
   <dependency org="org.apache.hadoop"
                  name="hadoop-common"
                  rev="2.0.0-cdh4.6.0">
        <conf name="default" mapped="default"/>
        <artifact
          name="hadoop-common"
          type="jar"/>
        <!-- excludes, etc -->
    </dependency>
```

Which causes ivy to behave as expected.

Testing Done:
This fixed our internal problem, and didn't break anything.

Manually confirmed that features like `export --libraries-sources` which have been historically fragile and prone to regression still work.

CI passed here: https://travis-ci.org/pantsbuild/pants/builds/105511558

Bugs closed: 2853

Reviewed at https://rbcommons.com/s/twitter/r/3388/
Jobs
ID Job ID Ran Files Coverage
1 8815.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 28 Jan 2016 09:44PM UTC 0
Travis Job 8815.1
4 8815.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 28 Jan 2016 10:05PM UTC 0
Travis Job 8815.4
5 8815.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 28 Jan 2016 09:53PM UTC 0
Travis Job 8815.5
6 8815.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 28 Jan 2016 09:54PM UTC 0
Travis Job 8815.6
7 8815.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 28 Jan 2016 09:57PM UTC 0
Travis Job 8815.7
8 8815.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 28 Jan 2016 09:56PM UTC 0
Travis Job 8815.8
10 8815.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 28 Jan 2016 10:03PM UTC 0
Travis Job 8815.10
Source Files on build 8815
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8815
  • 29a10f70 on github
  • Prev Build on master (#8814)
  • Next Build on master (#8818)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc