Commit 0fea0159 authored by Administrator's avatar Administrator

Initial commit

Initial commit with a basic .gitignore, README.md and POM files.
parents
#Eclipse
.settings
.project
.classpath
#Maven
target
# XCS Sample
This repository contains the code base of a sample project that will be used in
the XCS subject inside the DGSS itinerary.
## Deployment Environment
The environment is based on Maven 3, MySQL 5.5, WildFly 8.2.1 and Eclipse Mars
for JEE.
### Java JDK 8
Download and install Java JDK 8, preferably the Oracle version (the commands
`java` and `javac` must be available).
### Maven
Install Maven 3 in your system, if it was not installed (the `mvn` command must
be available)
### Git
First, install git in your system if it was not installed (the `git` command
must be available). We will work with Git to get updates of these sample.
Concretely, we will work with a Git repository inside
[our Gitlab server](http://sing.ei.uvigo.es/dt/gitlab).
Git url: `http://sing.ei.uvigo.es/dt/gitlab/dgss/xcs-sample.git`
### Eclipse
You can use any other IDE, such as IntelliJ IDEA or NetBeans, as long as they
are compatible with Maven projects.
Before continue, you have **to patch Eclipse Mars**, concretely the m2e-wtp
plugin. Go to `Help -> Install New Software`. Work with repository located
at `http://download.eclipse.org/m2e-wtp/snapshots/mars/` and then select and
install "Maven Integration for WTP". Restart Eclipse.
Open Eclipse Mars JEE and import your Maven project with
`File -> Import -> Maven -> Existing Maven Projects`
Select your source code folder (where the `pom.xml` should be placed)
Eclipse should then import 2 projects (`xcs-sample` and `domain`)
## Sample 1: Testing entities
Coming soon...
## Sample 2: Testing persistence
Coming soon...
## Sample 3: Testing EJBs
Coming soon...
## Sample 4: Testing with test doubles
Coming soon...
## Sample 5: Testing JAX-RS
Coming soon...
## Sample 6: Testing AngularJS
Coming soon...
## Sample 7: Testing JSF
Coming soon...
## Sample 8: Additional Testing Tools
Coming soon...
<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>
<parent>
<groupId>es.uvigo.esei.xcs</groupId>
<artifactId>sample</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>domain</artifactId>
<packaging>jar</packaging>
<name>Domain</name>
<description>XCS Sample - Domain</description>
<dependencies>
<!-- General -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>java-hamcrest</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment