- <dependencyManagement>
- <dependencies>
- <!-- Non-user-facing single feature needed for Version. -->
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>odl-config-persister</artifactId>
- <version>${config.version}</version>
- <!-- TODO: Ask Controller to export this version in an artifact POM.-->
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
- <!-- User facing single features. -->
- <!-- TODO: Open Bugs against projects to export user-facing single feature versions in artifact pom. -->
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>odl-netconf-mdsal</artifactId>
- <version>${mdsal.version}</version>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>odl-restconf</artifactId>
- <version>${restconf.version}</version>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
- </dependencies>
- </dependencyManagement>
+ <!-- User facing single features. -->
+ <!-- TODO: Open Bugs against projects to export user-facing single feature versions in artifact pom. -->
+ <profiles>
+ <!-- AAA -->
+ <profile>
+ <id>aaa</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.aaa</groupId>
+ <artifactId>odl-aaa-cert</artifactId>
+ <version>${aaa.version}</version>
+ <classifier>features</classifier>
+ <type>xml</type>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.aaa</groupId>
+ <artifactId>odl-aaa-shiro</artifactId>
+ <version>${aaa.version}</version>
+ <classifier>features</classifier>
+ <type>xml</type>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ </profile>
+ <!-- CONTROLLER -->
+ <profile>
+ <id>controller</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>odl-mdsal-broker</artifactId>
+ <version>${controller.version}</version>
+ <classifier>features</classifier>
+ <type>xml</type>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ </profile>
+ </profiles>