Spaces:
Sleeping
Sleeping
| <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> | |
| <groupId>com.myapp</groupId> | |
| <artifactId>CRM</artifactId> | |
| <version>1.0</version> | |
| <packaging>war</packaging> | |
| <properties> | |
| <maven.compiler.source>1.8</maven.compiler.source> | |
| <maven.compiler.target>1.8</maven.compiler.target> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <failOnMissingWebXml>false</failOnMissingWebXml> | |
| </properties> | |
| <dependencies> | |
| <!-- Bcrypt for password hashing --> | |
| <dependency> | |
| <groupId>org.mindrot</groupId> | |
| <artifactId>jbcrypt</artifactId> | |
| <version>0.4</version> | |
| </dependency> | |
| <!-- PostgreSQL JDBC Driver --> | |
| <dependency> | |
| <groupId>org.postgresql</groupId> | |
| <artifactId>postgresql</artifactId> | |
| <version>42.7.2</version> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.github.cdimascio</groupId> | |
| <artifactId>java-dotenv</artifactId> | |
| <version>5.2.2</version> | |
| </dependency> | |
| <!-- JavaMail API --> | |
| <dependency> | |
| <groupId>com.sun.mail</groupId> | |
| <artifactId>jakarta.mail</artifactId> | |
| <version>2.0.1</version> | |
| </dependency> | |
| <!-- JSTL (Jakarta version) --> | |
| <!-- <dependency> | |
| <groupId>jakarta.servlet.jsp.jstl</groupId> | |
| <artifactId>jakarta.servlet.jsp.jstl-api</artifactId> | |
| <version>3.0.0</version> | |
| </dependency> | |
| --> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>jstl</artifactId> | |
| <version>1.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-lang3</artifactId> | |
| <version>3.12.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.code.gson</groupId> | |
| <artifactId>gson</artifactId> | |
| <version>2.10.1</version> | |
| </dependency> | |
| <!-- WebApp Runner for Heroku --> | |
| <dependency> | |
| <groupId>com.heroku</groupId> | |
| <artifactId>webapp-runner</artifactId> | |
| <version>9.0.41.0</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>javax.servlet-api</artifactId> | |
| <version>4.0.1</version> <!-- matches Tomcat 9 --> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax</groupId> | |
| <artifactId>javaee-web-api</artifactId> | |
| <version>7.0</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.json</groupId> | |
| <artifactId>json</artifactId> | |
| <version>20231013</version> | |
| </dependency> | |
| <!-- Jackson Core --> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-core</artifactId> | |
| <version>2.13.5</version> | |
| </dependency> | |
| <!-- Jackson Databind (contains ObjectMapper) --> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-databind</artifactId> | |
| <version>2.13.5</version> | |
| </dependency> | |
| <!-- Jackson Annotations --> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-annotations</artifactId> | |
| <version>2.13.5</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <finalName>MyWebApp</finalName> | |
| <plugins> | |
| <!-- WAR packaging plugin --> | |
| <plugin> | |
| <artifactId>maven-war-plugin</artifactId> | |
| <version>3.3.1</version> | |
| <configuration> | |
| <failOnMissingWebXml>false</failOnMissingWebXml> | |
| </configuration> | |
| </plugin> | |
| <!-- Heroku Maven Plugin --> | |
| <plugin> | |
| <groupId>com.heroku.sdk</groupId> | |
| <artifactId>heroku-maven-plugin</artifactId> | |
| <version>3.0.4</version> | |
| <configuration> | |
| <appName>your-heroku-app-name</appName> | |
| </configuration> | |
| </plugin> | |
| <!-- Maven Compiler Plugin --> | |
| <plugin> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.8.1</version> | |
| <configuration> | |
| <source>1.8</source> | |
| <target>1.8</target> | |
| </configuration> | |
| </plugin> | |
| <!-- Dependency plugin for copying webapp-runner --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <version>3.1.1</version> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals><goal>copy</goal></goals> | |
| <configuration> | |
| <artifactItems> | |
| <artifactItem> | |
| <groupId>com.heroku</groupId> | |
| <artifactId>webapp-runner</artifactId> | |
| <version>9.0.41.0</version> | |
| <destFileName>webapp-runner.jar</destFileName> | |
| </artifactItem> | |
| </artifactItems> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <repositories> | |
| <repository> | |
| <id>central</id> | |
| <url>https://repo.maven.apache.org/maven2</url> | |
| </repository> | |
| </repositories> | |
| <pluginRepositories> | |
| <pluginRepository> | |
| <id>central</id> | |
| <url>https://repo.maven.apache.org/maven2</url> | |
| </pluginRepository> | |
| </pluginRepositories> | |
| <name>Smart_Grad_UI</name> | |
| </project> | |