configs
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.cognifide.aet</groupId>
<artifactId>configs</artifactId>
<version>3.2.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
AET
Copyright (C) 2013 Cognifide Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>osgi-dependencies</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>3.2.2</version>
</parent>
<artifactId>configs</artifactId>
<packaging>pom</packaging>
<name>AET :: Configs</name>
<description>AET OSGI configurations</description>
<properties>
<!-- property used for skipping configs uploads for non-vagrant environments, override to `none` if you want to skip configs upload -->
<skip.config.upload.phase>install</skip.config.upload.phase>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>package-into-zip</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/assembly/assembly-descriptor-zip.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<executions>
<execution>
<id>install-configs-zip</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<file>${project.build.directory}/${project.build.finalName}.zip</file>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<packaging>zip</packaging>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>upload</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<executions>
<!-- skip execution from parent as this module has no artifact built -->
<execution>
<id>upload-single-bundle-to-karaf</id>
<phase>none</phase>
</execution>
<execution>
<id>upload-osgi-configs</id>
<phase>${skip.config.upload.phase}</phase>
<goals>
<goal>upload</goal>
</goals>
<configuration>
<!-- property used for skipping configs uploads for non-vagrant environments -->
<fromDir>${project.basedir}/src/main/resources</fromDir>
<includes>**</includes>
<!--
please configure credentials for ${target.karaf.serverId}
in your settings.xml file
and check file and folders permissions
-->
<serverId>${target.karaf.serverId}</serverId>
<url>${target.karaf.configs.url}</url>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>