okapi-lib-serialization
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>net.sf.okapi.lib</groupId> <artifactId>okapi-lib-serialization</artifactId> <version>1.44.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>net.sf.okapi.lib</groupId> <artifactId>build-libraries</artifactId> <version>1.44.0</version> </parent> <artifactId>okapi-lib-serialization</artifactId> <name>Okapi Library for (De)Serialization of objects</name> <dependencies> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java-util</artifactId> </dependency> <dependency> <groupId>net.sf.okapi</groupId> <artifactId>okapi-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>net.sf.okapi.lib</groupId> <artifactId>okapi-lib-merge</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>net.sf.okapi</groupId> <artifactId>okapi-core</artifactId> <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>net.sf.okapi.filters</groupId> <artifactId>okapi-filter-html</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.sf.okapi.filters</groupId> <artifactId>okapi-filter-xliff</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.sf.okapi.steps</groupId> <artifactId>okapi-step-common</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <extensions> <!-- provides os.detected.classifier (i.e. linux-x86_64, osx-x86_64) property --> <extension> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> </extension> </extensions> </build> <profiles> <profile> <id>default-protobuf-build</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <!-- From https://www.xolstice.org/protobuf-maven-plugin/ --> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> </plugin> <!-- Using os-maven-plugin as an extension seems not to work for eclipse, but using it as plugin does... kind of. Sometime one needs to refresh the plugin by altering the name, saving, then putting back the correct name --> <plugin> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> </plugin> </plugins> </build> </profile> <profile> <id>freebsd-protobuf-build</id> <activation> <os> <name>freebsd</name> <arch>amd64</arch> </os> </activation> <build> <plugins> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <configuration> <protocExecutable>/usr/local/bin/protoc</protocExecutable> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>