Skip to content

Commit

Permalink
package name update
Browse files Browse the repository at this point in the history
  • Loading branch information
shashirajraja committed Oct 6, 2022
1 parent 60fb31c commit cae5357
Show file tree
Hide file tree
Showing 15 changed files with 124 additions and 91 deletions.
25 changes: 16 additions & 9 deletions .settings/org.eclipse.wst.common.component
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="onlinebookstore-0.0.1-SNAPSHOT">
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/OnlineBookStore"/>
<property name="context-root" value="onlinebookstore"/>
<property name="java-output-path" value="/onlinebookstore/build/classes"/>
</wb-module>
</project-modules>
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">

<wb-module deploy-name="onlinebookstore-0.0.1-SNAPSHOT">

<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>

<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>

<property name="context-root" value="onlinebookstore"/>

<property name="java-output-path" value="/onlinebookstore/build/classes"/>

</wb-module>

</project-modules>
122 changes: 74 additions & 48 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,49 +1,75 @@
<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>onlinebookstore</groupId>
<artifactId>onlinebookstore</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<warSourceDirectory>WebContent</warSourceDirectory>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>

<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.3.7</version>
</dependency>


<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
</dependency>


<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
</dependencies>
<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>theonlinebookstore</groupId>
<artifactId>theonlinebookstore</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<build>
<sourceDirectory>src</sourceDirectory>
<finalName>theonlinebookstore</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.github.jsimone</groupId>
<artifactId>webapp-runner</artifactId>
<version>8.0.30.2</version>
<destFileName>webapp-runner.jar</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<warSourceDirectory>WebContent</warSourceDirectory>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>

<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.3.7</version>
</dependency>


<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
</dependency>


<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
</dependencies>
</project>
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package constants;

public interface IOnlineBookStoreConstants {
public static String CONTENT_TYPE_TEXT_HTML = "text/html";


}
package constants;

public interface IOnlineBookStoreConstants {
public static String CONTENT_TYPE_TEXT_HTML = "text/html";


}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package sql;

public interface IBookConstants {

public static String TABLE_BOOK = "books";

public static String COLUMN_NAME = "name";
public static String COLUMN_BARCODE = "barcode";
public static String COLUMN_AUTHOR = "author";
public static String COLUMN_PRICE = "price";
public static String COLUMN_QUANTITY = "quantity";
}
package sql;

public interface IBookConstants {

public static String TABLE_BOOK = "books";

public static String COLUMN_NAME = "name";
public static String COLUMN_BARCODE = "barcode";
public static String COLUMN_AUTHOR = "author";
public static String COLUMN_PRICE = "price";
public static String COLUMN_QUANTITY = "quantity";
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package sql;

public interface IUserContants {

public static String TABLE_USERS = "users";

public static String COLUMN_USERNAME = "username";
public static String COLUMN_PASSWORD = "password";
public static String COLUMN_FIRSTNAME = "firstname";
public static String COLUMN_LASTNAME = "lastname";
public static String COLUMN_ADDRESS = "address";
public static String COLUMN_PHONE = "phone";
public static String COLUMN_MAILID = "mailid";
public static String COLUMN_USERTYPE = "usertype";
}
package sql;

public interface IUserContants {

public static String TABLE_USERS = "users";

public static String COLUMN_USERNAME = "username";
public static String COLUMN_PASSWORD = "password";
public static String COLUMN_FIRSTNAME = "firstname";
public static String COLUMN_LASTNAME = "lastname";
public static String COLUMN_ADDRESS = "address";
public static String COLUMN_PHONE = "phone";
public static String COLUMN_MAILID = "mailid";
public static String COLUMN_USERTYPE = "usertype";
}

0 comments on commit cae5357

Please sign in to comment.