not all version of JDBC can be found and run

This commit is contained in:
YuCheng Hu 2024-07-31 16:52:08 -04:00
parent 3088a2dc6d
commit b46af085df
1 changed files with 10 additions and 47 deletions

57
pom.xml
View File

@ -4,63 +4,26 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.intersystems.samples</groupId> <groupId>com.isharkfly.open</groupId>
<artifactId>iris-helloworld</artifactId> <artifactId>iris-java-helloworld</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>InterSystems IRIS Sample</name> <name>InterSystems IRIS Sample</name>
<description>InterSystems IRIS Tutorial Code Sample.</description> <description>InterSystems IRIS Tutorial Code Sample</description>
<url>http://intersystems.com</url> <url>http://intersystems.com</url>
<inceptionYear>2019</inceptionYear> <inceptionYear>2024</inceptionYear>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.intersystems</groupId> <groupId>com.intersystems</groupId>
<artifactId>intersystems-jdbc</artifactId> <artifactId>intersystems-jdbc</artifactId>
<version>3.0.0</version> <version>3.2.0</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>${project.build.directory}/dependency/</classpathPrefix>
</manifest>
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
<manifestEntries>
<Built> ${maven.build.timestamp} </Built>
<Description> ${project.description} </Description>
<Artifact-Id> ${project.artifactId} </Artifact-Id>
<Specification-Title> ${project.name} </Specification-Title>
<Specification-Vendor> ${project.organization.name} </Specification-Vendor>
<Implementation-URL> ${project.url} </Implementation-URL>
<Implementation-Title> ${project.name} </Implementation-Title>
<Implementation-Vendor> ${project.organization.name} </Implementation-Vendor>
<Implementation-Vendor-Id> ${project.groupId} </Implementation-Vendor-Id>
<Implementation-Version> ${project.version} </Implementation-Version>
<Sealed> true </Sealed>
</manifestEntries>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>