Skip to content

Commit 9c1d525

Browse files
authored
Merge pull request #6 from exasol/feature/5-Deploy_to_Central_Repository
#5: Deploy to Central Repository
2 parents 778b605 + d323bf0 commit 9c1d525

File tree

5 files changed

+96
-2
lines changed

5 files changed

+96
-2
lines changed

.settings/org.eclipse.jdt.core.prefs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
eclipse.preferences.version=1
22
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
33
org.eclipse.jdt.core.compiler.compliance=11
4+
org.eclipse.jdt.core.compiler.doc.comment.support=enabled
45
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
56
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
7+
org.eclipse.jdt.core.compiler.problem.invalidJavadoc=error
8+
org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled
9+
org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled
10+
org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled
11+
org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public
12+
org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
13+
org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
14+
org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
15+
org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
16+
org.eclipse.jdt.core.compiler.problem.missingJavadocTags=error
17+
org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled
18+
org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
19+
org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
620
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
721
org.eclipse.jdt.core.compiler.release=disabled
822
org.eclipse.jdt.core.compiler.source=11

pom.xml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,38 @@
1717
<surefire.and.failsafe.plugin.version>3.0.0-M4</surefire.and.failsafe.plugin.version>
1818
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml
1919
</sonar.coverage.jacoco.xmlReportPaths>
20+
<gpg.skip>true</gpg.skip>
2021
</properties>
22+
<licenses>
23+
<license>
24+
<name>MIT</name>
25+
<url>https://opensource.org/licenses/MIT</url>
26+
<distribution>repo</distribution>
27+
</license>
28+
</licenses>
29+
<developers>
30+
<developer>
31+
<name>Exasol</name>
32+
<email>[email protected]</email>
33+
<organization>Exasol AG</organization>
34+
<organizationUrl>https://www.exasol.com/</organizationUrl>
35+
</developer>
36+
</developers>
37+
<scm>
38+
<connection>scm:git:https://github.com/exasol/test-db-builder-java.git</connection>
39+
<developerConnection>scm:git:https://github.com/exasol/test-db-builder-java.git</developerConnection>
40+
<url>https://github.com/exasol/test-db-builder-java/tree/master</url>
41+
</scm>
42+
<distributionManagement>
43+
<snapshotRepository>
44+
<id>ossrh</id>
45+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
46+
</snapshotRepository>
47+
<repository>
48+
<id>ossrh</id>
49+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
50+
</repository>
51+
</distributionManagement>
2152
<repositories>
2253
<repository>
2354
<id>maven.exasol.com</id>
@@ -159,6 +190,53 @@
159190
</execution>
160191
</executions>
161192
</plugin>
193+
<plugin>
194+
<groupId>org.apache.maven.plugins</groupId>
195+
<artifactId>maven-source-plugin</artifactId>
196+
<version>3.2.1</version>
197+
<executions>
198+
<execution>
199+
<id>attach-sources</id>
200+
<goals>
201+
<goal>jar</goal>
202+
</goals>
203+
</execution>
204+
</executions>
205+
</plugin>
206+
<plugin>
207+
<groupId>org.apache.maven.plugins</groupId>
208+
<artifactId>maven-javadoc-plugin</artifactId>
209+
<version>3.2.0</version>
210+
<executions>
211+
<execution>
212+
<id>attach-javadocs</id>
213+
<goals>
214+
<goal>jar</goal>
215+
</goals>
216+
</execution>
217+
</executions>
218+
<configuration>
219+
<charset>UTF-8</charset>
220+
<doclint></doclint>
221+
<serialwarn>true</serialwarn>
222+
<failOnError>true</failOnError>
223+
<failOnWarnings>true</failOnWarnings>
224+
</configuration>
225+
</plugin>
226+
<plugin>
227+
<groupId>org.apache.maven.plugins</groupId>
228+
<artifactId>maven-gpg-plugin</artifactId>
229+
<version>1.6</version>
230+
<executions>
231+
<execution>
232+
<id>sign-artifacts</id>
233+
<phase>verify</phase>
234+
<goals>
235+
<goal>sign</goal>
236+
</goals>
237+
</execution>
238+
</executions>
239+
</plugin>
162240
</plugins>
163241
<pluginManagement>
164242
<plugins>

src/main/java/com/exasol/dbbuilder/DatabaseObjectException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
*/
66
public class DatabaseObjectException extends RuntimeException {
77
private static final long serialVersionUID = 1526690962275232472L;
8+
/** @serial fully qualified name of the database object that is the context of this exception */
89
private final String fullyQualifiedObjectName;
10+
/** @serial type of the database object that is the context of this exception */
911
private final String objectType;
1012

1113
/**

src/main/java/com/exasol/dbbuilder/Schema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class Schema extends AbstractDatabaseObject {
1515
* Create a new database schema.
1616
*
1717
* @param writer database object writer
18-
* @param name
18+
* @param name name of the database schema
1919
*/
2020
public Schema(final DatabaseObjectWriter writer, final String name) {
2121
super(writer, name);

src/main/java/com/exasol/dbbuilder/objectwriter/DatabaseObjectWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public interface DatabaseObjectWriter {
7777
/**
7878
* Write a virtual schema to the database.
7979
*
80-
* @param virtualSchema
80+
* @param virtualSchema Virtual Schema to write
8181
*/
8282
public void write(final VirtualSchema virtualSchema);
8383

0 commit comments

Comments
 (0)