Coder Social home page Coder Social logo

Comments (5)

aedelmann avatar aedelmann commented on May 23, 2024

I already created a Bugzilla issue to have our HIPP instance configured for maven central publishing:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=508342

Here are some more info about the signing process:
https://wiki.eclipse.org/JAR_Signing
http://wiki.eclipse.org/IT_Infrastructure_Doc#Sign_my_plugins.2FZIP_files.3F

from vorto.

aedelmann avatar aedelmann commented on May 23, 2024

Other eclipse project use a signer-plugin for maven:
https://www.eclipse.org/cbi/sitedocs/eclipse-jarsigner-plugin/plugin-info.html

from vorto.

erlemantos avatar erlemantos commented on May 23, 2024

Our code already has a profile for signing which can be executed by

mvn clean install -P sign

Unfortunately, there is an error of some kind about not resolving build.eclipse.org

[ERROR] Failed to execute goal org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:1.0.5:sign (sign) on project org.eclipse.vorto.core: Could not sign artifact org.eclipse.vorto:org.eclipse.vorto.core:eclipse-plugin:0.9.0-SNAPSHOT: Unknown host build.eclipse.org -> [Help 1]

I believe this is a proxy error on my side but even passing the usual parameters for using proxies doesn't work.

mvn clean install -P sign -Dhttp.proxyHost=<proxy host> -Dhttp.proxyPort=<proxy port> -Dhttp.proxyUser=<proxy user> -Dhttp.proxyPassword=<proxy password>

Even setting the environment variable for the proxy doesn't work

export http_proxy=http://<proxy user>:<proxy password>@<proxy host>:<proxy port>

Which leads me to conclude this must be an error on the jarsigner plugin not handling proxies well. Either that or there is another way to set the proxy being used by the jarsigner.

from vorto.

erlemantos avatar erlemantos commented on May 23, 2024

Can anyone who doesn't need a proxy confirm that mvn clean install -P sign works outside a proxied network?

from vorto.

erlemantos avatar erlemantos commented on May 23, 2024

By the way, this is the profile in our root pom.xml for signing ...

<profile>
	<id>sign</id>
	<build>
		<plugins>
			<plugin>
				<groupId>org.eclipse.cbi.maven.plugins</groupId>
				<artifactId>eclipse-jarsigner-plugin</artifactId>
				<version>1.1.3</version>
				<executions>
					<execution>
						<id>sign</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</profile>

from vorto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.