BUCK: fix Implementation-Version in replication plugin

buck build plugins/replication

produces broken META-INF/MANIFEST.MF in replication.jar file.

What Buck is doing is to issue that command (shorten):

  jar cfm replication.jar buck-out/gen/plugins/replication/MANIFEST.MF \
          buck-out/gen/.../replication__plugin.jar \
          buck-out/gen/lib/commons/io/commons-io-1.4.jar

and the content of correct input MANIFEST.MF file get overriden with the
content of MANIFEST.MF from commons-io-1.4.jar.

So instead of expected Gerrit version:
Implementation-Version: v2.7-rc4-1348-g36c61aa

we get:
Implementation-Version: 1.4

Change-Id: If93b1c64e8199c858aa55505352f631790a029ff
This commit is contained in:
David Ostrovsky 2013-08-29 22:56:24 +02:00 committed by David Ostrovsky
parent 3fc62772f4
commit d69333006e

View File

@ -73,6 +73,7 @@ maven_jar(
id = 'commons-io:commons-io:1.4',
sha1 = 'a8762d07e76cfde2395257a5da47ba7c1dbd3dce',
license = 'Apache2.0',
exclude = ['META-INF/MANIFEST.MF'],
)
maven_jar(