# assira library

## usage
```xml
<project>
    <properties>
        <assira.version>2.8.2</assira.version>
        <assira.junit.debug>true | false</assira.junit.debug>
        <assira.junit.logger.level>trace | debug | info | warning | error</assira.junit.logger.level>
        <assira.junit.logger.observe>true | false</assira.junit.logger.observe>
    </properties>
    
    <dependency>
        <groupId>net.ranides</groupId>
        <artifactId>assira.core8</artifactId>
        <version>${assira.version}</version>
    </dependency>
    
    <dependency>
        <groupId>net.ranides</groupId>
        <artifactId>assira.commons</artifactId>
        <version>${assira.version}</version>
    </dependency>
    
    <dependency>
        <groupId>net.ranides</groupId>
        <artifactId>assira.junit</artifactId>
        <version>${assira.version}</version>
        <scope>test</scope>
    </dependency>
</project>
```

## local build
```
mvn -P common,jdk8 clean install
mvn -P common,jdk11 clean install
```

## deployment to maven central
```
JDK 8
mvn clean deploy -P release,asm,common,jdk8

JDK 11
mvn clean deploy -P release,jdk11
```

## profiles
- asm: modules
- common: modules
- jdk8: modules
- jdk11: modules
- release: settings for deployment
- offline: disable tests which require internet connection

### activate profile "offline":
 
```xml
<profiles>
    <profile>
        <id>offline</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <properties>
            <net.ranides.offline>true</net.ranides.offline>
        </properties>
    </profile>
</profiles>
```

### select correct GPG certificate:
```xml
<profiles>
    <profile>
        <id>ossrh</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <properties>
            <gpg.keyname>1D0A66ED980F117DA5037470B83FAF4841FC4F70</gpg.keyname>
        </properties>
    </profile>
</profiles>
```

## network access for online unit tests:

online tests require access to 
- https://ranides.net
- http://maven.ranides.net
- http://info.ranides.net
- http://sandbox.ranides.net
- ftp://ftp.ranides.net