|
51 | 51 | <groupId>org.apache.brooklyn</groupId>
|
52 | 52 | <artifactId>brooklyn-locations-jclouds</artifactId>
|
53 | 53 | <version>${project.version}</version>
|
| 54 | + <!-- io.fabric8:kubernetes-client and jclouds require different versions --> |
| 55 | + <exclusions> |
| 56 | + <exclusion> |
| 57 | + <groupId>com.squareup.okio</groupId> |
| 58 | + <artifactId>okio</artifactId> |
| 59 | + </exclusion> |
| 60 | + </exclusions> |
54 | 61 | </dependency>
|
55 | 62 | <dependency>
|
56 | 63 | <groupId>org.apache.brooklyn</groupId>
|
|
127 | 134 | <version>${project.version}</version>
|
128 | 135 | </dependency>
|
129 | 136 |
|
130 |
| - <!-- bring in all jclouds-supported cloud providers --> |
131 |
| - <dependency> |
132 |
| - <groupId>${jclouds.groupId}</groupId> |
133 |
| - <artifactId>jclouds-allcompute</artifactId> |
134 |
| - </dependency> |
135 | 137 | </dependencies>
|
136 | 138 |
|
| 139 | + <build> |
| 140 | + <!-- Required by microbean-helm - see https://github.com/grpc/grpc-java/blob/master/SECURITY.md#openssl-statically-linked-netty-tcnative-boringssl-static --> |
| 141 | + <extensions> |
| 142 | + <!-- Use os-maven-plugin to initialize the "os.detected" properties --> |
| 143 | + <extension> |
| 144 | + <groupId>kr.motd.maven</groupId> |
| 145 | + <artifactId>os-maven-plugin</artifactId> |
| 146 | + <version>1.5.0.Final</version> |
| 147 | + </extension> |
| 148 | + </extensions> |
| 149 | + <plugins> |
| 150 | + <!-- Use Ant to configure the appropriate "tcnative.classifier" property --> |
| 151 | + <plugin> |
| 152 | + <groupId>org.apache.maven.plugins</groupId> |
| 153 | + <artifactId>maven-antrun-plugin</artifactId> |
| 154 | + <executions> |
| 155 | + <execution> |
| 156 | + <phase>initialize</phase> |
| 157 | + <configuration> |
| 158 | + <exportAntProperties>true</exportAntProperties> |
| 159 | + <target> |
| 160 | + <condition property="tcnative.classifier" |
| 161 | + value="${os.detected.classifier}-fedora" |
| 162 | + else="${os.detected.classifier}"> |
| 163 | + <isset property="os.detected.release.fedora"/> |
| 164 | + </condition> |
| 165 | + </target> |
| 166 | + </configuration> |
| 167 | + <goals> |
| 168 | + <goal>run</goal> |
| 169 | + </goals> |
| 170 | + </execution> |
| 171 | + </executions> |
| 172 | + </plugin> |
| 173 | + </plugins> |
| 174 | + </build> |
| 175 | + |
137 | 176 | </project>
|
0 commit comments