|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Copyright (c) 2025, WSO2 LLC. (http://www.wso2.org) All Rights Reserved. |
| 4 | + ~ |
| 5 | + ~ WSO2 Inc. licenses this file to you under the Apache License, |
| 6 | + ~ Version 2.0 (the "License"); you may not use this file except |
| 7 | + ~ in compliance with the License. |
| 8 | + ~ You may obtain a copy of the License at |
| 9 | + ~ |
| 10 | + ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + ~ |
| 12 | + ~ Unless required by applicable law or agreed to in writing, |
| 13 | + ~ software distributed under the License is distributed on an |
| 14 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | + ~ KIND, either express or implied. See the License for the |
| 16 | + ~ specific language governing permissions and limitations |
| 17 | + ~ under the License. |
| 18 | + --> |
| 19 | + |
| 20 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 21 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | + |
| 24 | + <modelVersion>4.0.0</modelVersion> |
| 25 | + <groupId>org.wso2.orbit.com.google.protobuf</groupId> |
| 26 | + <artifactId>protobuf-java</artifactId> |
| 27 | + <version>3.25.8.wso2v1</version> |
| 28 | + <packaging>bundle</packaging> |
| 29 | + <name>WSO2 Carbon Orbit - Google Protobuf Bundle</name> |
| 30 | + <description>This bundle will export the com.google.protobuf package</description> |
| 31 | + <url>http://wso2.org</url> |
| 32 | + |
| 33 | + <repositories> |
| 34 | + <repository> |
| 35 | + <id>wso2-nexus</id> |
| 36 | + <name>WSO2 internal Repository</name> |
| 37 | + <url>https://maven.wso2.org/nexus/content/groups/wso2-public/</url> |
| 38 | + <releases> |
| 39 | + <enabled>true</enabled> |
| 40 | + <updatePolicy>daily</updatePolicy> |
| 41 | + <checksumPolicy>ignore</checksumPolicy> |
| 42 | + </releases> |
| 43 | + </repository> |
| 44 | + </repositories> |
| 45 | + |
| 46 | + <distributionManagement> |
| 47 | + <repository> |
| 48 | + <id>wso2.releases</id> |
| 49 | + <name>WSO2 internal Repository</name> |
| 50 | + <url>https://maven.wso2.org/nexus/content/repositories/releases/</url> |
| 51 | + </repository> |
| 52 | + <snapshotRepository> |
| 53 | + <id>wso2.snapshots</id> |
| 54 | + <name>Apache Snapshot Repository</name> |
| 55 | + <url>https://maven.wso2.org/nexus/content/repositories/snapshots/</url> |
| 56 | + </snapshotRepository> |
| 57 | + </distributionManagement> |
| 58 | + |
| 59 | + <dependencies> |
| 60 | + <!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java --> |
| 61 | + <dependency> |
| 62 | + <groupId>com.google.protobuf</groupId> |
| 63 | + <artifactId>protobuf-java</artifactId> |
| 64 | + <version>${protobuf.version}</version> |
| 65 | + </dependency> |
| 66 | + </dependencies> |
| 67 | + |
| 68 | + <build> |
| 69 | + <plugins> |
| 70 | + <plugin> |
| 71 | + <groupId>org.apache.felix</groupId> |
| 72 | + <artifactId>maven-bundle-plugin</artifactId> |
| 73 | + <version>2.4.0</version> |
| 74 | + <extensions>true</extensions> |
| 75 | + <configuration> |
| 76 | + <instructions> |
| 77 | + <Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName> |
| 78 | + <Bundle-Name>${project.artifactId}</Bundle-Name> |
| 79 | + <Export-Package> |
| 80 | + com.google.protobuf.*;version="${export.pkg.protobuf.version}", |
| 81 | + google.protobuf.*;version="${export.pkg.protobuf.version}" |
| 82 | + </Export-Package> |
| 83 | + <Private-Package> |
| 84 | + </Private-Package> |
| 85 | + <Import-Package> |
| 86 | + *;resolution:=optional |
| 87 | + </Import-Package> |
| 88 | + </instructions> |
| 89 | + </configuration> |
| 90 | + </plugin> |
| 91 | + </plugins> |
| 92 | + </build> |
| 93 | + <properties> |
| 94 | + <protobuf.version>3.25.8</protobuf.version> |
| 95 | + <export.pkg.protobuf.version>3.25.8.wso2v1</export.pkg.protobuf.version> |
| 96 | + </properties> |
| 97 | +</project> |
0 commit comments