vaadin-push-jakarta
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-push-jakarta</artifactId> <version>8.28.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.vaadin</groupId> <artifactId>vaadin-root</artifactId> <version>8.28.0</version> </parent> <groupId>com.vaadin</groupId> <artifactId>vaadin-push-jakarta</artifactId> <version>8.28.0</version> <name>vaadin-push-jakarta</name> <description>Vaadin server push support for Jakarta</description> <url>https://vaadin.com/</url> <organization> <name>Vaadin Ltd</name> </organization> <licenses> <license> <name>Vaadin Commercial License</name> <url>https://vaadin.com/commercial-license-and-service-terms</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>hesara</id> <name>Henri Sara</name> <email>hesara@vaadin.com</email> <organization>Vaadin</organization> <organizationUrl>http://vaadin.com</organizationUrl> <timezone>+2</timezone> </developer> </developers> <scm> <connection>scm:git:git://github.com/vaadin/framework.git/vaadin-push-jakarta</connection> <developerConnection>scm:git:git://github.com/vaadin/framework.git/vaadin-push-jakarta</developerConnection> <url>https://github.com/vaadin/framework/vaadin-push-jakarta</url> </scm> <distributionManagement> <repository> <id>vaadin-staging</id> <name>Vaadin release staging repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>vaadin-snapshots</id> <name>Vaadin snapshot repository</name> <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url> </snapshotRepository> </distributionManagement> <properties> <pushDirectory>${project.build.outputDirectory}/VAADIN</pushDirectory> <vaadinPush.js>${pushDirectory}/vaadinPush.js</vaadinPush.js> <vaadinPush-min.js>${pushDirectory}/vaadinPush-min.js</vaadinPush-min.js> <vaadinPush.debug.js>${pushDirectory}/vaadinPush.debug.js</vaadinPush.debug.js> </properties> <dependencies> <dependency> <groupId>com.vaadin.external.atmosphere</groupId> <artifactId>atmosphere-runtime</artifactId> <version>3.0.5.slf4jvaadin1</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-shared</artifactId> <version>8.28.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.core</artifactId> <version>6.0.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.cmpn</artifactId> <version>6.0.0</version> <scope>provided</scope> </dependency> </dependencies> <repositories> <repository> <snapshots> <enabled>true</enabled> </snapshots> <id>vaadin-prereleases</id> <url>https://maven.vaadin.com/vaadin-prereleases/</url> </repository> </repositories> <build> <pluginManagement> <plugins> <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-antrun-plugin</artifactId> <versionRange>[1.8,)</versionRange> <goals> <goal>run</goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>yuicompressor-maven-plugin</artifactId> <version>1.5.1</version> <executions> <execution> <id>minifyjs</id> <phase>process-resources</phase> <goals> <goal>compress</goal> </goals> </execution> </executions> <configuration> <sourceDirectory>${pushDirectory}</sourceDirectory> <jswarn>false</jswarn> <includes> <include>vaadinPush.js</include> </includes> <outputDirectory>${pushDirectory}</outputDirectory> </configuration> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-atmosphere-js</id> <phase>generate-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.atmosphere.client</groupId> <artifactId>javascript</artifactId> <version>${atmosphere.client.jakarta.version}</version> <type>war</type> <outputDirectory>${project.build.directory}/temp</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>unpack-atmosphere-js</id> <phase>generate-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <property name="javascript.unpack" location="${project.build.directory}/temp" /> <property name="templates.dir" location="${project.build.sourceDirectory}/../templates" /> <loadfile srcfile="${javascript.unpack}/javascript/atmosphere-min.js" property="atmosphere-min.js.contents" /> <loadfile srcfile="${javascript.unpack}/javascript/atmosphere.js" property="atmosphere.js.contents" /> <loadfile srcfile="${templates.dir}/vaadinPush.js.tpl" property="vaadinPush.debug.js.contents"> <filterchain> <replacetokens begintoken="@" endtoken="@"> <token value="${atmosphere.js.contents}" key="atmosphere.js" /> </replacetokens> </filterchain> </loadfile> <loadfile srcfile="${templates.dir}/vaadinPush.js.tpl" property="vaadinPush-min.js.contents"> <filterchain> <replacetokens begintoken="@" endtoken="@"> <token value="${atmosphere-min.js.contents}" key="atmosphere.js" /> </replacetokens> </filterchain> </loadfile> <echo file="${vaadinPush.debug.js}">${vaadinPush.debug.js.contents}</echo> <echo file="${vaadinPush-min.js}">${vaadinPush-min.js.contents}</echo> </target> </configuration> </execution> <execution> <id>compresspush</id> <phase>compile</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <property name="vaadinPush.debug.js" location="${project.build.outputDirectory}/VAADIN/vaadinPush.debug.js" /> <property name="vaadinPush-min.js" location="${project.build.outputDirectory}/VAADIN/vaadinPush.debug-min.js" /> <copy file="${vaadinPush-min.js}" tofile="${vaadinPush.js}" /> <gzip destfile="${vaadinPush.js}.gz" src="${vaadinPush.js}" /> <gzip destfile="${vaadinPush.debug.js}.gz" src="${vaadinPush.debug.js}" /> <gzip destfile="${vaadinPush-min.js}.gz" src="${vaadinPush-min.js}" /> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>biz.aQute.bnd</groupId> <artifactId>bnd-maven-plugin</artifactId> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> <index>false</index> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration> </plugin> </plugins> </build> </project>