Skip to content

Commit e874f01

Browse files
committed
Merge branch 'feature/submodule-core-plugin-ex'
2 parents 2d10bf7 + 2a4fe7e commit e874f01

61 files changed

Lines changed: 5867 additions & 46 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy-core.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/deploy-maven-plugin.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Publish package to GitHub Packages
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
publish-core:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
packages: write
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-java@v3
14+
with:
15+
java-version: '11'
16+
distribution: 'adopt'
17+
- name: Publish package SQLSchema2Java Core
18+
run: |
19+
cd sqlschema2java-core
20+
mvn --batch-mode deploy
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
24+
deploy-await:
25+
runs-on: ubuntu-latest
26+
needs: publish-core
27+
steps:
28+
- name: Sleep for 30 seconds
29+
uses: jakejarvis/wait-action@master
30+
with:
31+
time: '5m'
32+
33+
publish-maven-plugin:
34+
runs-on: ubuntu-latest
35+
environment:
36+
name: plugin
37+
permissions:
38+
contents: read
39+
packages: write
40+
needs: deploy-await
41+
steps:
42+
- uses: actions/checkout@v3
43+
- uses: actions/setup-java@v3
44+
with:
45+
java-version: '11'
46+
distribution: 'adopt'
47+
- name: Publish package SQLSchema2Java Core
48+
run: |
49+
cd sqlschema2java-maven-plugin
50+
mvn --batch-mode deploy
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,14 @@ buildNumber.properties
99
.mvn/timing.properties
1010
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
1111
.mvn/wrapper/maven-wrapper.jar
12+
.classpath
13+
.project
14+
.settings/org.eclipse.core.resources.prefs
15+
.settings/org.eclipse.jdt.core.prefs
16+
.settings/org.eclipse.m2e.core.prefs
17+
.settings/org.springframework.ide.eclipse.prefs
18+
sqlschema2java-example/.settings/org.eclipse.m2e.core.prefs
19+
sqlschema2java-example/src
20+
sqlschema2java-maven-plugin/.settings/org.eclipse.jdt.core.prefs
21+
sqlschema2java-maven-plugin/.settings/org.eclipse.m2e.core.prefs
22+
sqlschema2java-maven-plugin/.settings/org.springframework.ide.eclipse.prefs

buildAndRunExample.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/sh
2+
3+
printf "
4+
_____ ____ __ ___ _____ _ _____
5+
/ ___// __ \ / / |__ \ / / | | / / |
6+
\__ \/ / / / / / __/ /__ / / /| | | / / /| |
7+
___/ / /_/ / / /___/ __// /_/ / ___ | |/ / ___ |
8+
/____/\___\_\/_____/____/\____/_/ |_|___/_/ |_|
9+
10+
Github : https://github.com/Sassine/sqlschema2java
11+
12+
"
13+
14+
mvn install
15+
16+
cd sqlschema2java-example/
17+
18+
./runSqlSchema2Java.sh

file.txt

Whitespace-only changes.

pom.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<artifactId>sqlschema2java</artifactId>
7+
<version>1.0.0-SNAPSHOT</version>
8+
<name>sqlschema2java</name>
9+
<packaging>pom</packaging>
10+
<groupId>dev.sassine.api</groupId>
11+
12+
13+
<developers>
14+
<developer>
15+
<name>Sassine El-Asmar</name>
16+
<id>sassineasmar</id>
17+
<organization>Sassine.dev</organization>
18+
<organizationUrl>https://sassine.dev/</organizationUrl>
19+
<roles>
20+
<role>Administrator</role>
21+
<role>Developer</role>
22+
</roles>
23+
</developer>
24+
</developers>
25+
26+
27+
<modules>
28+
<module>sqlschema2java-core</module>
29+
<module>sqlschema2java-maven-plugin</module>
30+
<module>sqlschema2java-example</module>
31+
</modules>
32+
33+
</project>

sqlschema2java-core/.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
target/
2+
pom.xml.tag
3+
pom.xml.releaseBackup
4+
pom.xml.versionsBackup
5+
pom.xml.next
6+
release.properties
7+
dependency-reduced-pom.xml
8+
buildNumber.properties
9+
.mvn/timing.properties
10+
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
11+
.mvn/wrapper/maven-wrapper.jar
12+
.classpath
13+
.project
14+
.settings/org.eclipse.core.resources.prefs
15+
.settings/org.eclipse.jdt.core.prefs
16+
.settings/org.eclipse.m2e.core.prefs
17+
.settings/org.springframework.ide.eclipse.prefs

0 commit comments

Comments
 (0)