Skip to content

Commit

Permalink
Merge pull request #18 from umjammer/0.1.9
Browse files Browse the repository at this point in the history
0.1.9
  • Loading branch information
umjammer authored Feb 7, 2024
2 parents e29e3f0 + 661abfe commit 267f4c2
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 328 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/maven-publish.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check w/o SNAPSHOT when "bump version"
if: ${{ contains(github.event.head_commit.message, 'bump version') }}
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![GitHub Packages](https://github.com/umjammer/vavi-net-auth/actions/workflows/maven-publish.yml/badge.svg)](https://github.com/umjammer?tab=packages&repo_name=vavi-net-auth)
[![Java CI with Maven](https://github.com/umjammer/vavi-net-auth/actions/workflows/maven.yml/badge.svg)](https://github.com/umjammer/vavi-net-auth/actions)
[![Release](https://jitpack.io/v/umjammer/vavi-net-auth.svg)](https://jitpack.io/#umjammer/vavi-net-auth)
[![Java CI](https://github.com/umjammer/vavi-net-auth/actions/workflows/maven.yml/badge.svg)](https://github.com/umjammer/vavi-net-auth/actions)
[![CodeQL](https://github.com/umjammer/vavi-net-auth/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/umjammer/vavi-net-auth/actions/workflows/codeql-analysis.yml)
![Java](https://img.shields.io/badge/Java-8-b07219)
![Java](https://img.shields.io/badge/Java-17-b07219)
[![Parent](https://img.shields.io/badge/Parent-vavi--apps--fuse-pink)](https://github.com/umjammer/vavi-apps-fuse)

# vavi-net-auth
Expand All @@ -25,9 +25,7 @@ Java OAuth2 and auto login and totp

### jars

* https://github.com/umjammer?tab=packages&repo_name=vavi-net-auth
* this project uses gitlab package registry. add a personal access token to `~/.m2/settings.xml`
* see https://docs.gitlab.com/ee/user/packages/maven_repository/index.html#authenticate-to-the-package-registry-with-maven
* [maven](https://jitpack.io/#umjammer/vavi-net-auth)

### ~~selenium chrome driver~~ (obsolete, use os default browser)

Expand All @@ -52,3 +50,4 @@ Java OAuth2 and auto login and totp
* refer to cyberduck profile
* box when refresh token expired
* [`GoogleCredentials#getApplicationDefault()`](https://cloud.google.com/docs/authentication/application-default-credentials) !!!
* ~~only cookie.chrome.mac uses jna~~
13 changes: 3 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>vavi</groupId>
<artifactId>vavi-net-auth</artifactId>
<version>0.1.8</version>
<version>0.1.9</version>

<modules>
<module>vavi-net-auth-common</module>
Expand Down Expand Up @@ -33,13 +33,6 @@
</issueManagement>
<description>network authentication library like OAuth2</description>

<distributionManagement>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/umjammer/vavi-net-auth</url>
</repository>
</distributionManagement>

<profiles>
<profile>
<id>github workflow</id>
Expand Down Expand Up @@ -87,7 +80,7 @@
<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-net-auth-common</artifactId>
<version>0.1.8</version>
<version>0.1.9</version>
</dependency>
<dependency>
<!-- tiny http server for oauth -->
Expand All @@ -107,7 +100,7 @@
<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-net-auth-common</artifactId>
<version>0.1.8</version>
<version>0.1.9</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion vavi-net-auth-amazon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>vavi</groupId>
<artifactId>vavi-net-auth</artifactId>
<version>0.1.8</version>
<version>0.1.9</version>
</parent>

<artifactId>vavi-net-auth-amazon</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion vavi-net-auth-box/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>vavi</groupId>
<artifactId>vavi-net-auth</artifactId>
<version>0.1.8</version>
<version>0.1.9</version>
</parent>

<artifactId>vavi-net-auth-box</artifactId>
Expand Down
73 changes: 1 addition & 72 deletions vavi-net-auth-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,63 +7,11 @@
<parent>
<groupId>vavi</groupId>
<artifactId>vavi-net-auth</artifactId>
<version>0.1.8</version>
<version>0.1.9</version>
</parent>

<artifactId>vavi-net-auth-common</artifactId>

<profiles>
<profile>
<id>local (not on jitpack)</id>
<activation>
<os>
<family>mac</family>
</os>
<property>
<name>env.JITPACK</name>
<value>!true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>copy</id>
<phase>generate-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.rococoa</groupId>
<artifactId>rococoa-core</artifactId>
<type>dylib</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
<destFileName>librococoa.dylib</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.rococoa</groupId>
<artifactId>rococoa-core</artifactId>
<version>0.8.6</version>
</dependency>
</dependencies>
</profile>
</profiles>

<build>
<plugins>
<plugin>
Expand All @@ -81,13 +29,6 @@
</plugins>
</build>

<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/umjammer/*</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.github.umjammer</groupId>
Expand Down Expand Up @@ -192,18 +133,6 @@
<version>3.4.0</version>
</dependency>

<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-crypto-sandbox</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.42.0.0</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand Down

This file was deleted.

Loading

0 comments on commit 267f4c2

Please sign in to comment.