-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from ZiroKyl/build-instructions
Build instructions: fix lcrypto googlecode.com dependency
- Loading branch information
Showing
3 changed files
with
94 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.bouncycastle</groupId> | ||
<artifactId>lcrypto-j2me</artifactId> | ||
<version>1.56</version> | ||
<name>Bouncy Castle Lightweight API for J2ME</name> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<microemulator.version>2.0.4</microemulator.version> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.microemu</groupId> | ||
<artifactId>microemulator</artifactId> | ||
<version>${microemulator.version}</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>[4.8.1,)</version> | ||
<scope>test</scope><!-- see https://stackoverflow.com/a/12403544 --> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<sourceDirectory>src</sourceDirectory> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>build-helper-maven-plugin</artifactId> | ||
<version>3.0.0</version> | ||
<executions> | ||
<execution> | ||
<phase>generate-test-sources</phase> | ||
<goals> | ||
<goal>add-test-source</goal> | ||
</goals> | ||
<configuration> | ||
<sources> | ||
<source>src/org/bouncycastle/math/ec/custom/sec/test</source> | ||
</sources> | ||
</configuration> | ||
<!-- better solution: https://stackoverflow.com/a/35514742 --> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.5.1</version> | ||
<configuration> | ||
<source>1.3</source> | ||
<target>1.1</target> | ||
<compilerArguments> | ||
<bootclasspath>${settings.localRepository}/org/microemu/cldcapi11/${microemulator.version}/cldcapi11-${microemulator.version}.jar${path.separator}${settings.localRepository}/org/microemu/midpapi20/${microemulator.version}/midpapi20-${microemulator.version}.jar</bootclasspath> | ||
</compilerArguments> | ||
<excludes> | ||
<exclude>**/examples/*</exclude> | ||
<exclude>**/test/*</exclude><!-- see https://stackoverflow.com/a/12403544 --> | ||
<exclude>**/org/bouncycastle/cert/dane/fetcher/*</exclude><!-- package javax.naming does not exist --> | ||
</excludes> | ||
</configuration> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.microemu</groupId> | ||
<artifactId>midpapi20</artifactId> | ||
<version>${microemulator.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> | ||
<!-- see also http://www.itcsolutions.eu/2010/09/03/how-to-use-bouncy-castle-lightweight-cryptographic-api-in-netbeans-for-j2me-midlets-projects/#comment-976 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters