Skip to content

oyri/eidas-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

eidas-lib

security advice

upload external jars

Prerequisite:

  • folder of your choice (do not need a pom.xml here)
  • maven installed
  • your jar-fil is in the current folder
  • settings.xml as described below in same folder with github token (classic) with package.write + repo

RUN:

mvn -s settings.xml deploy:deploy-file -Dfile=eidas-saml-engine-2.7.1.jar -DrepositoryId=github -Durl=https://maven.pkg.github.com/oyri/eidas-lib

Where settings.xml has this content:

<settings xmlns="https://maven.apache.org/SETTINGS/1.0.0"
	  xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
	  xsi:schemaLocation="https://maven.apache.org/SETTINGS/1.0.0
						  https://maven.apache.org/xsd/settings-1.0.0.xsd">
  <servers>
	<server>
	  <id>github</id>
	 <username><USERNAME></username> 
	 <configuration>
		<httpHeaders>
		  <property>
			<name>Authorization</name>
			<value>Bearer <GH-classic-token-with-package_write-and-repo-rights></value>
		  </property>
		</httpHeaders>
	  </configuration>
	</server>
  </servers>
</settings>

upload external pom.xml

mvn -s settings.xml deploy:deploy-file -DpomFile=eidas-parent-2.7.1.pom -DrepositoryId=github -Durl=https://maven.pkg.github.com/oyri/eidas-lib -DartifactId=eidas-parent -Dgroupid=eu.eidas -Dversion=2.7.1 -Dpackaging=pom -Dfile=eidas-parent-2.7.1.pom

Maybe not nessasary with -DartifactId=eidas-parent -Dgroupid=eu.eidas -Dversion=2.7.1 -Dpackaging=pom.

About

testing github packages for external libs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages