flona-driver-single
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.amiyul.flona</groupId> <artifactId>flona-driver-single</artifactId> <version>1.1.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) Amiyul LLC - All Rights Reserved This source code is protected under international copyright law. All rights reserved and protected by the copyright holder. However, the generated bytecode from this source code is free for use. This file is confidential and only available to authorized individuals with the permission of the copyright holder. If you encounter this file and do not have permission, please contact the copyright holder and delete this file. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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> <parent> <groupId>com.amiyul.flona</groupId> <artifactId>flona-parent</artifactId> <version>1.1.0</version> </parent> <artifactId>flona-driver-single</artifactId> <packaging>jar</packaging> <dependencies> <dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>flona-driver</artifactId> <version>${project.parent.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>${assemblyPluginVersion}</version> <configuration> <appendAssemblyId>false</appendAssemblyId> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive> <manifest> <packageName>${project.parent.groupId}</packageName> </manifest> <manifestEntries> <Name>${driverName}</Name> <Specification-Title>JDBC</Specification-Title> <Specification-Vendor>Oracle Corporation</Specification-Vendor> <Implementation-Title>${driverName}</Implementation-Title> <Implementation-Version>${project.parent.version}</Implementation-Version> <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> </manifestEntries> </archive> </configuration> <executions> <execution> <id>package-driver-single</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>obfuscate</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <property name="compileClasspath" refid="maven.compile.classpath" /> <taskdef name="yguard" classname="com.yworks.yguard.YGuardTask" classpath="${compileClasspath}" /> <yguard> <inoutpair in="${artifactName}.jar" out="${artifactNameObfuscated}.jar" /> <rename conservemanifest="true" logfile="${project.build.directory}/yguard.log.xml"> <property name="error-checking" value="pedantic" /> <!-- TODO Change to mix or best <property name="naming-scheme" value="mix" /> --> <keep> <package> <patternset> <include name="${project.groupId}.**" /> </patternset> </package> <class name="${project.groupId}.db.DatabaseConfigFileParser" /> <class name="${project.groupId}.db.DatabasePropertiesFileParser" /> <class name="${project.groupId}.db.api.**" methods="public" /> <class name="${project.groupId}.driver.FlonaDriver" /> <class name="${project.groupId}.driver.FlonaDataSource" methods="public" /> <class name="${project.groupId}.driver.DriverConfigFileParser" /> <class name="${project.groupId}.driver.DriverPropertiesFileParser" /> <class name="${project.groupId}.driver.api.**" methods="public" /> </keep> </rename> </yguard> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <configuration> <includes> <include>**/**/closed-source.txt</include> </includes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>empty-javadoc-jar</id> <goals> <goal>jar</goal> </goals> <configuration> <classifier>javadoc</classifier> <classesDirectory>${basedir}/javadoc</classesDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <configuration> <skip>false</skip> </configuration> </plugin> </plugins> </build> </project>