Repository: servicemix-bundles Updated Branches: refs/heads/master 628072f03 -> f693c9f95
SM-2875 - Create OSGi bundle for esapi 2.1.0.1 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/f693c9f9 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/f693c9f9 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/f693c9f9 Branch: refs/heads/master Commit: f693c9f95f08246604b498a360029c29d31e3945 Parents: 628072f Author: Jean-Baptiste Onofré <[email protected]> Authored: Mon Feb 15 14:54:12 2016 +0100 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Mon Feb 15 14:54:12 2016 +0100 ---------------------------------------------------------------------- esapi-2.1.0.1/pom.xml | 121 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 38 ++++++ pom.xml | 1 + 3 files changed, 160 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f693c9f9/esapi-2.1.0.1/pom.xml ---------------------------------------------------------------------- diff --git a/esapi-2.1.0.1/pom.xml b/esapi-2.1.0.1/pom.xml new file mode 100644 index 0000000..b1001c2 --- /dev/null +++ b/esapi-2.1.0.1/pom.xml @@ -0,0 +1,121 @@ +<?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/xsd/maven-4.0.0.xsd"> + + <!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>bundles-pom</artifactId> + <version>12</version> + <relativePath>../bundles-pom/pom.xml</relativePath> + </parent> + + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.esapi</artifactId> + <version>2.1.0.1_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> + + <scm> + <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> + <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> + <tag>HEAD</tag> + </scm> + + <properties> + <pkgGroupId>org.owasp.esapi</pkgGroupId> + <pkgArtifactId>esapi</pkgArtifactId> + <pkgVersion>2.1.0.1</pkgVersion> + <servicemix.osgi.export.pkg> + org.owasp.esapi + </servicemix.osgi.export.pkg> + <servicemix.osgi.import.pkg> + bsh;resolution:=optional, + javax.crypto*, + javax.servlet*;resolution:=optional, + javax.xml.parsers, + javax.xml.transform, + javax.xml.transform.stream, + javax.xml.validation, + nu.xom;resolution:=optional, + org.apache.commons.beanutils, + org.apache.commons.collections.iterators, + org.apache.commons.configuration, + org.apache.commons.lang.text, + org.apache.commons.fileupload*;resolution:=optional, + org.apache.log4j*;resolution:=optional, + org.owasp.validator.html;version="[1.4,2)", + org.w3c.dom + </servicemix.osgi.import.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + </dependency> + + <!-- sources --> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <artifactSet> + <includes> + <include>${pkgGroupId}:${pkgArtifactId}</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>${pkgGroupId}:${pkgArtifactId}</artifact> + <excludes> + <exclude>**/*</exclude> + </excludes> + </filter> + </filters> + <promoteTransitiveDependencies>true</promoteTransitiveDependencies> + <createDependencyReducedPom>true</createDependencyReducedPom> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f693c9f9/esapi-2.1.0.1/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/esapi-2.1.0.1/src/main/resources/OSGI-INF/bundle.info b/esapi-2.1.0.1/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..711a397 --- /dev/null +++ b/esapi-2.1.0.1/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,38 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security + control library that makes it easier for programmers to write lower-risk applications. + The ESAPI libraries are designed to make it easier for programmers to retrofit security + into existing applications. The ESAPI libraries also serve as a solid foundation for new + development. + + Allowing for language-specific differences, all OWASP ESAPI versions have the same basic design: + + * There is a set of security control interfaces. They define for example types of parameters + that are passed to types of security controls. + + * There is a reference implementation for each security control. The logic is not + organizationâspecific and the logic is not applicationâspecific. An example: stringâbased + input validation. + + * There are optionally your own implementations for each security control. There may be + application logic contained in these classes which may be developed by or for your + organization. An example: enterprise authentication. + + This project source code is licensed under the BSD license, which is very permissive and about + as close to public domain as is possible. The project documentation is licensed under the + Creative Commons license. You can use or modify ESAPI however you want, even include it in + commercial products. + + The following organizations are a few of the many organizations that are starting to adopt + ESAPI to secure their web applications: American Express, Apache Foundation, Booz Allen Hamilton, + Aspect Security, Coraid, The Hartford, Infinite Campus, Lockheed Martin, MITRE, U.S. Navy - SPAWAR, + The World Bank, SANS Institute. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttps://www.owasp.org/index.php/Main_Page\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/f693c9f9/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 4f2cc83..78e27a2 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,7 @@ <module>olingo-odata2-core-2.0.6</module> <module>aws-java-sdk-1.10.52</module> <module>braintree-java-2.55.0</module> + <module>esapi-2.1.0.1</module> </modules> </project>
