Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Deprecating the command line JAR signing service (aka /usr/bin/sign) - read if you use Buckminster

Actually, I am still not able to get this to work. It resolves the plugin now but it doesn't seem to do anything.

The documentation for eclipse-jarsigner is a bit lacking. I would assume that if you invoke the plugin from a pom, it will replace all .jar files in the directory containing that pom, and its subdirectories, with signed versions, but that doesn't seem to be happening.

How is it meant to work?

Sam


--
Sam Davis
Senior Software Engineer, Tasktop
Committer, Eclipse Mylyn
http://tasktop.com

On Tue, May 29, 2018 at 9:47 AM, Sam Davis <sam.davis@xxxxxxxxxxx> wrote:
Thanks, that seems to have done the trick.

Sam


--
Sam Davis
Senior Software Engineer, Tasktop
Committer, Eclipse Mylyn
http://tasktop.com

On Mon, May 28, 2018 at 11:37 PM, Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx> wrote:
Sam Davis wrote:
> I am not able to get the eclipse jarsigner maven plugin to work. I've
> made the this change
> <https://git.eclipse.org/r/#/c/123483/4/org.eclipse.mylyn-site/pom.xml>
> to my pom, but I'm getting the following error:
>
> ERROR] Plugin
> org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:1.1.5 or one of
> its dependencies could not be resolved: Failure to find
> org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:jar:1.1.5 in
> https://repo.eclipse.org/content/repositories/maven_central/ was cached
> in the local repository, resolution will not be reattempted until the
> update interval of eclipse.maven.central.mirror has elapsed or updates
> are forced -> [Help 1]
>
> Could anyone tell me what I'm doing wrong?

Hi Sam,

the CBI project doesn't publish to Maven Central (I wonder why not?).
You hence need an explicit <pluginReposository> declaration in your POM:

Taken from the Code Recommenders pom.xml:
>         <pluginRepositories>
>                 <pluginRepository>
>                         <id>eclipse-cbi-releases</id>
>                         <url>https://repo.eclipse.org/content/groups/cbi/</url>
>                         <snapshots>
>                                 <enabled>false</enabled>
>                         </snapshots>
>                 </pluginRepository>
>         </pluginRepositories>

Hope this helps.

Best wishes,

Andreas

--
Codetrails GmbH
The best code possible

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940



Back to the top