Skip to content

Commit b9f37e2

Browse files
committed
some updates
1 parent ff29c46 commit b9f37e2

File tree

3 files changed

+55
-69
lines changed

3 files changed

+55
-69
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
jar:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@master
11+
- uses: actions/setup-java@v1
12+
with:
13+
java-version: '1.8'
14+
- name: build and deploy jar
15+
run: mvn --batch-mode deploy
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
/target/
2+
.idea
3+
*.iml

pom.xml

Lines changed: 36 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,46 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
6-
<groupId>org.hibernate</groupId>
7-
<artifactId>hibernate-iris</artifactId>
8-
<version>1.0.0</version>
9-
<name>Support to Hibernate - InterSystems IRIS</name>
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
105

11-
<properties>
12-
<maven.compiler.target>1.8</maven.compiler.target>
13-
<maven.compiler.source>1.8</maven.compiler.source>
14-
<github.global.server>github</github.global.server>
15-
</properties>
6+
<groupId>org.hibernate</groupId>
7+
<artifactId>intersystems-hibernate</artifactId>
8+
<version>1.0.0</version>
9+
<name>Support to Hibernate - InterSystems IRIS</name>
1610

17-
<dependencies>
18-
<dependency>
19-
<groupId>org.hibernate</groupId>
20-
<artifactId>hibernate-core</artifactId>
21-
<version>5.2.18.Final</version>
22-
</dependency>
23-
</dependencies>
24-
25-
<distributionManagement>
11+
<properties>
12+
<maven.compiler.target>1.8</maven.compiler.target>
13+
<maven.compiler.source>1.8</maven.compiler.source>
14+
<github.global.server>github</github.global.server>
15+
</properties>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>org.hibernate</groupId>
20+
<artifactId>hibernate-core</artifactId>
21+
<version>5.2.18.Final</version>
22+
</dependency>
23+
</dependencies>
24+
25+
<distributionManagement>
2626
<repository>
27-
<id>internal.repo</id>
28-
<name>Temporary Staging Repository</name>
29-
<url>file://${project.build.directory}/mvn-repo</url>
27+
<id>github</id>
28+
<name>GitHub Apache Maven Packages</name>
29+
<url>https://maven.pkg.github.com/caretdev/intersystems-hibernate</url>
3030
</repository>
3131
</distributionManagement>
32-
33-
<build>
34-
<plugins>
35-
<plugin>
36-
<groupId>org.apache.maven.plugins</groupId>
37-
<artifactId>maven-compiler-plugin</artifactId>
38-
<version>3.6.1</version>
39-
<configuration>
40-
<source>1.8</source>
41-
<target>1.8</target>
42-
</configuration>
43-
</plugin>
44-
<plugin>
45-
<artifactId>maven-deploy-plugin</artifactId>
46-
<version>2.8.2</version>
47-
<configuration>
48-
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
49-
</configuration>
50-
</plugin>
51-
<plugin>
52-
<groupId>com.github.github</groupId>
53-
<artifactId>site-maven-plugin</artifactId>
54-
<version>0.11</version>
32+
33+
<build>
34+
<plugins>
35+
<plugin>
36+
<groupId>org.apache.maven.plugins</groupId>
37+
<artifactId>maven-compiler-plugin</artifactId>
38+
<version>3.6.1</version>
5539
<configuration>
56-
<message>Maven artifacts for ${project.version}</message>
57-
<noJekyll>true</noJekyll>
58-
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
59-
<branch>refs/heads/mvn-repo</branch>
60-
<includes><include>**/*</include></includes>
61-
<repositoryName>hibernate-iris</repositoryName>
62-
<repositoryOwner>yurimarx</repositoryOwner>
40+
<source>1.8</source>
41+
<target>1.8</target>
6342
</configuration>
64-
<executions>
65-
<execution>
66-
<goals>
67-
<goal>site</goal>
68-
</goals>
69-
<phase>deploy</phase>
70-
</execution>
71-
</executions>
7243
</plugin>
73-
74-
</plugins>
75-
</build>
76-
77-
78-
44+
</plugins>
45+
</build>
7946
</project>

0 commit comments

Comments
 (0)