norm-traxler cb6555cf65 Merge pull request #8 from Telecominfraproject/NETEXP-3471
WIFI-3471 Update SDK master to use image tag 1.3.0-SNAPSHOT
2021-08-17 18:21:10 -04:00
2020-07-06 10:46:29 -04:00
2021-08-13 13:03:58 -04:00
2020-08-12 10:51:55 -04:00

wlan-cloud-opensync-protobuf

The scripts in this repository produce maven artifact that has all the java classes generated from the opensync protobuf definitions. The protobuf files are taken from Opensync repo

Build instructions

  • make sure java jdk 9+ is installed
  • make sure maven is installed
  • make sure protoc version 3.12.4 is installed
  • configure maven settings.xml with maven repository credentials
  • vim ~/.m2/settings.xml
<settings>
  <servers>
    <server>
      <id>tip-wlan-cloud-maven-repo</id>
      <username>repo_user</username>
      <password>password</password>
    </server>
  </servers>
</settings>
  • configure maven toolchains.xml file with the location of the protoc executable
  • $ vim ~/.m2/toolchains.xml
<?xml version="1.0" encoding="utf-8"?>
<toolchains>
    <!-- protocol buffer 3.12.4 -->
    <toolchain>
        <type>protobuf</type>
        <provides>
            <version>3.12.4</version>
            <vendor>google</vendor>
        </provides>
        <configuration>
            <protocExecutable>/opt/local/bin/protoc</protocExecutable>
        </configuration>
    </toolchain>
</toolchains>
  • $ mvn clean install

Results of the build will be in wlan-cloud-opensync-protobuf/target/tip-wlan-opensync-protobuf-0.0.1-SNAPSHOT.jar They are also published in the maven repository tip-wlan-cloud-maven-repo, and can be included as maven dependencies:

                <dependency>
                        <groupId>com.telecominfraproject.wlan</groupId>
                        <artifactId>tip-wlan-opensync-protobuf</artifactId>
                        <version>${tip-wlan-cloud.release.version}</version>
                </dependency>
Description
No description provided
Readme BSD-3-Clause 139 KiB
Languages
Protocol Buffer 100%