opencast-engage-paella-player
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.opencastproject</groupId> <artifactId>opencast-engage-paella-player</artifactId> <version>15.13</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>opencast-engage-paella-player</artifactId> <packaging>bundle</packaging> <name>Opencast :: engage-paella-player</name> <parent> <groupId>org.opencastproject</groupId> <artifactId>base</artifactId> <version>15.13</version> <relativePath>../../pom.xml</relativePath> </parent> <properties> <opencast.basedir>${project.basedir}/../..</opencast.basedir> </properties> <dependencies /> <profiles> <profile> <id>frontend-no-prebuilt</id> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <id>npm ci</id> <goals> <goal>exec</goal> </goals> <phase>initialize</phase> <configuration> <executable>npm</executable> <arguments> <argument>ci</argument> </arguments> </configuration> </execution> <execution> <id>eslint</id> <goals> <goal>exec</goal> </goals> <phase>test</phase> <configuration> <executable>npm</executable> <arguments> <argument>run</argument> <argument>eslint</argument> </arguments> </configuration> </execution> <execution> <id>frontend build</id> <goals> <goal>exec</goal> </goals> <phase>generate-resources</phase> <configuration> <executable>npx</executable> <arguments> <argument>gulp</argument> <argument>paella-opencast:build</argument> </arguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>frontend</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> <id>install node and npm</id> <phase>validate</phase> <goals> <goal>install-node-and-npm</goal> </goals> <configuration> <!-- Still building this with the old version of node --> <!-- This is going soon anyway. --> <!-- No need to work on an update --> <nodeVersion>v16.13.0</nodeVersion> </configuration> </execution> <execution> <phase>validate</phase> <id>npm ci</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments>ci</arguments> </configuration> </execution> <execution> <phase>validate</phase> <id>eslint</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments>run eslint</arguments> </configuration> </execution> <execution> <phase>process-resources</phase> <id>gulp build</id> <goals> <goal>gulp</goal> </goals> <configuration> <arguments>paella-opencast:build</arguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>copy-player</id> <phase>compile</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${basedir}/target/classes/ui/</outputDirectory> <resources> <resource> <directory>./target/gulp/paella-opencast</directory> <includes> <include>**</include> </includes> <filtering>false</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Private-Package>ui.*</Private-Package> <Http-Alias>/paella/ui</Http-Alias> <Http-Classpath>/ui</Http-Classpath> <Http-Welcome>watch.html</Http-Welcome> </instructions> </configuration> <executions> <execution> </execution> </executions> </plugin> </plugins> </build> </project>