Skip to content

AKSW/aksw-data-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AKSW Maven-Based Data Deployment

See https://scaseco.github.io/maven4data/ for guides about why and how to use Maven for data publishing.

This repository contains a pom.xml with several default settings (repository URLs and versions) intended for use as a parent pom for data publishing project within the AKSW organization. The POM is intended only for use with AKSW projects.

The Parent POM

The following parent declaration adds the AKSW repositories (see the pom.xml to the maven projects:

<parent>
  <groupId>org.aksw.data.config</groupId>
  <artifactId>aksw-data-deployment</artifactId>
  <version>0.0.8</version>
  <relativePath></relativePath>
</parent>

Setup Maven

  • Step 1 Install Maven sudo apt install maven

    • Ensure you have at Java 11+ sudo apt install openjdk-XX-jdk
      • Check with sudo update-java-alternatives -l
      • Set with sudo update-java-alternatives -s java-X.XX.X-openjdk-amd64
  • Step 2 Set up your master password

  • Step 3 Run the following command to encrypt your passwords (LDAP, TIB DataManager)

    • mvn --encrypt-password
  • Step 4 Add repository declarations to $HOME/.m2/settings.xml

    • <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
      	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      	xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                            http://maven.apache.org/xsd/settings-1.0.0.xsd">
          <server>
            <id>et.aksw.internal</id>
            <username>USERNAME</username>
            <password>{SECRET}</password>
          </server>
      
          <server>
            <id>et.aksw.snapshots</id>
            <username>USERNAME</username>
            <password>{SECRET}</password>
          </server>
        </servers>
      </settings>
  • Step 5 Try to deploy an example project such as geodata/simple.

  • Step 6 If necessary, please tell the admin to grant you write priviledges to our archiva instance.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published