Jar signing in WTP and DTP, for example, is handled via a profile: http://git.eclipse.org/c/datatools/org.eclipse.datatools.git/tree/pom.xml#n277 http://git.eclipse.org/c/webtools/webtools.releng.aggregator.git/tree/wtp-parent/pom.xml#n456
This way when you want to sign, you invoke with mvn clean install -P eclipse-sign And when you don't want to do signing (eg., for a local build, not in Jenkins), you omit the eclipse-sign profile. On Tue, May 29, 2018 at 4:19 PM, Sam Davis <[email protected]> wrote: > 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 <[email protected]> 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 < >> [email protected]> 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 >>> >> >> > > _______________________________________________ > cross-project-issues-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev > -- Nick Boldt Principal Software Engineer, RHCSA Productization Lead :: JBoss Tools & Dev Studio IM: @nickboldt / @nboldt / http://nick.divbyzero.com <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> @ @redhatnews <https://twitter.com/redhatnews> Red Hat <https://www.facebook.com/RedHatInc> <https://www.facebook.com/RedHatInc> “The Only Thing That Is Constant Is Change” - Heraclitus
_______________________________________________ cross-project-issues-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
