leshan-bsserver-demo
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.eclipse.leshan</groupId> <artifactId>leshan-bsserver-demo</artifactId> <version>2.0.0-M6</version> </dependency>
<!-- Copyright (c) 2013-2015 Sierra Wireless and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 and Eclipse Distribution License v1.0 which accompany this distribution. The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v20.html and the Eclipse Distribution License is available at http://www.eclipse.org/org/documents/edl-v10.html. Contributors: Sierra Wireless - initial API and implementation --> <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>org.eclipse.leshan</groupId> <artifactId>leshan</artifactId> <version>2.0.0-M6</version> </parent> <artifactId>leshan-bsserver-demo</artifactId> <name>leshan - bootstrap server demo</name> <description>A LWM2M bootstrap demonstration server running an embedded Jetty server</description> <dependencies> <dependency> <groupId>org.eclipse.leshan</groupId> <artifactId>leshan-server-cf</artifactId> </dependency> <dependency> <groupId>org.eclipse.leshan</groupId> <artifactId>leshan-core-demo</artifactId> </dependency> <dependency> <groupId>org.eclipse.leshan</groupId> <artifactId>leshan-server-core-demo</artifactId> </dependency> <!-- runtime dependencies --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <scope>runtime</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> <id>install node and yarn</id> <goals> <goal>install-node-and-yarn</goal> </goals> </execution> <execution> <id>yarn install</id> <goals> <goal>yarn</goal> </goals> </execution> <execution> <id>yarn build</id> <goals> <goal>yarn</goal> </goals> <configuration> <environmentVariables> <!-- this variable will be used by webapp/vue.config.js --> <MAVEN_OUTPUT_DIR>${project.build.outputDirectory}/webapp</MAVEN_OUTPUT_DIR> <!-- this variable is used by the webapp --> <VUE_APP_COMMIT_ID>${buildNumber}</VUE_APP_COMMIT_ID> <VUE_APP_VERSION>${project.version}</VUE_APP_VERSION> </environmentVariables> <arguments>build</arguments> </configuration> </execution> </executions> <configuration> <workingDirectory>webapp</workingDirectory> <nodeVersion>v12.22.5</nodeVersion> <yarnVersion>v1.22.10</yarnVersion> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>org.eclipse.leshan.server.bootstrap.demo.LeshanBootstrapServerDemo</mainClass> </manifest> </archive> <descriptors> <descriptor>../jar-with-dependencies-with-logback.xml</descriptor> </descriptors> </configuration> <executions> <execution> <id>make-assembly</id> <!-- this is used for inheritance merges --> <phase>package</phase> <!-- bind to the packaging phase --> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.revapi</groupId> <artifactId>revapi-maven-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <failOnWarnings>false</failOnWarnings> </configuration> </plugin> </plugins> </build> </project>