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

pantsbuild / pants / 4779
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix/immutable-inputs-revalidation
DEFAULT BRANCH: main
Ran 08 May 2015 03:40PM UTC
Jobs 10
Files 325
Run time 13min
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
4779

push

travis-ci

fkorotkov
local publish of zinc bootstraps

Notice we've changed how pants generates poms.

zinc uses the sbt incremental compiler. During the bootstrap process, it links with the source jar of the incremental compiler. This requires that when we generate our pom, we mark the dependency with <classifier>sources</classifier>. Interestingly, there is no binary artifact distributed for the incremental compiler. Just source.

The way this works in ivy is we have clauses like
```xml

    <dependency org="com.typesafe.sbt" name="compiler-interface" rev="0.13.7">
      <conf name="default" mapped="default"/>
      <artifact name="compiler-interface" type="jar" m:classifier="sources"/>
    </dependency>
```
The ivy task "makepom" works perfectly with this. We've modified pants so that we will also generate the correct maven dependency:
```xml
    <dependency>
      <groupId>com.typesafe.sbt</groupId>
      <artifactId>compiler-interface</artifactId>
      <version>0.13.7</version>
      <scope>compile</scope>
      <classifier>sources</classifier>
    </dependency>
```
I checked the maven documentation -- classifier is not very well documented. They write that it can "contain an arbitrary string". The xsd says:

    The classifier of the dependency. This allows distinguishing two artifacts that belong to the same POM but were built differently, and is appended to the filename after the version. For example, <code>jdk14</code> and <code>jdk15</code>.

Testing Done:
./pants publish.jar --no-dryrun --local=~/.m2/repository --no-local-snapshot --force --override=org.pantsbuild#zinc=1.0.0 zinc:bin

update all zinc references

./pants publish.jar --no-dryrun --local=~/.m2/repository --no-local-snapshot --force --override=org.pantsbuild#zinc=1.0.1 zinc:bin

works!

Reviewed at https://rbcommons.com/s/twitter/r/2168/

13306 of 19232 relevant lines covered (69.19%)

0.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4779.1 (CI_FLAGS="-cjlpnet 'Various pants self checks'") 08 May 2015 03:43PM UTC 0
Travis Job 4779.1
2 4779.2 (CI_FLAGS="-fkmsrcjlpn 'Test examples and testprojects'") 08 May 2015 03:42PM UTC 0
Travis Job 4779.2
3 4779.3 (CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'") 08 May 2015 03:47PM UTC 0
69.19
Travis Job 4779.3
4 4779.4 (CI_FLAGS="-fkmsrcjlpet 'Python contrib tests'") 08 May 2015 03:40PM UTC 0
Travis Job 4779.4
5 4779.5 (CI_FLAGS="-fkmsrjlpnet -i 6:0 'Python integration tests for pants - shard 1'") 08 May 2015 03:42PM UTC 0
Travis Job 4779.5
6 4779.6 (CI_FLAGS="-fkmsrjlpnet -i 6:1 'Python integration tests for pants - shard 2'") 08 May 2015 03:48PM UTC 0
Travis Job 4779.6
7 4779.7 (CI_FLAGS="-fkmsrjlpnet -i 6:2 'Python integration tests for pants - shard 3'") 08 May 2015 03:52PM UTC 0
Travis Job 4779.7
8 4779.8 (CI_FLAGS="-fkmsrjlpnet -i 6:3 'Python integration tests for pants - shard 4'") 08 May 2015 03:54PM UTC 0
Travis Job 4779.8
9 4779.9 (CI_FLAGS="-fkmsrjlpnet -i 6:4 'Python integration tests for pants - shard 5'") 08 May 2015 03:52PM UTC 0
Travis Job 4779.9
10 4779.10 (CI_FLAGS="-fkmsrjlpnet -i 6:5 'Python integration tests for pants - shard 6'") 08 May 2015 03:54PM UTC 0
Travis Job 4779.10
Source Files on build 4779
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4779
  • c32d4987 on github
  • Prev Build on master (#4778)
  • Next Build on master (#4780)
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