inter-tab-comm
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.joynr.javascript.inter-tab</groupId>
<artifactId>inter-tab-comm</artifactId>
<version>1.4.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
#%L
%%
Copyright (C) 2011 - 2017 BMW Car IT GmbH
%%
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.
#L%
-->
<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>
<artifactId>inter-tab-comm</artifactId>
<groupId>io.joynr.javascript.inter-tab</groupId>
<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<description>joynr JavaScript Master tab support for inter-tab communication</description>
<parent>
<groupId>io.joynr.javascript</groupId>
<artifactId>inter-tab</artifactId>
<version>1.4.0</version>
</parent>
<properties>
<jquery.version>2.1.0</jquery.version>
<jquery.fullVersion>${jquery.version}-2</jquery.fullVersion>
<project.build.optimizerResources>${project.build.directory}/build-resources/almond</project.build.optimizerResources>
</properties>
<dependencies>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
<version>${jquery.fullVersion}</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/js</sourceDirectory>
<resources>
<resource>
<directory>src/main/js</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<!-- Maven eclipse plugin for better eclipse integration -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<additionalProjectnatures>
<projectnature>org.eclipse.wst.jsdt.core.jsNature</projectnature>
</additionalProjectnatures>
</configuration>
</plugin>
<!-- jslint-ing src/main/js -->
<plugin>
<groupId>com.googlecode.jslint4java</groupId>
<artifactId>jslint4java-maven-plugin</artifactId>
<executions>
<execution>
<id>lint-project</id>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>
<!-- Unpack JavaScript dependencies -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-js-build-resources</id>
<goals>
<goal>unpack</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>io.joynr.tools</groupId>
<artifactId>build-resources</artifactId>
<version>${project.version}</version>
<outputDirectory>${project.build.directory}/build-resources</outputDirectory>
<includes>almond/almond-0.2.5.js</includes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<!-- The require.js optimizer builds the single BrowserInterTabService that include
all exported require.js modules and their dependencies -->
<plugin>
<groupId>com.github.mcheely</groupId>
<artifactId>requirejs-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<id>generate-intertab-comm-service</id>
<phase>prepare-package</phase>
<goals>
<goal>optimize</goal>
</goals>
<configuration>
<!-- path to optimizer json config file -->
<configFile>
${basedir}/src/main/optimizer/config/require.optimizer.intertab.comm.js
</configFile>
</configuration>
</execution>
</executions>
<configuration>
<!-- Whether or not to process configFile with maven filters. If you
use this option, some options in your configFile must resolve to absolute paths
(see below) -->
<filterConfig>true</filterConfig>
</configuration>
</plugin>
<!-- NOTE the license to be added to the source header files must be
specifically (redundantly) defined below -->
<!-- This is a shortcoming of the license-maven-plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<verbose>false</verbose>
<addSvnKeyWords>true</addSvnKeyWords>
<licenseName>apache_v2</licenseName>
<roots>
<root>.</root>
</roots>
<excludes>
<!-- BITServiceEndFrag.js is the end fragment which surrounds the
result of the almond optimizer. Its counter part,
BITServiceStartFrag.js, already contains the joynr compatible
file header
-->
<exclude>src/main/resources/BITServiceEndFrag.js</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>