Skip to content

Commit

Permalink
Open PDF and build updates
Browse files Browse the repository at this point in the history
  • Loading branch information
GedMarc committed Dec 28, 2023
1 parent 2840893 commit 80868fc
Show file tree
Hide file tree
Showing 25 changed files with 241 additions and 12 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ jobs:
uses: GuicedEE/Workflows/.github/workflows/bom.yml@master
needs:
- JCache-Annotations-Common
- Guiced-Inject-Client
with:
baseDir: 'JCache/cache-annotations-ri-guice/'
name: 'JCache Guice'
Expand Down Expand Up @@ -414,3 +415,13 @@ jobs:
USER_TOKEN: ${{secrets.USER_TOKEN}}
SONA_USERNAME: ${{secrets.SONA_USERNAME}}
SONA_PASSWORD: ${{secrets.SONA_PASSWORD}}
OpenPDF:
uses: GuicedEE/Workflows/.github/workflows/bom.yml@master
with:
baseDir: 'Libraries/openpdf'
name: 'Open PDF'
secrets:
USERNAME: ${{secrets.USERNAME}}
USER_TOKEN: ${{secrets.USER_TOKEN}}
SONA_USERNAME: ${{secrets.SONA_USERNAME}}
SONA_PASSWORD: ${{secrets.SONA_PASSWORD}}
5 changes: 5 additions & 0 deletions JBoss/undertow-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
<name>io.undertow</name>
<!--<version>${undertow.version}</version>-->
<version>2.0.0-SNAPSHOT</version>
<properties>
<project.scm.nameUrl>/GuicedEE/Services</project.scm.nameUrl>
</properties>


<dependencies>

<dependency>
Expand Down

This file was deleted.

5 changes: 5 additions & 0 deletions JBoss/undertow-parser-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
<!--<version>${undertow.version}</version>-->
<description>An annotation processor that is used to generate the HTTP parser</description>
<version>2.0.0-SNAPSHOT</version>
<properties>
<project.scm.nameUrl>/GuicedEE/Services</project.scm.nameUrl>
</properties>


<dependencies>
<dependency>
<groupId>io.undertow</groupId>
Expand Down

This file was deleted.

5 changes: 5 additions & 0 deletions JBoss/undertow-servlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<name>io.undertow.servlet</name>
<!--<version>${undertow.version}</version>-->
<version>2.0.0-SNAPSHOT</version>
<properties>
<project.scm.nameUrl>/GuicedEE/Services</project.scm.nameUrl>
</properties>


<dependencies>

<dependency>
Expand Down

This file was deleted.

6 changes: 6 additions & 0 deletions JBoss/undertow-websockets-jsr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
<name>io.undertow.websockets.jsr</name>
<!--<version>${undertow.version}</version>-->
<version>2.0.0-SNAPSHOT</version>

<properties>
<project.scm.nameUrl>/GuicedEE/Services</project.scm.nameUrl>
</properties>


<dependencies>
<dependency>
<groupId>com.guicedee.services</groupId>
Expand Down

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
129 changes: 129 additions & 0 deletions Libraries/openpdf/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.guicedee</groupId>
<artifactId>dev-kit</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<groupId>com.guicedee.services</groupId>
<artifactId>openpdf</artifactId>
<!--<version>${openpdf.version}</version>-->
<packaging>jar</packaging>
<name>OpenPDF</name>
<version>2.0.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<optional>true</optional>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
</dependency>

<dependency>
<groupId>com.github.albfernandez</groupId>
<artifactId>juniversalchardet</artifactId>
<optional>true</optional>
</dependency>


<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
</dependency>

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<inherited>true</inherited>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.github.librepdf</include>
<include>com.github.albfernandez</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/versions/*</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>

</plugins>
</build>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.guicedee</groupId>
<artifactId>standalone-bom</artifactId>
<version>${guicedee.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.guicedee</groupId>
<artifactId>jakarta-bom</artifactId>
<version>${guicedee.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

</project>
File renamed without changes.
28 changes: 28 additions & 0 deletions Libraries/openpdf/src/test/java/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/build/
/dist/
Thumbs.db
nbproject/build-native.xml~
javadoc.zip

/javadoc/
/.jacocoverage/
/build
/target/
**/target/
/out/
/**/.sonar/
**.jacocoverage/
**/*.iml
*.iml
*.versionsBackup
*.log
*.tlog
/.idea/


**/pom.properties
pom.properties
dependency-reduced-pom.xml
**/dependency-reduced-pom.xml


28 changes: 28 additions & 0 deletions Libraries/openpdf/src/test/resources/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/build/
/dist/
Thumbs.db
nbproject/build-native.xml~
javadoc.zip

/javadoc/
/.jacocoverage/
/build
/target/
**/target/
/out/
/**/.sonar/
**.jacocoverage/
**/*.iml
*.iml
*.versionsBackup
*.log
*.tlog
/.idea/


**/pom.properties
pom.properties
dependency-reduced-pom.xml
**/dependency-reduced-pom.xml


24 changes: 24 additions & 0 deletions Libraries/openpdf/src/test/resources/META-INF/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Maven build
*/target/




*/.tern-project

# IntelliJ IDE
/.idea
*/.idea
*/*.iml

# Netbeans IDE
/nbactions.xml
*/nbproject/
*/nbactions.xml
*.tlog
*.log
rebel.xml
BFS/nb-configuration.xml
*.iml
enterprise-application-parent.iml
/.metadata/
Empty file.

0 comments on commit 80868fc

Please sign in to comment.