All Downloads are FREE. Search and download functionalities are using the official Maven repository.

el-sql.plugins.laf.3.5.0.source-code.pom.xml Maven / Gradle / Ivy

Go to download

This plugin gives SQuirreLSQL client the ability to configure alternate LaFs provided by the plugin as well as others that the user can provide. All dependencies listed with a groupId of net.sf.squirrel-sql and artifactId starting with squirrelsql-lf- are externally available open-source look and feels whose project maintainers have decided to not use maven, or those which were built and maintained only before the introduction of maven. Maven's central repository policy requires any pom that is deployed there to reference only artifacts which are also hosted in central. And a project may only use the groupId that is related to that project. So, this only leaves us with one option which is to host these external third-party artifacts using our groupId. The hope is that someday these projects will start using maven and the need for this will no longer be.

The newest version!
<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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<!-- This pom is slightly different from other plugin poms because it requires 
		special assembly instructions since it includes LAF jars from other projects 
		in the lafs/ folder of the assembly. Since no other plugin has special needs 
		like this, this plugin's pom doesn't inherit from the plugin parent pom (the 
		assembly that is inherited from plugin parent somehow cannot be overridden 
		by this pom's assembly plugin configuration). To add/remove/modify the LAFS 
		that get included in the assembly archive, you must add/remove/modify the 
		dependency below on the maven project that contains the LAF artifact *and* 
		add the artifactId to the laf.artifactIds property. -->
	<parent>
		<groupId>net.sf.squirrel-sql</groupId>
		<artifactId>squirrel-root-pom</artifactId>
		<version>3.5.0</version>
		<relativePath>../../pom.xml</relativePath>
	</parent>

	<groupId>net.sf.squirrel-sql.plugins</groupId>
	<artifactId>laf</artifactId>
	<packaging>jar</packaging>

	<name>Look and Feel Plugin</name>
	<description>
		This plugin gives SQuirreLSQL client the ability to configure alternate LaFs provided by the plugin
		as well as others that the user can provide. All dependencies listed with a groupId of
		net.sf.squirrel-sql and artifactId starting with squirrelsql-lf- are externally available
		open-source
		look and feels whose project maintainers have decided to not use maven, or those which were built and
		maintained only before the introduction of maven. Maven's central repository policy requires any
		pom that is deployed there to reference only artifacts which are also hosted in central. And a
		project may only use the groupId that is related to that project. So, this only leaves us with one
		option which is to host these external third-party artifacts using our groupId. The hope is that
		someday these projects will start using maven and the need for this will no longer be. 
   </description>
	<inceptionYear>2001</inceptionYear>
	<developers>
		<developer>
			<name>Gerd Wagner</name>
			<roles>
				<role>Administrator</role>
				<role>Developer</role>
			</roles>
		</developer>
		<developer>
			<name>Rob Manning</name>
			<roles>
				<role>Developer</role>
				<role>Release Manager</role>
			</roles>
		</developer>
	</developers>
	<licenses>
		<license>
			<name>GNU Lesser</name>
			<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<url>http://www.squirrelsql.org/</url>
	<scm>
		<connection>scm:git:git://git.code.sf.net/p/squirrel-sql/git</connection>
		<developerConnection>scm:git:ssh://git.code.sf.net/p/squirrel-sql/git</developerConnection>
		<url>http://sourceforge.net/p/squirrel-sql/git/ci/fe9318bdee3991f010b5b476244e5629c7d8efee/tree</url>
	  <tag>squirrel-sql-3.5.0</tag>
  </scm>
	<issueManagement>
		<system>SourceForge Tracker</system>
		<url>http://sourceforge.net/tracker/?group_id=28383%26atid=393414</url>
	</issueManagement>
	<ciManagement>
		<system>Hudson</system>
		<url>https://www.squirrel-sql.org/hudson/</url>
	</ciManagement>
	<properties>
		<pluginClassName>net.sourceforge.squirrel_sql.plugins.laf.LAFPlugin</pluginClassName>
		<staging.dir>${project.build.directory}</staging.dir>
		<laf.artifactIds>
			ilf-gpl,kunstoff-laf,looks,napkinlaf,nimrod-laf,skinlf,substance,swingsetthemes,toniclf,tinylaf,JTattoo
		</laf.artifactIds>
	</properties>
	<dependencies>
		<dependency>
			<groupId>net.sf.squirrel-sql</groupId>
			<artifactId>fw</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>net.sf.squirrel-sql</groupId>
			<artifactId>fw</artifactId>
			<version>${project.version}</version>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>net.sf.squirrel-sql</groupId>
			<artifactId>squirrel-sql</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>net.sf.squirrel-sql</groupId>
			<artifactId>squirrel-sql</artifactId>
			<version>${project.version}</version>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>gsbase</groupId>
			<artifactId>gsbase</artifactId>
			<version>${gsbase-version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit-version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.easymock</groupId>
			<artifactId>easymock</artifactId>
			<version>${easymock-version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.easymock</groupId>
			<artifactId>easymockclassextension</artifactId>
			<version>${easymockclassextension-version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>${mockito-version}</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
			<artifactId>ilf-gpl</artifactId>
			<version>1.6.1</version>
		</dependency>
		<dependency>
			<groupId>com.incors</groupId>
			<artifactId>kunstoff-laf</artifactId>
			<version>2.0.2</version>
		</dependency>
		<dependency>
			<groupId>com.jgoodies</groupId>
			<artifactId>looks</artifactId>
			<version>2.2.2</version>
		</dependency>
		<!-- Project napkinlaf uses maven, but curiously doesn't deploy to maven 
			central. I filed an issue to encourage them to: https://sourceforge.net/tracker/?func=detail&atid=636986&aid=2842880&group_id=104116 -->
		<dependency>
			<groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
			<artifactId>napkinlaf</artifactId>
			<version>1.2</version>
		</dependency>
		<dependency>
			<groupId>net.sf.nimrod</groupId>
			<artifactId>nimrod-laf</artifactId>
			<version>1.2</version>
		</dependency>
		<!-- This was removed as Oyoaha lnf isn't supported in Java 6 -->
		<!-- <dependency> -->
		<!-- <groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId> -->
		<!-- <artifactId>oalnf</artifactId> -->
		<!-- <version>3.0</version> -->
		<!-- </dependency> -->
		<dependency>
			<groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
			<artifactId>skinlf</artifactId>
			<version>6.7</version>
		</dependency>
		<dependency>
			<groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
			<artifactId>skinlf-theme-packs</artifactId>
			<version>1.0.0</version>
		</dependency>
		<!-- Project owner not interested in maven: https://substance.dev.java.net/issues/show_bug.cgi?id=287 -->
		<dependency>
			<groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
			<artifactId>substance</artifactId>
			<version>5.2_01</version>
		</dependency>
		<dependency>
			<groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
			<artifactId>swingsetthemes</artifactId>
			<version>20040726</version>
		</dependency>
		<dependency>
			<groupId>net.sf.tinylaf</groupId>
			<artifactId>tinylaf</artifactId>
			<version>1.4.0</version>
		</dependency>
		<dependency>
			<groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
			<artifactId>toniclf</artifactId>
			<version>1.0.5</version>
		</dependency>
		<dependency>
			<groupId>com.jtattoo</groupId>
			<artifactId>JTattoo</artifactId>
			<version>1.6.7</version>
		</dependency>
	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>${source-plugin-version}</version>
				<configuration>
					<outputDirectory>target</outputDirectory>
					<finalName>${project.artifactId}</finalName>
					<includePom>true</includePom>
					<!-- We exclude docs from the source jar, because the assembly has to 
						have them for the plugin install to work; and we don't want the source jar 
						to contain them as well as the assembly jar as that just makes the assembly 
						jar bigger. -->
					<excludes>
						<exclude>**/doc/**</exclude>
						<exclude>**/doc</exclude>
					</excludes>
				</configuration>
				<executions>
					<execution>
						<phase>prepare-package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>${surefire-plugin-version}</version>
				<configuration>
					<redirectTestOutputToFile>true</redirectTestOutputToFile>
					<parallel>${surefire-parallel-type}</parallel>
					<threadCount>${surefire-thread-count}</threadCount>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>${jar-plugin-version}</version>
				<configuration>
					<archive>
						<addMavenDescriptor>false</addMavenDescriptor>
					</archive>
					<finalName>${project.artifactId}</finalName>
					<!-- We exclude docs from the classes jar, for the same reason as above -->
					<excludes>
						<exclude>**/doc/**</exclude>
						<exclude>**/doc</exclude>
					</excludes>
				</configuration>
				<executions>
					<execution>
						<phase>prepare-package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<version>${dependency-plugin-version}</version>
				<executions>
					<execution>
						<id>copy-lafs</id>
						<phase>process-resources</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<stripVersion>true</stripVersion>
							<includeArtifactIds>${laf.artifactIds}</includeArtifactIds>
							<outputDirectory>${staging.dir}/plugins/laf/lafs</outputDirectory>
						</configuration>
					</execution>
					<execution>
						<id>unpack-skinlf-theme-packs</id>
						<phase>process-resources</phase>
						<goals>
							<goal>unpack</goal>
						</goals>
						<configuration>
							<stripVersion>true</stripVersion>
							<artifactItems>
								<artifactItem>
									<groupId>net.sf.squirrel-sql.thirdparty-non-maven</groupId>
									<artifactId>skinlf-theme-packs</artifactId>
									<version>1.0.0</version>
								</artifactItem>
							</artifactItems>
							<outputDirectory>${staging.dir}/skinlf-theme-packs</outputDirectory>
							<excludes>META-INF,META-INF/MANIFEST.MF</excludes>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>${assembly-plugin-version}</version>
				<executions>
					<execution>
						<id>create-plugin-archives</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<descriptors>
								<descriptor>src/main/resources/assemblies/laf-plugin-assembly.xml</descriptor>
							</descriptors>
							<appendAssemblyId>true</appendAssemblyId>
							<finalName>${project.artifactId}</finalName>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	<profiles>
		<profile>
			<id>launch</id>
			<activation>
				<property>
					<name>launch</name>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>exec-maven-plugin</artifactId>
						<version>1.2</version>
						<executions>
							<execution>
								<goals>
									<goal>exec</goal>
								</goals>
								<phase>test</phase>
								<configuration>
									<executable>java</executable>
									<arguments>
										<argument>-Xmx256m</argument>
										<argument>-Xdebug</argument>
										<argument>-Xnoagent</argument>
										<argument>-Xrunjdwp:transport=dt_socket,address=8450,server=y,suspend=n</argument>
										<argument>-Djava.compiler=NONE</argument>
										<argument>-classpath</argument>
										<classpath />
										<argument>net.sourceforge.squirrel_sql.client.Main</argument>
										<argument>-home</argument>
										<argument>./target</argument>
										<argument>-pluginlist</argument>
										<argument>${pluginClassName}</argument>
									</arguments>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>m2e</id>
			<build>
				<pluginManagement>
					<plugins>
						<!--This plugin's configuration is used to store Eclipse m2e settings 
							only. It has no influence on the Maven build itself. -->
						<plugin>
							<groupId>org.eclipse.m2e</groupId>
							<artifactId>lifecycle-mapping</artifactId>
							<version>1.0.0</version>
							<configuration>
								<lifecycleMappingMetadata>
									<pluginExecutions>
										<pluginExecution>
											<pluginExecutionFilter>
												<groupId>org.apache.maven.plugins</groupId>
												<artifactId>maven-dependency-plugin</artifactId>
												<versionRange>${dependency-plugin-version}</versionRange>
												<goals>
													<goal>copy-dependencies</goal>
													<goal>unpack</goal>
												</goals>
											</pluginExecutionFilter>
											<action>
												<ignore />
											</action>
										</pluginExecution>
									</pluginExecutions>
								</lifecycleMappingMetadata>
							</configuration>
						</plugin>
					</plugins>
				</pluginManagement>
			</build>
		</profile>
	</profiles>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy