jcabi / jcabi-manifests

Java library for convenient reading of MANIFEST.MF files available in classpath
https://manifests.jcabi.com
Other
60 stars 22 forks source link

Can't read my Manifest file #44

Closed mario560lukec closed 6 years ago

mario560lukec commented 6 years ago

I get exception: java.lang.IllegalArgumentException: Attribute 'Build-Version' not found in MANIFEST.MF file(s) among 81 other attribute(s): ["...]

build.gradle:

war {
    manifest {
        attributes(
                'Build-Version': version,
                'Build-Time': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
        )
    }
    archiveName 'cinderella-admin-rest.war'
}

So Manifests isn't reading my 'cinderella-admin-rest.war' incise build/libs How can I get it to read my Manifest file?

0crat commented 6 years ago

@yegor256/z please, pay attention to this issue

0crat commented 6 years ago

@mario560lukec/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

yegor256 commented 6 years ago

@mario560lukec I believe WAR files have different structure and reading their MANIFEST.MF files will require some additional work. Try to search StackOverflow.

0crat commented 6 years ago

The job is not in WBS, won't close the order

0crat commented 6 years ago

Job gh:jcabi/jcabi-manifests#44 is not assigned, can't get performer