|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>org.example</groupId> |
| 5 | + <artifactId>JARFile</artifactId> |
| 6 | + <packaging>war</packaging> |
| 7 | + <properties> |
| 8 | + <maven.compiler.source>20</maven.compiler.source> |
| 9 | + <maven.compiler.target>20</maven.compiler.target> |
| 10 | + </properties> |
| 11 | + <version>1.0-SNAPSHOT</version> |
| 12 | + <name>JARFile Maven Webapp</name> |
| 13 | + <url>http://maven.apache.org</url> |
| 14 | + <dependencies> |
| 15 | + <dependency> |
| 16 | + <groupId>javax.servlet</groupId> |
| 17 | + <artifactId>jstl</artifactId> |
| 18 | + <version>1.2</version> |
| 19 | + </dependency> |
| 20 | + <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api --> |
| 21 | + <dependency> |
| 22 | + <groupId>javax.servlet</groupId> |
| 23 | + <artifactId>javax.servlet-api</artifactId> |
| 24 | + <version>4.0.1</version> |
| 25 | + <scope>provided</scope> |
| 26 | + </dependency> |
| 27 | + <!-- https://mvnrepository.com/artifact/org.glassfish.web/jakarta.servlet.jsp.jstl --> |
| 28 | + <dependency> |
| 29 | + <groupId>org.glassfish.web</groupId> |
| 30 | + <artifactId>jakarta.servlet.jsp.jstl</artifactId> |
| 31 | + <version>2.0.0</version> |
| 32 | + </dependency> |
| 33 | + <!-- https://mvnrepository.com/artifact/jakarta.servlet.jsp.jstl/jakarta.servlet.jsp.jstl-api --> |
| 34 | + <dependency> |
| 35 | + <groupId>jakarta.servlet.jsp.jstl</groupId> |
| 36 | + <artifactId>jakarta.servlet.jsp.jstl-api</artifactId> |
| 37 | + <version>2.0.0</version> |
| 38 | + </dependency> |
| 39 | + <dependency> |
| 40 | + <groupId>jakarta.servlet.jsp.jstl</groupId> |
| 41 | + <artifactId>jakarta.servlet.jsp.jstl-api</artifactId> |
| 42 | + <version>2.0.0</version> |
| 43 | + </dependency> |
| 44 | + <dependency> |
| 45 | + <groupId>jakarta.servlet</groupId> |
| 46 | + <artifactId>jakarta.servlet-api</artifactId> |
| 47 | + <version>5.0.0</version> <!-- Use the appropriate version --> |
| 48 | + <scope>provided</scope> |
| 49 | + </dependency> |
| 50 | + |
| 51 | + |
| 52 | + <dependency> |
| 53 | + <groupId>javax.servlet</groupId> |
| 54 | + <artifactId>javax.servlet-api</artifactId> |
| 55 | + <version>4.0.1</version> |
| 56 | + <scope>provided</scope> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>javax.servlet.jsp</groupId> |
| 60 | + <artifactId>jsp-api</artifactId> |
| 61 | + <version>2.2</version> |
| 62 | + <scope>provided</scope> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>taglibs</groupId> |
| 66 | + <artifactId>standard</artifactId> |
| 67 | + <version>1.1.2</version> |
| 68 | + </dependency> |
| 69 | + |
| 70 | + <dependency> |
| 71 | + <groupId>javax.servlet</groupId> |
| 72 | + <artifactId>javax.servlet-api</artifactId> |
| 73 | + <version>3.0.1</version> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>javax.servlet</groupId> |
| 77 | + <artifactId>jsp-api</artifactId> |
| 78 | + <version>2.0</version> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>javax.servlet</groupId> |
| 82 | + <artifactId>jstl</artifactId> |
| 83 | + <version>1.2</version> |
| 84 | + </dependency> |
| 85 | + <dependency> |
| 86 | + <groupId>commons-logging</groupId> |
| 87 | + <artifactId>commons-logging-api</artifactId> |
| 88 | + <version>1.1</version> |
| 89 | + <exclusions> |
| 90 | + <exclusion> |
| 91 | + <groupId>javax.servlet</groupId> |
| 92 | + <artifactId>servlet-api</artifactId> |
| 93 | + </exclusion> |
| 94 | + </exclusions> |
| 95 | + </dependency> |
| 96 | + <dependency> |
| 97 | + <groupId>javax.servlet</groupId> |
| 98 | + <artifactId>servlet-api</artifactId> |
| 99 | + <version>2.5</version> |
| 100 | + <scope>provided</scope> |
| 101 | + </dependency> |
| 102 | + <dependency> |
| 103 | + <groupId>javax.servlet.jsp</groupId> |
| 104 | + <artifactId>jsp-api</artifactId> |
| 105 | + <version>2.1</version> |
| 106 | + <scope>provided</scope> |
| 107 | + </dependency> |
| 108 | + <dependency> |
| 109 | + <groupId>javax.servlet</groupId> |
| 110 | + <artifactId>javax.servlet-api</artifactId> |
| 111 | + <version>4.0.1</version> |
| 112 | + <scope>provided</scope> |
| 113 | + </dependency> |
| 114 | + <dependency> |
| 115 | + <groupId>javax.servlet.jsp</groupId> |
| 116 | + <artifactId>jsp-api</artifactId> |
| 117 | + <version>2.2</version> |
| 118 | + <scope>provided</scope> |
| 119 | + </dependency> |
| 120 | + <dependency> |
| 121 | + <groupId>taglibs</groupId> |
| 122 | + <artifactId>standard</artifactId> |
| 123 | + <version>1.1.2</version> |
| 124 | + </dependency> |
| 125 | + <dependency> |
| 126 | + <groupId>jakarta.servlet</groupId> |
| 127 | + <artifactId>jakarta.servlet-api</artifactId> |
| 128 | + <version>5.0.0</version> <!-- Use the appropriate version --> |
| 129 | + <scope>provided</scope> <!-- Servlet API should be provided by the servlet container --> |
| 130 | + </dependency> |
| 131 | + <dependency> |
| 132 | + <groupId>jakarta.servlet.jsp</groupId> |
| 133 | + <artifactId>jakarta.servlet.jsp-api</artifactId> |
| 134 | + <version>3.0.0</version> <!-- Use the appropriate version --> |
| 135 | + <scope>provided</scope> <!-- JSP API should be provided by the servlet container --> |
| 136 | + </dependency> |
| 137 | + |
| 138 | + <!-- JSP API --> |
| 139 | + <dependency> |
| 140 | + <groupId>javax.servlet.jsp</groupId> |
| 141 | + <artifactId>javax.servlet.jsp-api</artifactId> |
| 142 | + <version>2.3.3</version> <!-- Use the appropriate version --> |
| 143 | + <scope>provided</scope> <!-- JSP API should be provided by the servlet container --> |
| 144 | + </dependency> |
| 145 | + </dependencies> |
| 146 | + <build> |
| 147 | + <finalName>JARFile</finalName> |
| 148 | + </build> |
| 149 | +</project> |
0 commit comments