Commits (10)
......@@ -314,17 +314,26 @@ any resulting litigation.
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.etsi.mts.tdl.extras.yang.tools.wrapper"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.etsi.mts.tdl.extras.yang.tools.wrapper.mvn"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<!--
<plugin
id="org.etsi.mts.tdl.extras.yang.tools.wrapper.bnd"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
-->
</feature>
......@@ -14,6 +14,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
<module>../plugins/org.etsi.mts.tdl.extras.yang.tools.wrapper.mvn/dependencies</module>
<module>../plugins/org.etsi.mts.tdl.extras.yang.tools.wrapper.mvn</module>
<module>../plugins/org.etsi.mts.tdl.extras.yang.tools.wrapper</module>
<module>../plugins/org.etsi.mts.tdl.extras.yang.tools.wrapper.bnd</module>
<!--
-->
<!-- Features -->
<module>../features/org.etsi.mts.tdl.extras.feature</module>
<!-- Update Site -->
......
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="." including="plugin.xml" excluding="**/*.java"/>
<classpathentry kind="output" path="target/classes"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-data-codec-gson/13.0.1/yang-data-codec-gson-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-data-codec-gson/13.0.1/yang-data-codec-gson-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar" sourcepath="M2_REPO/com/google/code/gson/gson/2.10.1/gson-2.10.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/guava/guava/32.1.3-jre/guava-32.1.3-jre.jar" sourcepath="M2_REPO/com/google/guava/guava/32.1.3-jre/guava-32.1.3-jre-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar" sourcepath="M2_REPO/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar"/>
<classpathentry kind="var" path="M2_REPO/org/checkerframework/checker-qual/3.37.0/checker-qual-3.37.0.jar" sourcepath="M2_REPO/org/checkerframework/checker-qual/3.37.0/checker-qual-3.37.0-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/errorprone/error_prone_annotations/2.21.1/error_prone_annotations-2.21.1.jar" sourcepath="M2_REPO/com/google/errorprone/error_prone_annotations/2.21.1/error_prone_annotations-2.21.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar" sourcepath="M2_REPO/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/eclipse/jdt/org.eclipse.jdt.annotation/2.2.800/org.eclipse.jdt.annotation-2.2.800.jar" sourcepath="M2_REPO/org/eclipse/jdt/org.eclipse.jdt.annotation/2.2.800/org.eclipse.jdt.annotation-2.2.800-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/util/13.0.1/util-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/util/13.0.1/util-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/concepts/13.0.1/concepts-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/concepts/13.0.1/concepts-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/tech/pantheon/triemap/triemap/1.3.1/triemap-1.3.1.jar" sourcepath="M2_REPO/tech/pantheon/triemap/triemap/1.3.1/triemap-1.3.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-common/13.0.1/yang-common-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-common/13.0.1/yang-common-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-data-api/13.0.1/yang-data-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-data-api/13.0.1/yang-data-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/immutables/value/2.10.0/value-2.10.0-annotations.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-model-api/13.0.1/yang-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-model-api/13.0.1/yang-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-xpath-api/13.0.1/yang-xpath-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-xpath-api/13.0.1/yang-xpath-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-data-impl/13.0.1/yang-data-impl-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-data-impl/13.0.1/yang-data-impl-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-data-spi/13.0.1/yang-data-spi-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-data-spi/13.0.1/yang-data-spi-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-data-util/13.0.1/yang-data-util-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-data-util/13.0.1/yang-data-util-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-model-util/13.0.1/yang-model-util-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-model-util/13.0.1/yang-model-util-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-model-spi/13.0.1/yang-model-spi-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-model-spi/13.0.1/yang-model-spi-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-ir/13.0.1/yang-ir-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-ir/13.0.1/yang-ir-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc7952-model-api/13.0.1/rfc7952-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc7952-model-api/13.0.1/rfc7952-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc8040-model-api/13.0.1/rfc8040-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc8040-model-api/13.0.1/rfc8040-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc8528-model-api/13.0.1/rfc8528-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc8528-model-api/13.0.1/rfc8528-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc8819-parser-support/13.0.1/rfc8819-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc8819-parser-support/13.0.1/rfc8819-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-parser-api/13.0.1/yang-parser-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-parser-api/13.0.1/yang-parser-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-parser-spi/13.0.1/yang-parser-spi-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-parser-spi/13.0.1/yang-parser-spi-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc8819-model-api/13.0.1/rfc8819-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc8819-model-api/13.0.1/rfc8819-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-parser-rfc7950/13.0.1/yang-parser-rfc7950-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-parser-rfc7950/13.0.1/yang-parser-rfc7950-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.jar" sourcepath="M2_REPO/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-model-ri/13.0.1/yang-model-ri-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-model-ri/13.0.1/yang-model-ri-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-parser-reactor/13.0.1/yang-parser-reactor-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-parser-reactor/13.0.1/yang-parser-reactor-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-repo-api/13.0.1/yang-repo-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-repo-api/13.0.1/yang-repo-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-repo-spi/13.0.1/yang-repo-spi-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-repo-spi/13.0.1/yang-repo-spi-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/odlext-parser-support/13.0.1/odlext-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/odlext-parser-support/13.0.1/odlext-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/odlext-model-api/13.0.1/odlext-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/odlext-model-api/13.0.1/odlext-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-parser-impl/13.0.1/yang-parser-impl-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-parser-impl/13.0.1/yang-parser-impl-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/openconfig-parser-support/13.0.1/openconfig-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/openconfig-parser-support/13.0.1/openconfig-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/openconfig-model-api/13.0.1/openconfig-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/openconfig-model-api/13.0.1/openconfig-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc6241-parser-support/13.0.1/rfc6241-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc6241-parser-support/13.0.1/rfc6241-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc6241-model-api/13.0.1/rfc6241-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc6241-model-api/13.0.1/rfc6241-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc6536-parser-support/13.0.1/rfc6536-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc6536-parser-support/13.0.1/rfc6536-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc6536-model-api/13.0.1/rfc6536-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc6536-model-api/13.0.1/rfc6536-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc6643-parser-support/13.0.1/rfc6643-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc6643-parser-support/13.0.1/rfc6643-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc6643-model-api/13.0.1/rfc6643-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc6643-model-api/13.0.1/rfc6643-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc7952-parser-support/13.0.1/rfc7952-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc7952-parser-support/13.0.1/rfc7952-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc8040-parser-support/13.0.1/rfc8040-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc8040-parser-support/13.0.1/rfc8040-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc8528-parser-support/13.0.1/rfc8528-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc8528-parser-support/13.0.1/rfc8528-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc8639-parser-support/13.0.1/rfc8639-parser-support-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc8639-parser-support/13.0.1/rfc8639-parser-support-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/rfc8639-model-api/13.0.1/rfc8639-model-api-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/rfc8639-model-api/13.0.1/rfc8639-model-api-13.0.1-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/org/opendaylight/yangtools/yang-xpath-impl/13.0.1/yang-xpath-impl-13.0.1.jar" sourcepath="M2_REPO/org/opendaylight/yangtools/yang-xpath-impl/13.0.1/yang-xpath-impl-13.0.1-sources.jar"/>
</classpath>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.etsi.mts.tdl.extras.yang.tools.wrapper.bnd</name>
<comment>NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
<projects/>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
\ No newline at end of file
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
# YANG Tools Wrapper
This plug-in wraps the [YANG Tools](https://wiki.opendaylight.org/display/ODL/YANG+Tools) licensed under the EPL 1.0 Software Licence for consumption as an Eclipse plug-in. It is currently used as a dependency in the YANG-to-TDL generator.
This is a more streamlined version relying on BND, not fully working yet, cannot be integrated in the feature for some reason. Additional artifacts generated with `mvn package eclipse:eclipse -Declipse.pde`, see also [the corresponding documentation](https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html#_eclipsepde_integration).
\ No newline at end of file
<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>
<parent>
<groupId>org.etsi.mts.tdl.extras</groupId>
<artifactId>org.etsi.mts.tdl.extras.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../org.etsi.mts.tdl.extras.parent</relativePath>
</parent>
<artifactId>org.etsi.mts.tdl.extras.yang.tools.wrapper.bnd</artifactId>
<packaging>bundle</packaging>
<name>${project.artifactId}</name>
<pluginRepositories>
<pluginRepository>
<id>bnd-releases</id>
<url>https://bndtools.jfrog.io/bndtools/libs-release/</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<properties>
<!--
<import.packages>*</import.packages>
<private.packages>!*</private.packages>
<embed-dep>*;type=!pom;inline=true</embed-dep>
<embed-dep>*</embed-dep>
<export.packages>org.opendaylight.yangtools.*;version=${unpack.version}</export.packages>
<embed-dep>*;scope=provided;type=!pom;inline=true</embed-dep>
-->
<export.packages>org.opendaylight.yangtools.*</export.packages>
<embed-dep>*;scope=compile|runtime</embed-dep>
<symbolic.name>${project.artifactId}</symbolic.name>
<bundle.symbolicName>${project.artifactId}</bundle.symbolicName>
<bundle.namespace>org.example</bundle.namespace>
<unpack-bundle>false</unpack-bundle>
</properties>
<build>
<resources>
<resource>
<directory>.</directory>
<includes>
<include>plugin.xml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.9</version>
<configuration>
<manifestLocation>META-INF</manifestLocation>
<unpackBundle>${unpack.bundle}</unpackBundle>
<instructions>
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Bundle-SymbolicName>${symbolic.name}</Bundle-SymbolicName>
<Bundle-Description>${project.name}</Bundle-Description>
<Bundle-Version>${project.version}</Bundle-Version>
<Import-Package>java.io</Import-Package>
<!--
<Private-Package>${private.packages}</Private-Package>
-->
<Include-Resource>${include.resources}</Include-Resource>
<Embed-Dependency>${embed-dep}</Embed-Dependency>
<_exportcontents>${export.packages}</_exportcontents>
<Embed-Transitive>true</Embed-Transitive>
<_include>template/MANIFEST.MF</_include>
<Embed-Directory>target/dependency</Embed-Directory>
</instructions>
</configuration>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-data-codec-gson</artifactId>
<version>13.0.1</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>rfc8819-parser-support</artifactId>
<version>13.0.1</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-parser-rfc7950</artifactId>
<version>13.0.1</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-parser-spi</artifactId>
<version>13.0.1</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-parser-api</artifactId>
<version>13.0.1</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>odlext-parser-support</artifactId>
<version>13.0.1</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-parser-impl</artifactId>
<version>13.0.1</version>
<!-- <scope>provided</scope> -->
</dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-repo-api</artifactId>
<version>13.0.1</version>
<!-- <scope>provided</scope> -->
</dependency>
</dependencies>
</project>
\ No newline at end of file
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: YANG Generator Wrapper
Bundle-SymbolicName: org.etsi.mts.tdl.extras.yang.tools.wrapper.bnd
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: ETSI
Automatic-Module-Name: org.etsi.mts.tdl.extras.yang.tools.wrapper.bnd
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="lib" path="libs/yang-data-codec-gson-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/gson-2.10.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/guava-32.1.3-jre.jar"/>
<classpathentry exported="true" kind="lib" path="libs/failureaccess-1.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar"/>
<classpathentry exported="true" kind="lib" path="libs/checker-qual-3.37.0.jar"/>
<classpathentry exported="true" kind="lib" path="libs/error_prone_annotations-2.21.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/j2objc-annotations-2.8.jar"/>
<classpathentry exported="true" kind="lib" path="libs/org.eclipse.jdt.annotation-2.2.800.jar"/>
<classpathentry exported="true" kind="lib" path="libs/util-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/triemap-1.3.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-common-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-data-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/value-2.10.0-annotations.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-data-impl-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-data-spi-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-data-util-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc8528-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-model-util-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc8040-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc8819-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-model-spi-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc7952-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc8819-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-parser-rfc7950-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/antlr4-runtime-4.13.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/concepts-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-model-ri-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-parser-reactor-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-repo-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-ir-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-repo-spi-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-xpath-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-parser-spi-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-parser-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/odlext-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/odlext-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-parser-impl-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/openconfig-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/openconfig-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc6241-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc6241-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc6536-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc6536-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc6643-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc6643-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc7952-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc8040-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc8528-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc8639-parser-support-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc8639-model-api-13.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/yang-xpath-impl-13.0.1.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
.classpath
dependencies/classpath.properties
META-INF/MANIFEST.MF
\ No newline at end of file
......@@ -29,7 +29,8 @@ Export-Package: org.opendaylight.yangtools.concepts,
org.opendaylight.yangtools.yang.parser.spi.source,
org.opendaylight.yangtools.yang.parser.stmt.reactor
Bundle-Vendor: ETSI
Bundle-Classpath: libs/yang-data-codec-gson-13.0.1.jar,
Automatic-Module-Name: org.etsi.mts.tdl.extras.yang.tools.wrapper.mvn
Bundle-ClassPath: libs/yang-data-codec-gson-13.0.1.jar,
libs/gson-2.10.1.jar,
libs/guava-32.1.3-jre.jar,
libs/failureaccess-1.0.1.jar,
......@@ -59,7 +60,6 @@ Bundle-Classpath: libs/yang-data-codec-gson-13.0.1.jar,
libs/concepts-13.0.1.jar,
libs/yang-model-ri-13.0.1.jar,
libs/yang-parser-reactor-13.0.1.jar,
libs/yang-repo-api-13.0.1.jar,
libs/yang-ir-13.0.1.jar,
libs/yang-repo-spi-13.0.1.jar,
libs/yang-xpath-api-13.0.1.jar,
......@@ -81,5 +81,5 @@ Bundle-Classpath: libs/yang-data-codec-gson-13.0.1.jar,
libs/rfc8528-parser-support-13.0.1.jar,
libs/rfc8639-parser-support-13.0.1.jar,
libs/rfc8639-model-api-13.0.1.jar,
libs/yang-xpath-impl-13.0.1.jar
Automatic-Module-Name: org.etsi.mts.tdl.extras.yang.tools.wrapper.mvn
libs/yang-xpath-impl-13.0.1.jar,
libs/yang-repo-api-13.0.1.jar
# YANG Tools Wrapper
This plug-in wraps the [YANG Tools](https://wiki.opendaylight.org/display/ODL/YANG+Tools) licensed under the EPL 1.0 Software Licence for consumption as an Eclipse plug-in. It is currently used as a dependency in the YANG-to-TDL generator.
\ No newline at end of file
This plug-in wraps the [YANG Tools](https://wiki.opendaylight.org/display/ODL/YANG+Tools) licensed under the EPL 1.0 Software Licence for consumption as an Eclipse plug-in. It is currently used as a dependency in the YANG-to-TDL generator.
The dependencies are specified and fetched from Maven in the nested dependencies folder, then copied to the libs folder. The MANIFEST.MF and .classpath files are updated accordingly as part of the build.
Note: Offline builds run fine. When loading the project in Eclipse it seems to require that the .classpath is set to export all the jars.
After some testing, this should supersede the manually managed version.
Note: Typos in the manifest (template) can have disastrous consequences.
TODO: Explore using Maven artifacts directly as part of the target platform?
\ No newline at end of file
classpath=libs/yang-data-codec-gson-13.0.1.jar!:!libs/gson-2.10.1.jar!:!libs/guava-32.1.3-jre.jar!:!libs/failureaccess-1.0.1.jar!:!libs/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar!:!libs/checker-qual-3.37.0.jar!:!libs/error_prone_annotations-2.21.1.jar!:!libs/j2objc-annotations-2.8.jar!:!libs/org.eclipse.jdt.annotation-2.2.800.jar!:!libs/util-13.0.1.jar!:!libs/triemap-1.3.1.jar!:!libs/yang-common-13.0.1.jar!:!libs/yang-data-api-13.0.1.jar!:!libs/value-2.10.0-annotations.jar!:!libs/yang-data-impl-13.0.1.jar!:!libs/yang-data-spi-13.0.1.jar!:!libs/yang-data-util-13.0.1.jar!:!libs/rfc8528-model-api-13.0.1.jar!:!libs/yang-model-api-13.0.1.jar!:!libs/yang-model-util-13.0.1.jar!:!libs/rfc8040-model-api-13.0.1.jar!:!libs/rfc8819-parser-support-13.0.1.jar!:!libs/yang-model-spi-13.0.1.jar!:!libs/rfc7952-model-api-13.0.1.jar!:!libs/rfc8819-model-api-13.0.1.jar!:!libs/yang-parser-rfc7950-13.0.1.jar!:!libs/antlr4-runtime-4.13.1.jar!:!libs/concepts-13.0.1.jar!:!libs/yang-model-ri-13.0.1.jar!:!libs/yang-parser-reactor-13.0.1.jar!:!libs/yang-repo-api-13.0.1.jar!:!libs/yang-ir-13.0.1.jar!:!libs/yang-repo-spi-13.0.1.jar!:!libs/yang-xpath-api-13.0.1.jar!:!libs/yang-parser-spi-13.0.1.jar!:!libs/yang-parser-api-13.0.1.jar!:!libs/odlext-parser-support-13.0.1.jar!:!libs/odlext-model-api-13.0.1.jar!:!libs/yang-parser-impl-13.0.1.jar!:!libs/openconfig-parser-support-13.0.1.jar!:!libs/openconfig-model-api-13.0.1.jar!:!libs/rfc6241-parser-support-13.0.1.jar!:!libs/rfc6241-model-api-13.0.1.jar!:!libs/rfc6536-parser-support-13.0.1.jar!:!libs/rfc6536-model-api-13.0.1.jar!:!libs/rfc6643-parser-support-13.0.1.jar!:!libs/rfc6643-model-api-13.0.1.jar!:!libs/rfc7952-parser-support-13.0.1.jar!:!libs/rfc8040-parser-support-13.0.1.jar!:!libs/rfc8528-parser-support-13.0.1.jar!:!libs/rfc8639-parser-support-13.0.1.jar!:!libs/rfc8639-model-api-13.0.1.jar!:!libs/yang-xpath-impl-13.0.1.jar
\ No newline at end of file