Rev 16 | Rev 47 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16 | Rev 38 | ||
---|---|---|---|
1 | <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">
|
1 | <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">
|
2 | <modelVersion>4.0.0</modelVersion> |
2 | <modelVersion>4.0.0</modelVersion> |
3 | <groupId>org.mentawai</groupId> |
3 | <groupId>org.mentawai</groupId> |
4 | <artifactId>mentaservice</artifactId> |
4 | <artifactId>mentaservice</artifactId> |
5 | <packaging>war</packaging> |
5 | <packaging>war</packaging> |
6 | <version>1.0.1-SNAPSHOT</version> |
6 | <version>1.0.1-SNAPSHOT</version> |
7 | <name>Mentawai Reference Web Application with a Service Layer</name> |
7 | <name>Mentawai Reference Web Application with a Service Layer</name> |
8 | <url>http://www.mentaframework.org</url> |
8 | <url>http://www.mentaframework.org</url> |
9 | 9 | ||
10 | <scm>
|
10 | <scm>
|
11 | <connection>scm:svn:svn://soliveirajr.com/mentaservice/trunk</connection> |
11 | <connection>scm:svn:svn://soliveirajr.com/mentaservice/trunk</connection> |
12 | <developerConnection>scm:svn:svn://soliveirajr.com/mentaservice/trunk</developerConnection> |
12 | <developerConnection>scm:svn:svn://soliveirajr.com/mentaservice/trunk</developerConnection> |
13 | <url>svn://soliveirajr.com/mentaservice/trunk</url> |
13 | <url>svn://soliveirajr.com/mentaservice/trunk</url> |
14 | </scm>
|
14 | </scm>
|
15 | 15 | ||
16 | <dependencies>
|
16 | <dependencies>
|
17 | 17 | ||
18 | <dependency>
|
18 | <dependency>
|
19 | <groupId>javax.servlet.jsp</groupId> |
19 | <groupId>javax.servlet.jsp</groupId> |
20 | <artifactId>jsp-api</artifactId> |
20 | <artifactId>jsp-api</artifactId> |
21 | <version>2.0</version> |
21 | <version>2.0</version> |
22 | <scope>provided</scope> |
22 | <scope>provided</scope> |
23 | </dependency>
|
23 | </dependency>
|
24 | 24 | ||
25 | <dependency>
|
25 | <dependency>
|
26 | <groupId>javax.servlet</groupId> |
26 | <groupId>javax.servlet</groupId> |
27 | <artifactId>servlet-api</artifactId> |
27 | <artifactId>servlet-api</artifactId> |
28 | <version>2.5</version> |
28 | <version>2.5</version> |
29 | <scope>provided</scope> |
29 | <scope>provided</scope> |
30 | </dependency>
|
30 | </dependency>
|
31 | 31 | ||
32 | <dependency>
|
32 | <dependency>
|
33 | <groupId>junit</groupId> |
33 | <groupId>junit</groupId> |
34 | <artifactId>junit</artifactId> |
34 | <artifactId>junit</artifactId> |
35 | <version>4.8.1</version> |
35 | <version>4.8.1</version> |
36 | <scope>test</scope> |
36 | <scope>test</scope> |
37 | </dependency>
|
37 | </dependency>
|
38 | 38 | ||
39 | <dependency>
|
39 | <dependency>
|
40 | <groupId>com.h2database</groupId> |
40 | <groupId>com.h2database</groupId> |
41 | <artifactId>h2</artifactId> |
41 | <artifactId>h2</artifactId> |
42 | <version>1.2.138</version> |
42 | <version>1.2.138</version> |
43 | </dependency>
|
43 | </dependency>
|
44 | 44 | ||
45 | <dependency>
|
45 | <dependency>
|
46 | <groupId>me.soliveirajr</groupId> |
46 | <groupId>me.soliveirajr</groupId> |
47 | <artifactId>mentawai</artifactId> |
47 | <artifactId>mentawai</artifactId> |
48 | <version>2.5.1-SNAPSHOT</version> |
- | |
- | 48 | <version>2.5.2</version> |
|
49 | </dependency>
|
49 | </dependency>
|
50 | 50 | ||
51 | </dependencies>
|
51 | </dependencies>
|
52 | 52 | ||
53 | <build>
|
53 | <build>
|
54 | <plugins>
|
54 | <plugins>
|
55 | 55 | ||
56 | 56 | ||
57 | <plugin>
|
57 | <plugin>
|
58 | <groupId>org.mortbay.jetty</groupId> |
58 | <groupId>org.mortbay.jetty</groupId> |
59 | <artifactId>jetty-maven-plugin</artifactId> |
59 | <artifactId>jetty-maven-plugin</artifactId> |
60 | <version>7.1.0.v20100505</version> |
60 | <version>7.1.0.v20100505</version> |
61 | <configuration>
|
61 | <configuration>
|
62 | <webApp>${basedir}/target/${project.artifactId}.war</webApp> |
62 | <webApp>${basedir}/target/${project.artifactId}.war</webApp> |
63 | <webAppConfig>
|
63 | <webAppConfig>
|
64 | <contextPath>/${project.artifactId}</contextPath> |
64 | <contextPath>/${project.artifactId}</contextPath> |
65 | </webAppConfig>
|
65 | </webAppConfig>
|
66 | <reload>manual</reload> |
66 | <reload>manual</reload> |
67 | <connectors>
|
67 | <connectors>
|
68 | <connector implementation="org.eclipse.jetty.server.bio.SocketConnector">
|
68 | <connector implementation="org.eclipse.jetty.server.bio.SocketConnector">
|
69 | <port>8080</port> |
69 | <port>8080</port> |
70 | </connector>
|
70 | </connector>
|
71 | </connectors>
|
71 | </connectors>
|
72 | </configuration>
|
72 | </configuration>
|
73 | </plugin>
|
73 | </plugin>
|
74 | 74 | ||
75 | <plugin>
|
75 | <plugin>
|
76 | <groupId>org.apache.maven.plugins</groupId> |
76 | <groupId>org.apache.maven.plugins</groupId> |
77 | <artifactId>maven-compiler-plugin</artifactId> |
77 | <artifactId>maven-compiler-plugin</artifactId> |
78 | <version>2.0.2</version> |
78 | <version>2.0.2</version> |
79 | <configuration>
|
79 | <configuration>
|
80 | <source>1.6</source> |
80 | <source>1.6</source> |
81 | <target>1.6</target> |
81 | <target>1.6</target> |
82 | </configuration>
|
82 | </configuration>
|
83 | </plugin>
|
83 | </plugin>
|
84 | <plugin>
|
84 | <plugin>
|
85 | <groupId>org.apache.maven.plugins</groupId> |
85 | <groupId>org.apache.maven.plugins</groupId> |
86 | <artifactId>maven-war-plugin</artifactId> |
86 | <artifactId>maven-war-plugin</artifactId> |
87 | <version>2.1-beta-1</version> |
87 | <version>2.1-beta-1</version> |
88 | <configuration>
|
88 | <configuration>
|
89 | <webResources>
|
89 | <webResources>
|
90 | <resource>
|
90 | <resource>
|
91 | <directory>${project.build.sourceDirectory}</directory> |
91 | <directory>${project.build.sourceDirectory}</directory> |
92 | <targetPath>WEB-INF/sources</targetPath> |
92 | <targetPath>WEB-INF/sources</targetPath> |
93 | </resource>
|
93 | </resource>
|
94 | </webResources>
|
94 | </webResources>
|
95 | <failOnMissingWebXml>true</failOnMissingWebXml> |
95 | <failOnMissingWebXml>true</failOnMissingWebXml> |
96 | </configuration>
|
96 | </configuration>
|
97 | </plugin>
|
97 | </plugin>
|
98 | </plugins>
|
98 | </plugins>
|
99 | <finalName>mentaservice</finalName> |
99 | <finalName>mentaservice</finalName> |
100 | <pluginManagement>
|
100 | <pluginManagement>
|
101 | <plugins>
|
101 | <plugins>
|
102 | <plugin>
|
102 | <plugin>
|
103 | <artifactId>maven-antrun-plugin</artifactId> |
103 | <artifactId>maven-antrun-plugin</artifactId> |
104 | <version>1.3</version> |
104 | <version>1.3</version> |
105 | </plugin>
|
105 | </plugin>
|
106 | <plugin>
|
106 | <plugin>
|
107 | <artifactId>maven-assembly-plugin</artifactId> |
107 | <artifactId>maven-assembly-plugin</artifactId> |
108 | <version>2.2-beta-5</version> |
108 | <version>2.2-beta-5</version> |
109 | </plugin>
|
109 | </plugin>
|
110 | <plugin>
|
110 | <plugin>
|
111 | <artifactId>maven-dependency-plugin</artifactId> |
111 | <artifactId>maven-dependency-plugin</artifactId> |
112 | <version>2.1</version> |
112 | <version>2.1</version> |
113 | </plugin>
|
113 | </plugin>
|
114 | <plugin>
|
114 | <plugin>
|
115 | <artifactId>maven-release-plugin</artifactId> |
115 | <artifactId>maven-release-plugin</artifactId> |
116 | <version>2.0</version> |
116 | <version>2.0</version> |
117 | <configuration>
|
117 | <configuration>
|
118 | <mavenExecutorId>forked-path</mavenExecutorId> |
118 | <mavenExecutorId>forked-path</mavenExecutorId> |
119 | </configuration>
|
119 | </configuration>
|
120 | </plugin>
|
120 | </plugin>
|
121 | </plugins>
|
121 | </plugins>
|
122 | </pluginManagement>
|
122 | </pluginManagement>
|
123 | 123 | ||
124 | </build>
|
124 | </build>
|
125 | <profiles>
|
125 | <profiles>
|
126 | <profile>
|
126 | <profile>
|
127 | <id>endorsed</id> |
127 | <id>endorsed</id> |
128 | <activation>
|
128 | <activation>
|
129 | <property>
|
129 | <property>
|
130 | <name>sun.boot.class.path</name> |
130 | <name>sun.boot.class.path</name> |
131 | </property>
|
131 | </property>
|
132 | </activation>
|
132 | </activation>
|
133 | <build>
|
133 | <build>
|
134 | <plugins>
|
134 | <plugins>
|
135 | 135 | ||
136 | <plugin>
|
136 | <plugin>
|
137 | <artifactId>maven-clean-plugin</artifactId> |
137 | <artifactId>maven-clean-plugin</artifactId> |
138 | <version>2.2</version> |
138 | <version>2.2</version> |
139 | <configuration>
|
139 | <configuration>
|
140 | <filesets>
|
140 | <filesets>
|
141 | <fileset>
|
141 | <fileset>
|
142 | <directory>.</directory> |
142 | <directory>.</directory> |
143 | <includes>
|
143 | <includes>
|
144 | <include>MentaTest.h2.db</include> |
144 | <include>MentaTest.h2.db</include> |
145 | <include>MentaTest.trace.db</include> |
145 | <include>MentaTest.trace.db</include> |
146 | <include>MentaTest.lock.db</include> |
146 | <include>MentaTest.lock.db</include> |
147 | </includes>
|
147 | </includes>
|
148 | <followSymlinks>false</followSymlinks> |
148 | <followSymlinks>false</followSymlinks> |
149 | </fileset>
|
149 | </fileset>
|
150 | </filesets>
|
150 | </filesets>
|
151 | </configuration>
|
151 | </configuration>
|
152 | </plugin>
|
152 | </plugin>
|
153 | 153 | ||
154 | 154 | ||
155 | 155 | ||
156 | <plugin>
|
156 | <plugin>
|
157 | <groupId>org.apache.maven.plugins</groupId> |
157 | <groupId>org.apache.maven.plugins</groupId> |
158 | <artifactId>maven-compiler-plugin</artifactId> |
158 | <artifactId>maven-compiler-plugin</artifactId> |
159 | <version>2.0.2</version> |
159 | <version>2.0.2</version> |
160 | <configuration>
|
160 | <configuration>
|
161 | <!-- javaee6 contains upgrades of APIs contained within the JDK itself.
|
161 | <!-- javaee6 contains upgrades of APIs contained within the JDK itself.
|
162 | As such these need to be placed on the bootclasspath, rather than classpath
|
162 | As such these need to be placed on the bootclasspath, rather than classpath
|
163 | of the compiler. If you don't make use of these new updated API, you can
|
163 | of the compiler. If you don't make use of these new updated API, you can
|
164 | delete the profile. On non-SUN jdk, you will need to create a similar profile
|
164 | delete the profile. On non-SUN jdk, you will need to create a similar profile
|
165 | for your jdk, with the similar property as sun.boot.class.path in Sun's JDK. -->
|
165 | for your jdk, with the similar property as sun.boot.class.path in Sun's JDK. -->
|
166 | <compilerArguments>
|
166 | <compilerArguments>
|
167 | <bootclasspath>${settings.localRepository}/javax/javaee-endorsed-api/6.0/javaee-endorsed-api-6.0.jar${path.separator}${sun.boot.class.path}</bootclasspath> |
167 | <bootclasspath>${settings.localRepository}/javax/javaee-endorsed-api/6.0/javaee-endorsed-api-6.0.jar${path.separator}${sun.boot.class.path}</bootclasspath> |
168 | </compilerArguments>
|
168 | </compilerArguments>
|
169 | </configuration>
|
169 | </configuration>
|
170 | <dependencies>
|
170 | <dependencies>
|
171 | <dependency>
|
171 | <dependency>
|
172 | <groupId>javax</groupId> |
172 | <groupId>javax</groupId> |
173 | <artifactId>javaee-endorsed-api</artifactId> |
173 | <artifactId>javaee-endorsed-api</artifactId> |
174 | <version>6.0</version> |
174 | <version>6.0</version> |
175 | </dependency>
|
175 | </dependency>
|
176 | </dependencies>
|
176 | </dependencies>
|
177 | </plugin>
|
177 | </plugin>
|
178 | </plugins>
|
178 | </plugins>
|
179 | </build>
|
179 | </build>
|
180 | </profile>
|
180 | </profile>
|
181 | </profiles>
|
181 | </profiles>
|
182 | 182 | ||
183 | </project>
|
183 | </project>
|
184 | 184 | ||
185 | 185 |