Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
31a0160
Merge pull request #6 from groupdocs-annotation/master
samicheemagroupdocs Oct 19, 2018
8ebc3b5
readme updated
Oct 29, 2018
4ba131a
Merge pull request #33 from samicheemagroupdocs/master
samicheemagroupdocs Oct 29, 2018
11cce72
pom.xml updated
Dec 27, 2018
077226c
Merge pull request #34 from samicheemagroupdocs/master
samicheemagroupdocs Dec 27, 2018
e036819
Examples updated for 19.4
Apr 18, 2019
7a9ded2
Merge pull request #35 from samicheemagroupdocs/master
samicheemagroupdocs Apr 18, 2019
08e584f
Examples updated for 19.5
May 31, 2019
b514a61
Merge pull request #36 from samicheemagroupdocs/master
samicheemagroupdocs May 31, 2019
1d1d937
Examples updated for 19.7
Jul 17, 2019
eb01ccd
Merge pull request #37 from samicheemagroupdocs/master
samicheemagroupdocs Jul 17, 2019
bc30515
Readme file updated
Aug 11, 2019
66c8ed1
Update README.md
samicheemagroupdocs Aug 11, 2019
261d66d
Merge pull request #38 from samicheemagroupdocs/master
samicheemagroupdocs Aug 11, 2019
bb2857b
Update README.md
samicheemagroupdocs Sep 7, 2019
c85cac5
Merge pull request #39 from samicheemagroupdocs/master
samicheemagroupdocs Sep 7, 2019
7d88fb3
Update annotation version
alexander-tyutyunnyk-a Dec 24, 2019
976a6b5
Add legacy code
alexander-tyutyunnyk-a Dec 24, 2019
19a0536
Update to 19.7
alexander-tyutyunnyk-a Dec 24, 2019
0a4c2dd
Reverse changes
alexander-tyutyunnyk-a Dec 24, 2019
e677163
Add legacy code
alexander-tyutyunnyk-a Dec 24, 2019
0e5d4b6
Examples for GroupDocs.Annotation for Java
yevgen-nykytenko Feb 18, 2020
c093d54
Merge branch 'api-v2'
yevgen-nykytenko Feb 18, 2020
11f2b70
Remove unnecessary libs
alexander-tyutyunnyk-a Feb 18, 2020
ef3c3e5
Remove unnecessary libs
alexander-tyutyunnyk-a Feb 18, 2020
68bf38b
Update README.md
yevgen-nykytenko Feb 18, 2020
714b0d3
Added submodule and content
yevgen-nykytenko Jun 10, 2020
ec3eff7
added travis-ci
bobkovalex Jun 11, 2020
1973eaf
deploy keys updated
bobkovalex Jun 11, 2020
74655e4
Create README.md
bobkovalex Jun 11, 2020
f430bda
Update .travis.yml
bobkovalex Jun 11, 2020
93b0a0a
Update .travis.yml
bobkovalex Jun 11, 2020
c2967d2
family landing page removed
yevgen-nykytenko Jun 11, 2020
aa6d3c3
Merge branch 'docs_test' of https://github.com/groupdocs-annotation/G…
yevgen-nykytenko Jun 11, 2020
9c296b0
Markdown documentation added
yevgen-nykytenko Jul 3, 2020
c41436e
Markdown documentation added
yevgen-nykytenko Jul 3, 2020
09a313d
Merge branch 'docs_test'
yevgen-nykytenko Jul 3, 2020
41f1f93
Added documentation build script
yevgen-nykytenko Jul 7, 2020
60ecf8e
Docs update
yevgen-nykytenko Jul 17, 2020
f46acf5
Docs icon update
yevgen-nykytenko Jul 20, 2020
a603c33
Added LICENSE.md to documentationi
vitaliy-rezchikov Jul 28, 2020
d66b5e7
Standardized readme.md
babar-raza Jul 29, 2020
e3313f5
Standardized readme.md
babar-raza Jul 29, 2020
de51ecd
Update README.md
rizwanniazigroupdocs Feb 10, 2021
036fcfc
Update README.md
rizwanniazigroupdocs Feb 10, 2021
d95ab4d
Bump commons-io in /Examples/GroupDocs.Annotation.Examples.Java
dependabot[bot] Apr 26, 2021
77134de
Bump commons-io from 2.4 to 2.7 in /Examples
dependabot[bot] Apr 26, 2021
941a178
Ignore license files.
vladimir-litvinchik May 25, 2021
aa7bcf3
Merge pull request #42 from groupdocs-annotation/dependabot/maven/Exa…
vladimir-litvinchik May 25, 2021
28a408d
Merge pull request #41 from groupdocs-annotation/dependabot/maven/Exa…
vladimir-litvinchik May 25, 2021
9b3ac26
Moved documentation to the Docs repository.
vladimir-litvinchik Jun 9, 2021
23ff368
Moved demo projects.
vladimir-litvinchik Jun 18, 2021
1852e95
Update README.md
farooqsheikhpk Jun 24, 2021
2b6ecc3
Update annotation to 21.7
alexander-tyutyunnyk-a Jul 20, 2021
acaff81
Merge branch 'master' of aspose.github.com:groupdocs-annotation/Group…
vladimir-litvinchik Jul 26, 2021
bdb7085
Added Demos folder.
vladimir-litvinchik Jul 26, 2021
142c5ae
Cleanup.
vladimir-litvinchik Jul 26, 2021
dcbc561
Update annotation to 21.7 for Spring
alexander-tyutyunnyk-a Jul 26, 2021
fcebacd
Bump commons-io from 2.6 to 2.7 in /Demos/Spring
dependabot[bot] Jul 26, 2021
75d15ec
Merge pull request #43 from groupdocs-annotation/dependabot/maven/Dem…
vladimir-litvinchik Aug 20, 2021
b7341bd
Updated @groupdocs.examples.angular/annotation 0.8.54
vladimir-litvinchik Aug 20, 2021
e8bc8e3
Updated repository URL to HTTPS
vladimir-litvinchik Aug 21, 2021
b3b52fc
Updated repository URL to HTTPS
vladimir-litvinchik Aug 22, 2021
6a07f45
Updated badges
vladimir-litvinchik Aug 22, 2021
78c12c0
Updated badges
vladimir-litvinchik Aug 22, 2021
c75e3f2
Fixed "Downloading is not working #44"
vladimir-litvinchik Aug 22, 2021
aeb3d5d
Fixed "Downloading is not working #44" in Dropwizard
vladimir-litvinchik Aug 22, 2021
865ee6f
Update Spring version
alexander-tyutyunnyk-a Aug 31, 2021
e9fcc04
Check st
alexander-tyutyunnyk-a Aug 31, 2021
72a3efe
Update Dropwizard to version 21.7
alexander-tyutyunnyk-a Sep 2, 2021
f33b6fd
Fix errors from bug-tickets
alexander-tyutyunnyk-a Nov 1, 2021
b6fc6fd
Update version of annotation
alexander-tyutyunnyk-a Nov 1, 2021
5a0b11b
Updated GroupDocs.Annotation for Java to 21.7.2
vladimir-litvinchik Dec 22, 2021
0d77890
Updated GroupDocs.Annotation for Java to 21.7.2
vladimir-litvinchik Dec 22, 2021
d0cf869
Updated GroupDocs.Annotation for Java to 21.7.2
vladimir-litvinchik Dec 22, 2021
3a991b4
Update pom.xml
alexander-tyutyunnyk-a May 23, 2022
2a1054e
Update pom.xml
alexander-tyutyunnyk-a May 23, 2022
14a30cd
Update pom.xml
alexander-tyutyunnyk-a May 23, 2022
785c69c
Update pom.xml
alexander-tyutyunnyk-a May 23, 2022
af58287
fix for release 23.2
SemenchenkoA Feb 12, 2023
6586fbe
fix libs
SemenchenkoA Feb 13, 2023
50fb7b3
Merge pull request #56 from groupdocs-annotation/release_23.2
alekseysemenchenko Feb 14, 2023
17a64d6
fix lib annotation version
SemenchenkoA Feb 15, 2023
fb0dcb9
Merge pull request #57 from groupdocs-annotation/release_23.2
alekseysemenchenko Feb 15, 2023
408bd83
update description
SemenchenkoA Feb 17, 2023
e6b791a
Merge pull request #58 from groupdocs-annotation/release_23.2
alekseysemenchenko Feb 17, 2023
170b188
prepare-2304
SemenchenkoA Apr 17, 2023
af09119
Merge pull request #59 from groupdocs-annotation/prepare-2304
alekseysemenchenko Apr 17, 2023
e521c51
release 23.6
SemenchenkoA Jun 23, 2023
447e07c
Merge pull request #60 from groupdocs-annotation/prepare-2306
alekseysemenchenko Jun 23, 2023
ab34b2a
upd for docker images
SemenchenkoA Jun 30, 2023
803756f
Merge pull request #61 from groupdocs-annotation/prepare-2306
alekseysemenchenko Jun 30, 2023
d1ad130
add pdf component examples
SemenchenkoA Aug 28, 2023
cf8aa7e
Merge pull request #62 from groupdocs-annotation/prepare-2308
alekseysemenchenko Aug 28, 2023
d2919b3
add examples for annotations
SemenchenkoA Aug 29, 2023
0fff928
Merge pull request #63 from groupdocs-annotation/prepare-2308
alekseysemenchenko Aug 29, 2023
46a843b
release 23.10
SemenchenkoA Oct 9, 2023
a452944
Merge pull request #64 from groupdocs-annotation/prepare-2310
alekseysemenchenko Oct 9, 2023
db67832
v24.6
alekseysemenchenko Jun 30, 2024
289e4b7
Merge pull request #65 from groupdocs-annotation/v24.6
alekseysemenchenko Jun 30, 2024
9e6d722
v25.6 and fix
alekseysemenchenko Nov 11, 2025
1447905
Merge branch 'master' of https://github.com/groupdocs-annotation/Grou…
alekseysemenchenko Nov 11, 2025
d1c5e3e
Merge pull request #66 from groupdocs-annotation/v25.6
alekseysemenchenko Nov 11, 2025
f1ffb5c
speed up spring app
alekseysemenchenko Mar 31, 2026
c5d5942
Merge pull request #67 from groupdocs-annotation/speed_up
alekseysemenchenko Mar 31, 2026
08634da
Add Docker CI, security and demo fixes
efimovevgen Jun 19, 2026
344aa97
Fix Docker CI: build with Temurin 8, add --add-opens for Spring on Ja…
efimovevgen Jun 19, 2026
ceb00de
Expand Docker Hub overview and split workflow push/docs options
efimovevgen Jun 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
97 changes: 97 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Publish Docker Images

on:
workflow_dispatch:
inputs:
version:
description: 'Version tag for docker images (e.g. 25.6)'
required: true
type: string
push_images:
description: 'Push images to Docker Hub'
required: true
type: boolean
default: false
update_description:
description: 'Update Docker Hub repository description'
required: true
type: boolean
default: false
latest:
description: 'Also tag openjdk18-bullseye-spring as latest (when pushing images)'
required: true
type: boolean
default: false

run-name: "Docker ${{ inputs.version }} | push=${{ inputs.push_images }} | docs=${{ inputs.update_description }} | latest=${{ inputs.latest }}"

jobs:
update-description:
if: ${{ inputs.update_description }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Render Docker Hub overview
run: |
sed "s/{{VERSION}}/${{ inputs.version }}/g" docs/docker-hub-overview.md > /tmp/docker-hub-overview.md

- name: Update Docker Hub description
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: groupdocs/annotation
readme-filepath: /tmp/docker-hub-overview.md
short-description: GroupDocs.Annotation for Java ${{ inputs.version }} demo (Spring & Dropwizard)

build:
if: ${{ inputs.push_images }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
framework: [spring, dropwizard]
jdk: [openjdk8, openjdk11, openjdk18]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set context directory
id: ctx
run: |
if [ "${{ matrix.framework }}" = "spring" ]; then
echo "dir=Demos/Spring" >> "$GITHUB_OUTPUT"
else
echo "dir=Demos/Dropwizard" >> "$GITHUB_OUTPUT"
fi

- name: Determine tags
id: tags
run: |
TAG="groupdocs/annotation:${{ inputs.version }}-java-${{ matrix.jdk }}-bullseye-${{ matrix.framework }}"
TAGS="${TAG}"
if [ "${{ inputs.latest }}" = "true" ] && [ "${{ matrix.framework }}" = "spring" ] && [ "${{ matrix.jdk }}" = "openjdk18" ]; then
TAGS="${TAGS},groupdocs/annotation:latest"
fi
echo "tags=${TAGS}" >> "$GITHUB_OUTPUT"

- name: Build and push
uses: docker/build-push-action@v6
with:
context: ${{ steps.ctx.outputs.dir }}
file: ${{ steps.ctx.outputs.dir }}/docker/Dockerfile-${{ matrix.jdk }}-bullseye
push: true
tags: ${{ steps.tags.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
60 changes: 60 additions & 0 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Update Version

on:
workflow_dispatch:
inputs:
version:
description: 'New version (e.g. 25.6)'
required: true
type: string
create_pr:
description: 'Create a pull request with the changes'
required: true
type: boolean
default: true

run-name: "Update version to ${{ inputs.version }}"

jobs:
update-version:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Update versions
run: ./scripts/update-version.sh ${{ inputs.version }}

- name: Verify versions
run: ./scripts/update-version.sh

- name: Show changed files
run: git diff --name-only

- name: Create pull request
if: ${{ inputs.create_pr }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ inputs.version }}
run: |
BRANCH="update-version-${VERSION}"
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout -b "${BRANCH}"
git add -A
git commit -m "Update version to ${VERSION}"
git push -u origin "${BRANCH}"
gh pr create \
--title "Update version to ${VERSION}" \
--body "Automated version update to **${VERSION}** across all projects, Dockerfiles, and README."

- name: Commit directly
if: ${{ !inputs.create_pr }}
env:
VERSION: ${{ inputs.version }}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "Update version to ${VERSION}"
git push
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/Examples/target
/Examples/Resources/Output
Examples/.classpath
Examples/.project
Examples/.settings/
deploy_key

#License files
*.lic
9 changes: 9 additions & 0 deletions Demos/Dropwizard/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.git
target
client/node_modules
client/.angular
client/package-lock.json
docker
Dockerfile
DocumentSamples/*
!DocumentSamples/.gitkeep
23 changes: 23 additions & 0 deletions Demos/Dropwizard/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.idea/*
*.iml
*.ipr
*.iws
target/*
.DS_Store
vs.bin
App_Data/*
node_modules
client/.angular
src/main/resources/assets/*
!src/main/resources/assets/angular/
!src/main/resources/assets/angular/**
node/
etc/
package-lock.json
Licenses/*
!Licenses/.gitkeep
DocumentSamples/*
!DocumentSamples/.gitkeep

#License files
*.lic
40 changes: 40 additions & 0 deletions Demos/Dropwizard/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
dist: trusty
language: java
jdk:
- oraclejdk8
- oraclejdk9
- openjdk8
#- oraclejdk11
#- openjdk10
#- openjdk11
services:
- docker
jobs:
include:
- stage: Coverage
jdk: oraclejdk8
script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
- mvn clean package
- JACOCO_SOURCE_PATH=src/main/java ./cc-test-reporter format-coverage target/site/jacoco/jacoco.xml --input-type jacoco
- ./cc-test-reporter upload-coverage
- stage: Tag Release
if: type = push AND branch = master AND commit_message !~ /^Travis bot released/
install: skip
script: git checkout master && git reset --hard $sha1 && git config --global push.followTags true && git config --global user.email "travis@travis-ci.org" && git config --global user.name "Travis CI" && export current_version=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec) && echo "current version ${current_version}" && export minor=$(echo $current_version | sed "s/^[0-9]\{1,\}\.[0-9]\{1,\}\.\([0-9]\{1,\}\)/\1/") && export major=$(echo $current_version | sed "s/^\([0-9]\{1,\}\.[0-9]\{1,\}\)\.[0-9]\{1,\}/\1/") && export next_version=$major.$((minor+1)) && echo "next version ${next_version}" && sed -i.bak "s/$current_version/$next_version/g" README.md && rm README.md.bak && sed -i.bak "s/^ <version>$current_version<\\/version>/ <version>$next_version<\\/version>/g" pom.xml && rm pom.xml.bak && git status && git commit -am "Travis bot released $next_version" && git tag -a $next_version -m "Automated release" && git remote add target https://${GH_TOKEN}@github.com/groupdocs-annotation/GroupDocs.Annotation-for-Java-Dropwizard.git > /dev/null 2>&1 && git remote -v && git push --set-upstream target master
- stage: Release
if: type = push AND branch = master AND commit_message =~ /^Travis bot released/
install: skip
jdk: oraclejdk8
script: mvn -B clean package && mkdir -p target/release/DocumentSamples && mkdir -p target/release/Licenses && cp target/annotation-*.jar target/release && cp configuration.yml target/release && cd target && tar -zcvf release.tar.gz release && cd ..
deploy:
provider: releases
overwrite: true
skip_cleanup: true
api_key: $GH_TOKEN
file: target/release.tar.gz
on:
repo: groupdocs-annotation/GroupDocs.Annotation-for-Java-Dropwizard
branch: master
26 changes: 26 additions & 0 deletions Demos/Dropwizard/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Build the project
FROM maven:3-eclipse-temurin-8 AS builder
COPY pom.xml /usr/local/build/pom.xml
COPY src /usr/local/build/src
WORKDIR /usr/local/build
RUN mvn clean package -DskipTests -Dskip.npm=true

# Configure Docker Image
FROM eclipse-temurin:21-jre-jammy

RUN apt-get update && \
apt-get install -y --no-install-recommends fontconfig && \
fc-cache -f && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /home/groupdocs/app && \
mkdir -p /home/groupdocs/app/DocumentSamples && \
mkdir -p /home/groupdocs/app/Licenses

WORKDIR /home/groupdocs/app
COPY /DocumentSamples /home/groupdocs/app/DocumentSamples
COPY /configuration.yml /home/groupdocs/app/configuration.yml
COPY --from=builder /usr/local/build/target/annotation-*.jar /home/groupdocs/app/app.jar

EXPOSE 8080

ENTRYPOINT [ "java", "-jar", "app.jar", "configuration.yml" ]
Empty file.
21 changes: 21 additions & 0 deletions Demos/Dropwizard/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2001-2018 Aspose Pty Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Empty file.
Loading