Mercurial > hg > release > thermostat-1.4
view keyring/pom.xml @ 1825:2ae8438ee9d2
Keyring service might block forever storing passwords on newer distributions
Add a libsecret based JNI implementation which is preferred over an
libgnome-keyring based one. The JNI build is now autotools based so
as to be able to select an implementation at build time.
PR2660
Reviewed-by: neugens, omajid
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-October/016616.html
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-October/016640.html
author | Severin Gehwolf <sgehwolf@redhat.com> |
---|---|
date | Mon, 05 Oct 2015 11:58:01 -0400 |
parents | 5b66dcca659d |
children | 0e3d1a118611 |
line wrap: on
line source
<!-- Copyright 2012-2015 Red Hat, Inc. This file is part of Thermostat. Thermostat is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. Thermostat is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Thermostat; see the file COPYING. If not see <http://www.gnu.org/licenses/>. Linking this code with other modules is making a combined work based on this code. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this code give you permission to link this code with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this code. If you modify this code, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your 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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>thermostat</artifactId> <groupId>com.redhat.thermostat</groupId> <version>1.3.6-SNAPSHOT</version> </parent> <artifactId>thermostat-keyring</artifactId> <packaging>bundle</packaging> <name>Thermostat Keyring API</name> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Bundle-Activator>com.redhat.thermostat.utils.keyring.activator.Activator</Bundle-Activator> <Bundle-SymbolicName>com.redhat.thermostat.keyring</Bundle-SymbolicName> <Private-Package> com.redhat.thermostat.utils.keyring.activator, com.redhat.thermostat.utils.keyring.impl, </Private-Package> <Export-Package>com.redhat.thermostat.utils.keyring</Export-Package> <Bundle-Vendor>Red Hat, Inc.</Bundle-Vendor> <!-- Do not autogenerate uses clauses in Manifests --> <_nouses>true</_nouses> </instructions> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemPropertyVariables> <com.redhat.thermostat.utils.keyring.provider>com.redhat.thermostat.utils.keyring.MemoryKeyring</com.redhat.thermostat.utils.keyring.provider> <com.redhat.thermostat.shared.loader.testNativesHome>${project.build.directory}</com.redhat.thermostat.shared.loader.testNativesHome> </systemPropertyVariables> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.2.1</version> <executions> <execution> <id>id1</id> <phase>compile</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>autoreconf</executable> <arguments> <argument>--install</argument> </arguments> </configuration> </execution> <execution> <id>id2</id> <phase>compile</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>./configure</executable> </configuration> </execution> <execution> <id>id3</id> <phase>compile</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>make</executable> <arguments> <argument>all</argument> </arguments> <systemProperties> <systemProperty> <key>JAVA_HOME</key> <value>${java.home}</value> </systemProperty> </systemProperties> </configuration> </execution> </executions> </plugin> </plugins> <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.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <versionRange>[1.2.1,)</versionRange> <goals> <goal>exec</goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.compendium</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.redhat.thermostat</groupId> <artifactId>thermostat-annotations</artifactId> <version>${project.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.redhat.thermostat</groupId> <artifactId>thermostat-shared-config</artifactId> <version>${project.version}</version> <scope>compile</scope> </dependency> </dependencies> </project>