|
Jetty example source code file (pom.xml)
The Jetty pom.xml source code<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"> <parent> <artifactId>project <groupId>org.mortbay.jetty <version>6.1.9 <relativePath>../../pom.xml </parent> <modelVersion>4.0.0 <groupId>org.mortbay.jetty <artifactId>jetty-test-jaas <packaging>war <name>Jetty Test JAAS Webapp <url>http://jetty.mortbay.org <build> <defaultGoal>install <plugins> <plugin> <artifactId>maven-antrun-plugin <executions> <execution> <id>clean <phase>clean <goals> <goal>run </goals> <configuration> <tasks> <delete failonerror="false" includeemptydirs="true"> <fileset dir="../../webapps/test-jaas/" includes="**/**" /> <fileset dir="../../etc/"> <include name="jetty-jaas.xml"/> <include name="login.conf"/> <include name="login.properties"/> </fileset> </delete> </tasks> </configuration> </execution> <execution> <phase>install <goals> <goal>run </goals> <configuration> <tasks> <delete quiet="true" dir="../../webapps/test-jaas/" /> <unjar src="target/${project.artifactId}-${project.version}.${project.packaging}" dest="../../webapps/test-jaas/" /> <copy todir="../../etc"> <fileset dir="src/etc"> <include name="jetty-jaas.xml"/> <include name="login.conf"/> <include name="login.properties"/> </fileset> </copy> </tasks> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.mortbay.jetty <artifactId>maven-jetty-plugin <version>${project.version} <configuration> <scanIntervalSeconds>10 <systemProperties> <systemProperty> <!-- This is for convenience so that the src/etc/login.conf file can stay unmodified when copied to $jetty.home/etc directory --> <name>jetty.home <value>./src </systemProperty> <systemProperty> <!-- Mandatory. This system property tells JAAS where to find the login module configuration file --> <name>java.security.auth.login.config <value>src/etc/login.conf </systemProperty> </systemProperties> <userRealms> <userRealm implementation="org.mortbay.jetty.plus.jaas.JAASUserRealm"> <name>Test JAAS Realm <loginModuleName>xyz </userRealm> </userRealms> </configuration> </plugin> </plugins> </build> <repositories> <repository> <releases> <enabled>false </releases> <id>mortbay-snapshot-repo <name>MortBay Snapshot Repo <url>http://jetty.mortbay.org/maven2/snapshot </repository> </repositories> <pluginRepositories> <pluginRepository> <id>mortbay-snapshot-repo <name>mortbay-snapshot-repo <url>http://jetty.mortbay.org/maven2/snapshot </pluginRepository> </pluginRepositories> <dependencies> <dependency> <groupId>javax.servlet.jsp <artifactId>jsp-api <version>2.1 <scope>provided </dependency> </dependencies> </project> Other Jetty examples (source code examples)Here is a short list of links related to this Jetty pom.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.