com.airlenet.yang:ganymed-ssh2

play yang

License

License

Categories

Categories

H2 Data Databases Net
GroupId

GroupId

com.airlenet.yang
ArtifactId

ArtifactId

ganymed-ssh2
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

play yang
Project Organization

Project Organization

airlenet

Download ganymed-ssh2

How to add to project

<!-- https://jarcasting.com/artifacts/com.airlenet.yang/ganymed-ssh2/ -->
<dependency>
    <groupId>com.airlenet.yang</groupId>
    <artifactId>ganymed-ssh2</artifactId>
    <version>1.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.airlenet.yang/ganymed-ssh2/
implementation 'com.airlenet.yang:ganymed-ssh2:1.2.0'
// https://jarcasting.com/artifacts/com.airlenet.yang/ganymed-ssh2/
implementation ("com.airlenet.yang:ganymed-ssh2:1.2.0")
'com.airlenet.yang:ganymed-ssh2:jar:1.2.0'
<dependency org="com.airlenet.yang" name="ganymed-ssh2" rev="1.2.0">
  <artifact name="ganymed-ssh2" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.airlenet.yang', module='ganymed-ssh2', version='1.2.0')
)
libraryDependencies += "com.airlenet.yang" % "ganymed-ssh2" % "1.2.0"
[com.airlenet.yang/ganymed-ssh2 "1.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.slf4j : slf4j-api Optional jar 1.7.25

Project Modules

There are no modules declared in this project.

yang-java

Yang file is parsed by Java antlr4; Yang file is parsed by java code and JNC code is generated. Its principle is based on JNC and onos-yang-tools

Reference JNC pyang antlr onos-yang-tools

yang-jnc

Modify based on JNC

yang-maven-plugin

Download

Download the latest JAR or grab via Maven:

<dependency>
  <groupId>com.airlenet.yang</groupId>
  <artifactId>yang-maven-plugin</artifactId>
  <version>LATEST</version>
</dependency>

Snapshots of the development version are available in Sonatype's snapshots repository.

Usage

<plugins>
    <plugin>
        <groupId>com.airlenet.yang</groupId>
        <artifactId>yang-maven-plugin</artifactId>
        <version>2.0.0-SNAPSHOT</version>
        <configuration>
            <yangFilesDir>src/main/yang</yangFilesDir>
            <packageName>com.test.yang.model.gen</packageName>
            <classFileDir>src/main/java</classFileDir>
        </configuration>
        <executions>
            <execution>
                <id>default</id>
                <goals>
                    <goal>yang2java</goal>
                </goals>
            </execution>
        </executions>
    </plugin>
    <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>1.7</version>
        <executions>
            <execution>
                <id>add-source</id>
                <phase>generate-sources</phase>
                <goals>
                    <goal>add-source</goal>
                </goals>
                <configuration>
                    <sources>
                        <source>target/generated-sources/java</source>
                    </sources>
                </configuration>
            </execution>
            <execution>
                <id>add-resource</id>
                <phase>generate-resources</phase>
                <goals>
                    <goal>add-resource</goal>
                </goals>
                <configuration>
                    <resources>
                        <resource>
                            <directory>target/generated-sources/java</directory>
                        </resource>
                    </resources>
                </configuration>
            </execution>
        </executions>
    </plugin>
</plugins>
mvn package                 # generator java class from yang model,compile,package

yang-example

License

See License File.

Versions

Version
1.2.0