Chetan Mehrotra | 7c08646 | 2013-03-22 06:43:52 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | |
| 7 | <parent> |
| 8 | <groupId>org.apache.felix</groupId> |
| 9 | <artifactId>felix-parent</artifactId> |
| 10 | <version>2.1</version> |
| 11 | <relativePath>../../../pom/pom.xml</relativePath> |
| 12 | </parent> |
| 13 | |
| 14 | <groupId>org.apache.felix.example</groupId> |
| 15 | <artifactId>org.apache.felix.example.jaas.app</artifactId> |
| 16 | <version>0.0.1-SNAPSHOT</version> |
| 17 | <packaging>bundle</packaging> |
| 18 | |
| 19 | <name>JAAS Example - App Module</name> |
| 20 | |
| 21 | <prerequisites> |
| 22 | <maven>3.0.3</maven> |
| 23 | </prerequisites> |
| 24 | |
| 25 | <build> |
| 26 | <plugins> |
| 27 | <plugin> |
| 28 | <groupId>org.apache.felix</groupId> |
| 29 | <artifactId>maven-bundle-plugin</artifactId> |
| 30 | <version>2.3.5</version> |
| 31 | <extensions>true</extensions> |
| 32 | <configuration> |
| 33 | <obrRepository>NONE</obrRepository> |
| 34 | <instructions> |
| 35 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 36 | <DynamicImport-Package> |
| 37 | org.apache.felix.jaas.boot |
| 38 | </DynamicImport-Package> |
| 39 | </instructions> |
| 40 | </configuration> |
| 41 | </plugin> |
| 42 | <plugin> |
| 43 | <groupId>org.apache.felix</groupId> |
| 44 | <artifactId>maven-scr-plugin</artifactId> |
| 45 | <version>1.11.0</version> |
| 46 | <executions> |
| 47 | <execution> |
| 48 | <id>generate-scr-scrdescriptor</id> |
| 49 | <goals> |
| 50 | <goal>scr</goal> |
| 51 | </goals> |
| 52 | </execution> |
| 53 | </executions> |
| 54 | </plugin> |
| 55 | <plugin> |
| 56 | <groupId>org.apache.maven.plugins</groupId> |
| 57 | <artifactId>maven-compiler-plugin</artifactId> |
| 58 | <configuration> |
| 59 | <source>1.6</source> |
| 60 | <target>1.6</target> |
| 61 | </configuration> |
| 62 | </plugin> |
| 63 | </plugins> |
| 64 | </build> |
| 65 | |
| 66 | <dependencies> |
| 67 | <dependency> |
| 68 | <groupId>org.osgi</groupId> |
| 69 | <artifactId>org.osgi.core</artifactId> |
| 70 | <version>4.2.0</version> |
| 71 | <scope>provided</scope> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.osgi</groupId> |
| 75 | <artifactId>org.osgi.compendium</artifactId> |
| 76 | <version>4.2.0</version> |
| 77 | <scope>provided</scope> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.apache.felix</groupId> |
| 81 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 82 | <version>1.9.0</version> |
| 83 | <scope>provided</scope> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>javax.servlet</groupId> |
| 87 | <artifactId>servlet-api</artifactId> |
| 88 | <version>2.4</version> |
| 89 | <scope>provided</scope> |
| 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.apache.felix</groupId> |
| 93 | <artifactId>org.apache.felix.jaas</artifactId> |
| 94 | <version>0.0.1-SNAPSHOT</version> |
| 95 | <scope>provided</scope> |
| 96 | </dependency> |
| 97 | </dependencies> |
| 98 | |
| 99 | </project> |