forked from acciente/oacc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
183 lines (172 loc) · 7.72 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<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>
<!-- artifact identification -->
<groupId>com.acciente.oacc</groupId>
<artifactId>acciente-oacc</artifactId>
<version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<!-- Dependency versions -->
<jasypt.version>1.9.2</jasypt.version>
<junit.version>4.11</junit.version>
<hamcrest-core.version>1.3</hamcrest-core.version>
<!-- Maven plugin versions -->
<maven-compiler-plugin.version>3.1</maven-compiler-plugin.version>
<maven-source-plugin.version>2.3</maven-source-plugin.version>
<maven-javadoc-plugin.version>2.10.1</maven-javadoc-plugin.version>
<maven-surefire-plugin.version>2.17</maven-surefire-plugin.version>
<!-- Don't compile tests automatically since they assume a test db is already setup -->
<maven.test.skip>true</maven.test.skip>
</properties>
<!-- project information -->
<name>Acciente OACC</name>
<description>OACC is a Java Application Security Framework. OACC provides a high-performance access control
system for Java applications. OACC provides fine grained permissions based access control for application
objects. It has support for hierarchical domains, super users, permission inheritance and impersonation.
</description>
<!-- dependencies -->
<dependencies>
<!-- compile time -->
<dependency>
<groupId>org.jasypt</groupId>
<artifactId>jasypt</artifactId>
<version>${jasypt.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest-core.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- shared project information -->
<url>http://www.oaccframework.org</url>
<inceptionYear>2014</inceptionYear>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>manual</distribution>
<comments>Commercial-friendly, open-source license</comments>
</license>
</licenses>
<organization>
<name>Acciente, LLC</name>
<url>http://www.acciente.com</url>
</organization>
<developers>
<developer>
<id>adinath</id>
<name>Adinath Raveendra Raj</name>
<organization>Acciente, LLC</organization>
<organizationUrl>http://www.acciente.com</organizationUrl>
<timezone>-7</timezone>
</developer>
<developer>
<id>fabian</id>
<name>Fabian Spinnenhirn</name>
<organization>Acciente, LLC</organization>
<organizationUrl>http://www.acciente.com</organizationUrl>
<timezone>-7</timezone>
</developer>
</developers>
<!-- profile to build for jdk1.7 -->
<profiles>
<profile>
<id>jdk1_7</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<!-- export a property with the JDK version for use in the build section -->
<properties>
<jdk-version>jdk1_7</jdk-version>
</properties>
<!-- compiler settings -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<!-- shared build settings -->
<build>
<outputDirectory>target/classes-${jdk-version}</outputDirectory>
<testOutputDirectory>target/test-classes-${jdk-version}</testOutputDirectory>
<!-- we want the jar with the classes to have the JDK suffix -->
<finalName>${project.artifactId}-${project.version}-${jdk-version}</finalName>
<plugins>
<!-- configure the maven source plugin to make a source jar in the package phase -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<configuration>
<!-- we want the jar with the sources to NOT have the JDK suffix -->
<finalName>${project.artifactId}-${project.version}</finalName>
</configuration>
</plugin>
<!-- configure the javadoc plugin to make a javadoc jar in the package phase -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<!-- we want the jar with the javadocs to NOT have the JDK suffix -->
<finalName>${project.artifactId}-${project.version}</finalName>
<outputDirectory>target/apidocs-${project.version}</outputDirectory>
<doctitle>${project.name} ${project.version} API</doctitle>
<bottom><![CDATA[<br><a href="http://www.oaccframework.org">OACC<a> is a Java Application Security Framework developed by <a href="http://www.acciente.com">Acciente, LLC.<a>.<br>Copyright 2015, <a href="http://www.acciente.com">Acciente, LLC.<a>All rights reserved.]]></bottom>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<includes>
<include>**/Test_OACC_Resource.java</include>
<include>**/TestSQLAccessControlSystemInitializer.java</include>
<include>**/TestResourcePermission.java</include>
<include>**/TestDomainPermission.java</include>
<include>**/TestAccessControl_*.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<!-- shared reporting settings -->
<reporting>
<plugins>
<!-- javadoc plugin settings -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<header>
<![CDATA[<a href="http://www.oaccframework.org" target="_top">Return to www.oaccframework.org</a>]]>
</header>
</configuration>
</plugin>
</plugins>
</reporting>
</project>