mica-ui
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>ca.ibodrov.mica</groupId> <artifactId>mica-ui</artifactId> <version>0.0.33</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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>ca.ibodrov.mica</groupId> <artifactId>mica</artifactId> <version>0.0.33</version> </parent> <artifactId>mica-ui</artifactId> <name>${project.groupId}:${project.artifactId}</name> <build> <plugins> <!-- this handles all NPM-related stuff --> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> <id>install-node-and-npm</id> <goals> <goal>install-node-and-npm</goal> </goals> </execution> <execution> <id>npm-install</id> <goals> <goal>npm</goal> </goals> </execution> <execution> <id>npm-pretty-check</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments> run pretty-check </arguments> </configuration> </execution> <execution> <id>npm-lint</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments> run lint </arguments> </configuration> </execution> <execution> <id>npm-build</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments>run build</arguments> </configuration> </execution> </executions> <configuration> <nodeVersion>${node.version}</nodeVersion> <npmVersion>${npm.version}</npmVersion> </configuration> </plugin> <!-- this is used to generate a file with checksums of all UI resources (the file is used by the server) --> <plugin> <groupId>net.nicoulaj.maven.plugins</groupId> <artifactId>checksum-maven-plugin</artifactId> <executions> <execution> <id>create-checksum-file</id> <phase>prepare-package</phase> <goals> <goal>files</goal> </goals> <configuration> <fileSets> <fileSet> <directory>${project.build.directory}/classes/META-INF/mica-ui</directory> <includes> <include>**/*.*</include> </includes> </fileSet> </fileSets> <algorithms> <algorithm>SHA-1</algorithm> </algorithms> <csvSummaryFile>classes/META-INF/mica-ui.checksums.cvs</csvSummaryFile> <includeRelativePath>true</includeRelativePath> </configuration> </execution> </executions> </plugin> <!-- this places the ServiceLocator file into the META-INF/services directory --> <plugin> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>copy-resource-one</id> <phase>generate-sources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${basedir}/target/classes</outputDirectory> <resources> <resource> <directory>package</directory> <includes> <include>**/*</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>