diff --git a/Maven/my-app/.classpath b/Maven/my-app/.classpath
new file mode 100644
index 00000000..f99d68d0
--- /dev/null
+++ b/Maven/my-app/.classpath
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Maven/my-app/.project b/Maven/my-app/.project
new file mode 100644
index 00000000..9ff45808
--- /dev/null
+++ b/Maven/my-app/.project
@@ -0,0 +1,14 @@
+
+
+ my-app
+ NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
\ No newline at end of file
diff --git a/Maven/my-app/pom.xml b/Maven/my-app/pom.xml
new file mode 100644
index 00000000..443c5e19
--- /dev/null
+++ b/Maven/my-app/pom.xml
@@ -0,0 +1,24 @@
+
+
+ com.mycompany.app
+ app
+ 1.0-SNAPSHOT
+
+ 4.0.0
+ com.mycompany.app
+ my-app
+ jar
+ 1.0-SNAPSHOT
+ my-app
+ http://maven.apache.org
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
+
diff --git a/Maven/my-app/src/main/java/com/mycompany/app/App.java b/Maven/my-app/src/main/java/com/mycompany/app/App.java
new file mode 100644
index 00000000..79dccf4e
--- /dev/null
+++ b/Maven/my-app/src/main/java/com/mycompany/app/App.java
@@ -0,0 +1,13 @@
+package com.mycompany.app;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello " + args[0]);
+ }
+}
diff --git a/Maven/my-app/src/test/java/com/mycompany/app/AppTest.java b/Maven/my-app/src/test/java/com/mycompany/app/AppTest.java
new file mode 100644
index 00000000..33559900
--- /dev/null
+++ b/Maven/my-app/src/test/java/com/mycompany/app/AppTest.java
@@ -0,0 +1,38 @@
+package com.mycompany.app;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/Maven/my-app/target/maven-archiver/pom.properties b/Maven/my-app/target/maven-archiver/pom.properties
new file mode 100644
index 00000000..4c5262e7
--- /dev/null
+++ b/Maven/my-app/target/maven-archiver/pom.properties
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Mon Jan 19 23:44:14 GMT 2015
+version=1.0-SNAPSHOT
+groupId=com.mycompany.app
+artifactId=my-app
diff --git a/Maven/my-app/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/Maven/my-app/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
new file mode 100644
index 00000000..de9dba09
--- /dev/null
+++ b/Maven/my-app/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
@@ -0,0 +1 @@
+com/mycompany/app/App.class
diff --git a/Maven/my-app/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/Maven/my-app/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
new file mode 100644
index 00000000..79ecf49a
--- /dev/null
+++ b/Maven/my-app/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
@@ -0,0 +1 @@
+/home/meli/my-app/src/main/java/com/mycompany/app/App.java
diff --git a/Maven/my-app/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/Maven/my-app/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
new file mode 100644
index 00000000..63481846
--- /dev/null
+++ b/Maven/my-app/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
@@ -0,0 +1 @@
+com/mycompany/app/AppTest.class
diff --git a/Maven/my-app/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/Maven/my-app/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
new file mode 100644
index 00000000..34df00f8
--- /dev/null
+++ b/Maven/my-app/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
@@ -0,0 +1 @@
+/home/meli/my-app/src/test/java/com/mycompany/app/AppTest.java
diff --git a/Maven/my-app/target/site/css/maven-base.css b/Maven/my-app/target/site/css/maven-base.css
new file mode 100644
index 00000000..53153e9f
--- /dev/null
+++ b/Maven/my-app/target/site/css/maven-base.css
@@ -0,0 +1,155 @@
+body {
+ margin: 0px;
+ padding: 0px;
+}
+img {
+ border:none;
+}
+table {
+ padding:0px;
+ width: 100%;
+ margin-left: -2px;
+ margin-right: -2px;
+}
+acronym {
+ cursor: help;
+ border-bottom: 1px dotted #feb;
+}
+table.bodyTable th, table.bodyTable td {
+ padding: 2px 4px 2px 4px;
+ vertical-align: top;
+}
+div.clear{
+ clear:both;
+ visibility: hidden;
+}
+div.clear hr{
+ display: none;
+}
+#bannerLeft, #bannerRight {
+ font-size: xx-large;
+ font-weight: bold;
+}
+#bannerLeft img, #bannerRight img {
+ margin: 0px;
+}
+.xleft, #bannerLeft img {
+ float:left;
+}
+.xright, #bannerRight {
+ float:right;
+}
+#banner {
+ padding: 0px;
+}
+#banner img {
+ border: none;
+}
+#breadcrumbs {
+ padding: 3px 10px 3px 10px;
+}
+#leftColumn {
+ width: 170px;
+ float:left;
+ overflow: auto;
+}
+#bodyColumn {
+ margin-right: 1.5em;
+ margin-left: 197px;
+}
+#legend {
+ padding: 8px 0 8px 0;
+}
+#navcolumn {
+ padding: 8px 4px 0 8px;
+}
+#navcolumn h5 {
+ margin: 0;
+ padding: 0;
+ font-size: small;
+}
+#navcolumn ul {
+ margin: 0;
+ padding: 0;
+ font-size: small;
+}
+#navcolumn li {
+ list-style-type: none;
+ background-image: none;
+ background-repeat: no-repeat;
+ background-position: 0 0.4em;
+ padding-left: 16px;
+ list-style-position: outside;
+ line-height: 1.2em;
+ font-size: smaller;
+}
+#navcolumn li.expanded {
+ background-image: url(../images/expanded.gif);
+}
+#navcolumn li.collapsed {
+ background-image: url(../images/collapsed.gif);
+}
+#navcolumn li.none {
+ text-indent: -1em;
+ margin-left: 1em;
+}
+#poweredBy {
+ text-align: center;
+}
+#navcolumn img {
+ margin-top: 10px;
+ margin-bottom: 3px;
+}
+#poweredBy img {
+ display:block;
+ margin: 20px 0 20px 17px;
+}
+#search img {
+ margin: 0px;
+ display: block;
+}
+#search #q, #search #btnG {
+ border: 1px solid #999;
+ margin-bottom:10px;
+}
+#search form {
+ margin: 0px;
+}
+#lastPublished {
+ font-size: x-small;
+}
+.navSection {
+ margin-bottom: 2px;
+ padding: 8px;
+}
+.navSectionHead {
+ font-weight: bold;
+ font-size: x-small;
+}
+.section {
+ padding: 4px;
+}
+#footer {
+ padding: 3px 10px 3px 10px;
+ font-size: x-small;
+}
+#breadcrumbs {
+ font-size: x-small;
+ margin: 0pt;
+}
+.source {
+ padding: 12px;
+ margin: 1em 7px 1em 7px;
+}
+.source pre {
+ margin: 0px;
+ padding: 0px;
+}
+#navcolumn img.imageLink, .imageLink {
+ padding-left: 0px;
+ padding-bottom: 0px;
+ padding-top: 0px;
+ padding-right: 2px;
+ border: 0px;
+ margin: 0px;
+}
diff --git a/Maven/my-app/target/site/css/maven-theme.css b/Maven/my-app/target/site/css/maven-theme.css
new file mode 100644
index 00000000..c982168b
--- /dev/null
+++ b/Maven/my-app/target/site/css/maven-theme.css
@@ -0,0 +1,141 @@
+body {
+ padding: 0px 0px 10px 0px;
+}
+body, td, select, input, li{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ font-size: 13px;
+}
+code{
+ font-family: Courier, monospace;
+ font-size: 13px;
+}
+a {
+ text-decoration: none;
+}
+a:link {
+ color:#36a;
+}
+a:visited {
+ color:#47a;
+}
+a:active, a:hover {
+ color:#69c;
+}
+#legend li.externalLink {
+ background: url(../images/external.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
+ background: url(../images/external.png) right center no-repeat;
+ padding-right: 18px;
+}
+#legend li.newWindow {
+ background: url(../images/newwindow.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
+ background: url(../images/newwindow.png) right center no-repeat;
+ padding-right: 18px;
+}
+h2 {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #999;
+ color: #900;
+ background-color: #ddd;
+ font-weight:900;
+ font-size: x-large;
+}
+h3 {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #aaa;
+ color: #900;
+ background-color: #eee;
+ font-weight: normal;
+ font-size: large;
+}
+h4 {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #bbb;
+ color: #900;
+ background-color: #fff;
+ font-weight: normal;
+ font-size: large;
+}
+h5 {
+ padding: 4px 4px 4px 6px;
+ color: #900;
+ font-size: normal;
+}
+p {
+ line-height: 1.3em;
+ font-size: small;
+}
+#breadcrumbs {
+ border-top: 1px solid #aaa;
+ border-bottom: 1px solid #aaa;
+ background-color: #ccc;
+}
+#leftColumn {
+ margin: 10px 0 0 5px;
+ border: 1px solid #999;
+ background-color: #eee;
+}
+#navcolumn h5 {
+ font-size: smaller;
+ border-bottom: 1px solid #aaaaaa;
+ padding-top: 2px;
+ color: #000;
+}
+
+table.bodyTable th {
+ color: white;
+ background-color: #bbb;
+ text-align: left;
+ font-weight: bold;
+}
+
+table.bodyTable th, table.bodyTable td {
+ font-size: 1em;
+}
+
+table.bodyTable tr.a {
+ background-color: #ddd;
+}
+
+table.bodyTable tr.b {
+ background-color: #eee;
+}
+
+.source {
+ border: 1px solid #999;
+}
+dl {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #aaa;
+ background-color: #ffc;
+}
+dt {
+ color: #900;
+}
+#organizationLogo img, #projectLogo img, #projectLogo span{
+ margin: 8px;
+}
+#banner {
+ border-bottom: 1px solid #fff;
+}
+.errormark, .warningmark, .donemark, .infomark {
+ background: url(../images/icon_error_sml.gif) no-repeat;
+}
+
+.warningmark {
+ background-image: url(../images/icon_warning_sml.gif);
+}
+
+.donemark {
+ background-image: url(../images/icon_success_sml.gif);
+}
+
+.infomark {
+ background-image: url(../images/icon_info_sml.gif);
+}
+
diff --git a/Maven/my-app/target/site/css/print.css b/Maven/my-app/target/site/css/print.css
new file mode 100644
index 00000000..f09d546c
--- /dev/null
+++ b/Maven/my-app/target/site/css/print.css
@@ -0,0 +1,7 @@
+#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {
+ display: none !important;
+}
+#bodyColumn, body.docs div.docs {
+ margin: 0 !important;
+ border: none !important
+}
diff --git a/Maven/my-app/target/site/css/site.css b/Maven/my-app/target/site/css/site.css
new file mode 100644
index 00000000..055e7e28
--- /dev/null
+++ b/Maven/my-app/target/site/css/site.css
@@ -0,0 +1 @@
+/* You can override this file with your own styles */
\ No newline at end of file
diff --git a/Maven/my-app/target/site/dependencies.html b/Maven/my-app/target/site/dependencies.html
new file mode 100644
index 00000000..86029e48
--- /dev/null
+++ b/Maven/my-app/target/site/dependencies.html
@@ -0,0 +1,236 @@
+
+
+
+
+
+ my-app - Project Dependencies
+
+
+
+
+
+
+
+
+
+
+
+
+ Last Published: 2015-01-20
+ | Version: 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
Project Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
Project Dependencies
+
+
test
+
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
+
+
+GroupId
+ArtifactId
+Version
+Type
+License
+
+junit
+junit
+3.8.1
+jar
+Common Public License Version 1.0
+
+
Project Transitive Dependencies
+
No transitive dependencies are required for this project.
+
+
Project Dependency Graph
+
+
+
Dependency Tree
+
+com.mycompany.app:my-app:jar:1.0-SNAPSHOT
+
+
+my-app
+
+
+Description: There is currently no description associated with this project.
+URL: http://maven.apache.org
+Project License: No license is defined for this project.
+
+junit:junit:jar:3.8.1 (test)
+
+
Licenses
+
Unknown: my-app
+
Common Public License Version 1.0: JUnit
+
+
Dependency File Details
+
+
+Filename
+Size
+Entries
+Classes
+Packages
+Java Version
+Debug Information
+
+junit-3.8.1.jar
+121.07 kB
+119
+100
+6
+1.1
+Yes
+
+Total
+Size
+Entries
+Classes
+Packages
+Java Version
+Debug Information
+
+1
+121.07 kB
+119
+100
+6
+1.1
+1
+
+test: 1
+test: 121.07 kB
+test: 119
+test: 100
+test: 6
+-
+test: 1
+
+
Dependency Repository Locations
+
+
+Repo ID
+URL
+Release
+Snapshot
+
+central
+https://repo.maven.apache.org/maven2
+Yes
+No
+
Repository locations for each of the Dependencies.
+
+
+Artifact
+central
+
+junit:junit:jar:3.8.1
+
+
+Total
+central
+
+1 (test: 1)
+1
+
+
+
+
+
+
+
+
diff --git a/Maven/my-app/target/site/dependency-convergence.html b/Maven/my-app/target/site/dependency-convergence.html
new file mode 100644
index 00000000..9dcd0e24
--- /dev/null
+++ b/Maven/my-app/target/site/dependency-convergence.html
@@ -0,0 +1,130 @@
+
+
+
+
+
+ my-app - Dependency Convergence
+
+
+
+
+
+
+
+
+
+
+
+
+ Last Published: 2015-01-20
+ | Version: 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
Project Documentation
+
+
+
+
+
+
+
+
+
+
+
+
Dependency Convergence
+
+ Legend:
+
+
+
+At least one dependency has a differing version of the dependency or has SNAPSHOT dependencies.
+
+ Statistics:
+
+
+Number of dependencies (NOD):
+1
+
+Number of unique artifacts (NOA):
+1
+
+Number of version-conflicting artifacts (NOC):
+0
+
+Number of SNAPSHOT artifacts (NOS):
+0
+
+Convergence (NOD/NOA):
+ 100 %
+
+Ready for release (100 % convergence and no SNAPSHOTS):
+ Success
+
+
Dependencies used in this project
+
+
+
+
+
+
+
+
diff --git a/Maven/my-app/target/site/dependency-info.html b/Maven/my-app/target/site/dependency-info.html
new file mode 100644
index 00000000..1249f72e
--- /dev/null
+++ b/Maven/my-app/target/site/dependency-info.html
@@ -0,0 +1,137 @@
+
+
+
+
+
+ my-app - Dependency Information
+
+
+
+
+
+
+
+
+
+
+
+
+ Last Published: 2015-01-20
+ | Version: 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
Project Documentation
+
+
+
+
+
+
+
+
+
+
+
+
Dependency Information
+
+
Apache Maven
+
+
<dependency>
+ <groupId>com.mycompany.app</groupId>
+ <artifactId>my-app</artifactId>
+ <version>1.0-SNAPSHOT</version>
+</dependency>
+
+
Apache Buildr
+
+
'com.mycompany.app:my-app:jar:1.0-SNAPSHOT'
+
+
Apache Ivy
+
+
<dependency org="com.mycompany.app" name="my-app" rev="1.0-SNAPSHOT">
+ <artifact name="my-app" type="jar" />
+</dependency>
+
+
Groovy Grape
+
+
@Grapes(
+@Grab(group='com.mycompany.app', module='my-app', version='1.0-SNAPSHOT')
+)
+
+
Grails
+
+
compile 'com.mycompany.app:my-app:1.0-SNAPSHOT'
+
+
Leiningen
+
+
[com.mycompany.app/my-app "1.0-SNAPSHOT"]
+
+
SBT
+
+
libraryDependencies += "com.mycompany.app" % "my-app" % "1.0-SNAPSHOT"
+
+
+
+
+
+
+
+
diff --git a/Maven/my-app/target/site/images/close.gif b/Maven/my-app/target/site/images/close.gif
new file mode 100644
index 00000000..1c26bbc5
Binary files /dev/null and b/Maven/my-app/target/site/images/close.gif differ
diff --git a/Maven/my-app/target/site/images/collapsed.gif b/Maven/my-app/target/site/images/collapsed.gif
new file mode 100644
index 00000000..6e710840
Binary files /dev/null and b/Maven/my-app/target/site/images/collapsed.gif differ
diff --git a/Maven/my-app/target/site/images/expanded.gif b/Maven/my-app/target/site/images/expanded.gif
new file mode 100644
index 00000000..0fef3d89
Binary files /dev/null and b/Maven/my-app/target/site/images/expanded.gif differ
diff --git a/Maven/my-app/target/site/images/external.png b/Maven/my-app/target/site/images/external.png
new file mode 100644
index 00000000..3f999fc8
Binary files /dev/null and b/Maven/my-app/target/site/images/external.png differ
diff --git a/Maven/my-app/target/site/images/icon_error_sml.gif b/Maven/my-app/target/site/images/icon_error_sml.gif
new file mode 100644
index 00000000..61132ef2
Binary files /dev/null and b/Maven/my-app/target/site/images/icon_error_sml.gif differ
diff --git a/Maven/my-app/target/site/images/icon_info_sml.gif b/Maven/my-app/target/site/images/icon_info_sml.gif
new file mode 100644
index 00000000..c6cb9ad7
Binary files /dev/null and b/Maven/my-app/target/site/images/icon_info_sml.gif differ
diff --git a/Maven/my-app/target/site/images/icon_success_sml.gif b/Maven/my-app/target/site/images/icon_success_sml.gif
new file mode 100644
index 00000000..52e85a43
Binary files /dev/null and b/Maven/my-app/target/site/images/icon_success_sml.gif differ
diff --git a/Maven/my-app/target/site/images/icon_warning_sml.gif b/Maven/my-app/target/site/images/icon_warning_sml.gif
new file mode 100644
index 00000000..873bbb52
Binary files /dev/null and b/Maven/my-app/target/site/images/icon_warning_sml.gif differ
diff --git a/Maven/my-app/target/site/images/logos/build-by-maven-black.png b/Maven/my-app/target/site/images/logos/build-by-maven-black.png
new file mode 100644
index 00000000..919fd0f6
Binary files /dev/null and b/Maven/my-app/target/site/images/logos/build-by-maven-black.png differ
diff --git a/Maven/my-app/target/site/images/logos/build-by-maven-white.png b/Maven/my-app/target/site/images/logos/build-by-maven-white.png
new file mode 100644
index 00000000..7d44c9c2
Binary files /dev/null and b/Maven/my-app/target/site/images/logos/build-by-maven-white.png differ
diff --git a/Maven/my-app/target/site/images/logos/maven-feather.png b/Maven/my-app/target/site/images/logos/maven-feather.png
new file mode 100644
index 00000000..b5ada836
Binary files /dev/null and b/Maven/my-app/target/site/images/logos/maven-feather.png differ
diff --git a/Maven/my-app/target/site/images/newwindow.png b/Maven/my-app/target/site/images/newwindow.png
new file mode 100644
index 00000000..6287f72b
Binary files /dev/null and b/Maven/my-app/target/site/images/newwindow.png differ
diff --git a/Maven/my-app/target/site/index.html b/Maven/my-app/target/site/index.html
new file mode 100644
index 00000000..f972d528
--- /dev/null
+++ b/Maven/my-app/target/site/index.html
@@ -0,0 +1,102 @@
+
+
+
+
+
+ my-app - About
+
+
+
+
+
+
+
+
+
+
+
+
+ Last Published: 2015-01-20
+ | Version: 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
Project Documentation
+
+
+
+
+
+
+
+
+
+
+
+
About my-app
+
There is currently no description associated with this project.
+
+
+
+
+
+
+
+
diff --git a/Maven/my-app/target/site/plugin-management.html b/Maven/my-app/target/site/plugin-management.html
new file mode 100644
index 00000000..5d4e29de
--- /dev/null
+++ b/Maven/my-app/target/site/plugin-management.html
@@ -0,0 +1,122 @@
+
+
+
+
+
+ my-app - Project Plugin Management
+
+
+
+
+
+
+
+
+
+
+
+
+ Last Published: 2015-01-20
+ | Version: 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
Project Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Maven/my-app/target/site/plugins.html b/Maven/my-app/target/site/plugins.html
new file mode 100644
index 00000000..06aef6a2
--- /dev/null
+++ b/Maven/my-app/target/site/plugins.html
@@ -0,0 +1,141 @@
+
+
+
+
+
+ my-app - Project Build Plugins
+
+
+
+
+
+
+
+
+
+
+
+
+ Last Published: 2015-01-20
+ | Version: 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
Project Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
Project Report Plugins
+
There are no plugins reports defined in the Reporting part of this project.
+
+
+
+
+
+
+
+
diff --git a/Maven/my-app/target/site/project-info.html b/Maven/my-app/target/site/project-info.html
new file mode 100644
index 00000000..4953f0a1
--- /dev/null
+++ b/Maven/my-app/target/site/project-info.html
@@ -0,0 +1,129 @@
+
+
+
+
+
+ my-app - Project Information
+
+
+
+
+
+
+
+
+
+
+
+
+ Last Published: 2015-01-20
+ | Version: 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
Project Documentation
+
+
+ Project Information
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Project Information
+
This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.
+
+
Overview
+
+
+Document
+Description
+
+Dependencies
+This document lists the project's dependencies and provides information on each dependency.
+
+Dependency Convergence
+This document presents the convergence of dependency versions across the entire project, and its sub modules.
+
+Dependency Information
+This document describes how to to include this project as a dependency using various dependency management tools.
+
+About
+There is currently no description associated with this project.
+
+Plugin Management
+This document lists the plugins that are defined through pluginManagement.
+
+Project Plugins
+This document lists the build plugins and the report plugins used by this project.
+
+Project Summary
+This document lists other related information of this project
+
+
+
+
+
+
+
+
diff --git a/Maven/my-app/target/site/project-summary.html b/Maven/my-app/target/site/project-summary.html
new file mode 100644
index 00000000..7d2a1823
--- /dev/null
+++ b/Maven/my-app/target/site/project-summary.html
@@ -0,0 +1,140 @@
+
+
+
+
+
+ my-app - Project Summary
+
+
+
+
+
+
+
+
+
+
+
+
+ Last Published: 2015-01-20
+ | Version: 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
Project Documentation
+
+
+
+
+
+
+
+
+
+
+
+
Project Summary
+
+
+
Project Organization
+
This project does not belong to an organization.
+
+
Build Information
+
+
+Field
+Value
+
+GroupId
+com.mycompany.app
+
+ArtifactId
+my-app
+
+Version
+1.0-SNAPSHOT
+
+Type
+jar
+
+Java Version
+-
+
+
+
+
+
+
+
+
diff --git a/Maven/my-app/target/surefire-reports/TEST-com.mycompany.app.AppTest.xml b/Maven/my-app/target/surefire-reports/TEST-com.mycompany.app.AppTest.xml
new file mode 100644
index 00000000..b22bd08d
--- /dev/null
+++ b/Maven/my-app/target/surefire-reports/TEST-com.mycompany.app.AppTest.xml
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Maven/my-app/target/surefire-reports/com.mycompany.app.AppTest.txt b/Maven/my-app/target/surefire-reports/com.mycompany.app.AppTest.txt
new file mode 100644
index 00000000..a7148d8a
--- /dev/null
+++ b/Maven/my-app/target/surefire-reports/com.mycompany.app.AppTest.txt
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------------------
+Test set: com.mycompany.app.AppTest
+-------------------------------------------------------------------------------
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
diff --git a/Maven/my-webapp/.classpath b/Maven/my-webapp/.classpath
new file mode 100644
index 00000000..98dac318
--- /dev/null
+++ b/Maven/my-webapp/.classpath
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Maven/my-webapp/.metadata/.lock b/Maven/my-webapp/.metadata/.lock
new file mode 100644
index 00000000..e69de29b
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.ant.ui/dialog_settings.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.ant.ui/dialog_settings.xml
new file mode 100644
index 00000000..5ca0b776
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.ant.ui/dialog_settings.xml
@@ -0,0 +1,3 @@
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
new file mode 100644
index 00000000..25cb955b
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index
new file mode 100644
index 00000000..10c75e38
Binary files /dev/null and b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index differ
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
new file mode 100644
index 00000000..6b2aaa76
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/2.tree b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/2.tree
new file mode 100644
index 00000000..8a1fc9ec
Binary files /dev/null and b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.root/2.tree differ
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
new file mode 100644
index 00000000..575ed9b9
Binary files /dev/null and b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources differ
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ant.ui.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ant.ui.prefs
new file mode 100644
index 00000000..565f933d
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ant.ui.prefs
@@ -0,0 +1,3 @@
+eclipse.preferences.version=1
+useAnnotationsPrefPage=true
+useQuickDiffPrefPage=true
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 00000000..dffc6b51
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+version=1
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000..52ff4730
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,14 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.classpathVariable.ECLIPSE_HOME=/usr/share/eclipse/
+org.eclipse.jdt.core.classpathVariable.JRE_LIB=/usr/lib/jvm/java-7-jdk/jre/lib/rt.jar
+org.eclipse.jdt.core.classpathVariable.JRE_SRC=/usr/lib/jvm/java-7-jdk/src.zip
+org.eclipse.jdt.core.classpathVariable.JRE_SRCROOT=
+org.eclipse.jdt.core.classpathVariable.JUNIT_HOME=/usr/share/eclipse/plugins/org.junit_4.11.0.v201303080030/
+org.eclipse.jdt.core.classpathVariable.JUNIT_SRC_HOME=/usr/share/eclipse/plugins/org.junit.source_4.11.0.v201303080030.jar
+org.eclipse.jdt.core.classpathVariable.M2_REPO=/home/meli/.m2
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.launching.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.launching.prefs
new file mode 100644
index 00000000..695f88c0
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.launching.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.launching.PREF_VM_XML=\n\n\n \n \n \n
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 00000000..650c36b0
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,13 @@
+content_assist_proposals_background=255,255,255
+content_assist_proposals_foreground=49,55,57
+eclipse.preferences.version=1
+fontPropagated=true
+org.eclipse.jdt.ui.editor.tab.width=
+org.eclipse.jdt.ui.formatterprofiles.version=12
+org.eclipse.jdt.ui.javadoclocations.migrated=true
+org.eclipse.jface.textfont=1|Monospace|10.0|0|GTK|1|;
+proposalOrderMigrated=true
+spelling_locale_initialized=true
+tabWidthPropagated=true
+useAnnotationsPrefPage=true
+useQuickDiffPrefPage=true
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.pde.api.tools.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.pde.api.tools.prefs
new file mode 100644
index 00000000..d2ed6037
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.pde.api.tools.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+knownEEFragments=
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.pde.core.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.pde.core.prefs
new file mode 100644
index 00000000..adbe93e1
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.pde.core.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+workspace_target_handle=local\:1421858174878.target
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs
new file mode 100644
index 00000000..27a08ad4
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs
@@ -0,0 +1,2 @@
+browsers=\n\n \n \n
+eclipse.preferences.version=1
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
new file mode 100644
index 00000000..61f3bb8b
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+overviewRuler_migration=migrated_3.1
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
new file mode 100644
index 00000000..8e2f463c
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
@@ -0,0 +1,5 @@
+PROBLEMS_FILTERS_MIGRATE=true
+eclipse.preferences.version=1
+platformState=1413759378246
+quickStart=false
+tipsAndTricks=true
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
new file mode 100644
index 00000000..08076f23
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+showIntro=false
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/Maven/my-webapp/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
new file mode 100644
index 00000000..3b192c97
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
@@ -0,0 +1,1701 @@
+
+
+
+ activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration
+ ModelMigrationProcessor.001
+
+
+
+
+
+ topLevel
+
+
+
+
+ persp.actionSet:org.eclipse.ui.cheatsheets.actionSet
+ persp.actionSet:org.eclipse.search.searchActionSet
+ persp.actionSet:org.eclipse.ui.edit.text.actionSet.annotationNavigation
+ persp.actionSet:org.eclipse.ui.edit.text.actionSet.navigation
+ persp.actionSet:org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo
+ persp.actionSet:org.eclipse.ui.externaltools.ExternalToolsSet
+ persp.actionSet:org.eclipse.ui.actionSet.keyBindings
+ persp.actionSet:org.eclipse.ui.actionSet.openFiles
+ persp.actionSet:org.eclipse.debug.ui.launchActionSet
+ persp.actionSet:org.eclipse.jdt.ui.JavaActionSet
+ persp.actionSet:org.eclipse.jdt.ui.JavaElementCreationActionSet
+ persp.actionSet:org.eclipse.ui.NavigateActionSet
+ persp.viewSC:org.eclipse.jdt.ui.PackageExplorer
+ persp.viewSC:org.eclipse.jdt.ui.TypeHierarchy
+ persp.viewSC:org.eclipse.jdt.ui.SourceView
+ persp.viewSC:org.eclipse.jdt.ui.JavadocView
+ persp.viewSC:org.eclipse.search.ui.views.SearchView
+ persp.viewSC:org.eclipse.ui.console.ConsoleView
+ persp.viewSC:org.eclipse.ui.views.ContentOutline
+ persp.viewSC:org.eclipse.ui.views.ProblemView
+ persp.viewSC:org.eclipse.ui.views.ResourceNavigator
+ persp.viewSC:org.eclipse.ui.views.TaskList
+ persp.viewSC:org.eclipse.ui.views.ProgressView
+ persp.viewSC:org.eclipse.ui.navigator.ProjectExplorer
+ persp.viewSC:org.eclipse.ui.texteditor.TemplatesView
+ persp.viewSC:org.eclipse.pde.runtime.LogView
+ persp.newWizSC:org.eclipse.jdt.ui.wizards.JavaProjectWizard
+ persp.newWizSC:org.eclipse.jdt.ui.wizards.NewPackageCreationWizard
+ persp.newWizSC:org.eclipse.jdt.ui.wizards.NewClassCreationWizard
+ persp.newWizSC:org.eclipse.jdt.ui.wizards.NewInterfaceCreationWizard
+ persp.newWizSC:org.eclipse.jdt.ui.wizards.NewEnumCreationWizard
+ persp.newWizSC:org.eclipse.jdt.ui.wizards.NewAnnotationCreationWizard
+ persp.newWizSC:org.eclipse.jdt.ui.wizards.NewSourceFolderCreationWizard
+ persp.newWizSC:org.eclipse.jdt.ui.wizards.NewSnippetFileCreationWizard
+ persp.newWizSC:org.eclipse.jdt.ui.wizards.NewJavaWorkingSetWizard
+ persp.newWizSC:org.eclipse.ui.wizards.new.folder
+ persp.newWizSC:org.eclipse.ui.wizards.new.file
+ persp.newWizSC:org.eclipse.ui.editors.wizards.UntitledTextFileWizard
+ persp.perspSC:org.eclipse.jdt.ui.JavaBrowsingPerspective
+ persp.perspSC:org.eclipse.debug.ui.DebugPerspective
+ persp.viewSC:org.eclipse.ant.ui.views.AntView
+ persp.showIn:org.eclipse.egit.ui.RepositoriesView
+ persp.actionSet:org.eclipse.debug.ui.breakpointActionSet
+ persp.actionSet:org.eclipse.jdt.debug.ui.JDTDebugActionSet
+ persp.newWizSC:org.eclipse.jdt.junit.wizards.NewTestCaseCreationWizard
+ persp.actionSet:org.eclipse.jdt.junit.JUnitActionSet
+ persp.showIn:org.eclipse.jdt.ui.PackageExplorer
+ persp.showIn:org.eclipse.team.ui.GenericHistoryView
+ persp.showIn:org.eclipse.ui.views.ResourceNavigator
+ persp.showIn:org.eclipse.ui.navigator.ProjectExplorer
+
+
+
+ newtablook
+ org.eclipse.e4.primaryNavigationStack
+ active
+ noFocus
+
+
+
+
+
+
+
+ newtablook
+
+
+
+
+
+
+
+ newtablook
+ org.eclipse.e4.secondaryNavigationStack
+
+
+
+
+
+
+ newtablook
+ org.eclipse.e4.secondaryDataStack
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View
+ categoryTag:Help
+
+
+ View
+ categoryTag:General
+
+ ViewMenu
+ menuContribution:menu
+
+
+
+
+ View
+ categoryTag:Help
+
+
+
+ newtablook
+ org.eclipse.e4.primaryDataStack
+ EditorStack
+
+
+
+
+ View
+ categoryTag:Java
+ active
+ activeOnClose
+
+ ViewMenu
+ menuContribution:menu
+
+
+
+
+ View
+ categoryTag:Java
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+
+ View
+ categoryTag:General
+
+ ViewMenu
+ menuContribution:menu
+
+
+
+
+ View
+ categoryTag:Java
+
+
+ View
+ categoryTag:Java
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+
+ View
+ categoryTag:General
+
+ ViewMenu
+ menuContribution:menu
+
+
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:Ant
+
+
+ View
+ categoryTag:Git
+
+
+ View
+ categoryTag:Java
+
+
+
+ toolbarSeparator
+
+
+
+ Draggable
+
+
+
+ toolbarSeparator
+
+
+
+ Draggable
+
+
+ Draggable
+
+
+ Draggable
+
+
+ toolbarSeparator
+
+
+
+ Draggable
+
+
+
+ toolbarSeparator
+
+
+
+ toolbarSeparator
+
+
+
+ Draggable
+
+
+ stretch
+ SHOW_RESTORE_MENU
+
+
+ Draggable
+ HIDEABLE
+ SHOW_RESTORE_MENU
+
+
+
+
+ stretch
+
+
+ Draggable
+
+
+ Draggable
+
+
+
+
+ TrimStack
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ platform:gtk
+
+
+
+ platform:gtk
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Editor
+
+
+ View
+ categoryTag:Ant
+
+
+ View
+ categoryTag:Debug
+
+
+ View
+ categoryTag:Debug
+
+
+ View
+ categoryTag:Debug
+
+
+ View
+ categoryTag:Debug
+
+
+ View
+ categoryTag:Debug
+
+
+ View
+ categoryTag:Debug
+
+
+ View
+ categoryTag:Debug
+
+
+ View
+ categoryTag:Git
+
+
+ View
+ categoryTag:Git
+
+
+ View
+ categoryTag:Git
+
+
+ View
+ categoryTag:Git
+
+
+ View
+ categoryTag:Git
+
+
+ View
+ categoryTag:Help
+
+
+ View
+ categoryTag:Debug
+
+
+ View
+ categoryTag:Java
+
+
+ View
+ categoryTag:Java
+
+
+ View
+ categoryTag:Java
+
+
+ View
+ categoryTag:Java Browsing
+
+
+ View
+ categoryTag:Java Browsing
+
+
+ View
+ categoryTag:Java Browsing
+
+
+ View
+ categoryTag:Java Browsing
+
+
+ View
+ categoryTag:Java
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:Java
+
+
+ View
+ categoryTag:Java
+
+
+ View
+ categoryTag:API Tools
+
+
+ View
+ categoryTag:Plug-in Development
+
+
+ View
+ categoryTag:Plug-in Development
+
+
+ View
+ categoryTag:Plug-in Development
+
+
+ View
+ categoryTag:Plug-in Development
+
+
+ View
+ categoryTag:Plug-in Development
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:CVS
+
+
+ View
+ categoryTag:CVS
+
+
+ View
+ categoryTag:Team
+
+
+ View
+ categoryTag:Team
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:Help
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+ View
+ categoryTag:General
+
+
+
+ glue
+ move_after:PerspectiveSpacer
+ SHOW_RESTORE_MENU
+
+
+ move_after:Spacer Glue
+ HIDEABLE
+ SHOW_RESTORE_MENU
+
+
+ glue
+ move_after:SearchField
+ SHOW_RESTORE_MENU
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache
new file mode 100644
index 00000000..593f4708
Binary files /dev/null and b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache differ
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache
new file mode 100644
index 00000000..593f4708
Binary files /dev/null and b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache differ
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache
new file mode 100644
index 00000000..593f4708
Binary files /dev/null and b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache differ
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache
new file mode 100644
index 00000000..593f4708
Binary files /dev/null and b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache differ
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
new file mode 100644
index 00000000..1a3229e3
Binary files /dev/null and b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat differ
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.launching/.install.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.launching/.install.xml
new file mode 100644
index 00000000..5bc60fa1
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.launching/.install.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.launching/libraryInfos.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.launching/libraryInfos.xml
new file mode 100644
index 00000000..ade4ba3c
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.launching/libraryInfos.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml
new file mode 100644
index 00000000..a4ee3cbc
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml
@@ -0,0 +1,2 @@
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
new file mode 100644
index 00000000..9e390f50
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
@@ -0,0 +1,2 @@
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
new file mode 100644
index 00000000..fdb4217e
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
@@ -0,0 +1,11 @@
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.pde.api.tools.ui/dialog_settings.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.pde.api.tools.ui/dialog_settings.xml
new file mode 100644
index 00000000..3cf26322
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.pde.api.tools.ui/dialog_settings.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties b/Maven/my-webapp/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties
new file mode 100644
index 00000000..fb36ac90
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties
@@ -0,0 +1,2 @@
+#Cached timestamps
+#Wed Jan 21 16:40:32 GMT 2015
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.pde.core/.local_targets/1421858174878.target b/Maven/my-webapp/.metadata/.plugins/org.eclipse.pde.core/.local_targets/1421858174878.target
new file mode 100644
index 00000000..e2bb8abf
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.pde.core/.local_targets/1421858174878.target
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+linux
+gtk
+x86_64
+es_AR
+
+
+-Dosgi.requiredJavaVersion=1.7 -XX:MaxPermSize=256m -Xms40m -Xmx512m
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml
new file mode 100644
index 00000000..50f1edb3
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml
@@ -0,0 +1,5 @@
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
new file mode 100644
index 00000000..665660d8
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
@@ -0,0 +1,21 @@
+
+
diff --git a/Maven/my-webapp/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/Maven/my-webapp/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
new file mode 100644
index 00000000..e5f5ea64
--- /dev/null
+++ b/Maven/my-webapp/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/Maven/my-webapp/.metadata/version.ini b/Maven/my-webapp/.metadata/version.ini
new file mode 100644
index 00000000..8d946089
--- /dev/null
+++ b/Maven/my-webapp/.metadata/version.ini
@@ -0,0 +1,3 @@
+#Wed Jan 21 16:35:49 GMT 2015
+org.eclipse.core.runtime=2
+org.eclipse.platform=4.4.0.v20140925-0400
diff --git a/Maven/my-webapp/.project b/Maven/my-webapp/.project
new file mode 100644
index 00000000..17690345
--- /dev/null
+++ b/Maven/my-webapp/.project
@@ -0,0 +1,14 @@
+
+
+ my-webapp
+ NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
\ No newline at end of file
diff --git a/Maven/my-webapp/pom.xml b/Maven/my-webapp/pom.xml
new file mode 100644
index 00000000..b6e7f8aa
--- /dev/null
+++ b/Maven/my-webapp/pom.xml
@@ -0,0 +1,35 @@
+
+ 4.0.0
+ com.mycompany.app
+ my-webapp
+ war
+ 1.0-SNAPSHOT
+ my-webapp Maven Webapp
+ http://maven.apache.org
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+ com.mycompany.app
+ my-app
+ 1.0-SNAPSHOT
+
+
+
+ my-webapp
+
+
+ org.mortbay.jetty
+ maven-jetty-plugin
+
+ 3
+
+
+
+
+
diff --git a/Maven/my-webapp/src/main/webapp/WEB-INF/web.xml b/Maven/my-webapp/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 00000000..9f88c1f9
--- /dev/null
+++ b/Maven/my-webapp/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,7 @@
+
+
+
+ Archetype Created Web Application
+
diff --git a/Maven/my-webapp/src/main/webapp/index.jsp b/Maven/my-webapp/src/main/webapp/index.jsp
new file mode 100644
index 00000000..c38169bb
--- /dev/null
+++ b/Maven/my-webapp/src/main/webapp/index.jsp
@@ -0,0 +1,5 @@
+
+
+Hello World!
+
+
diff --git a/Maven/my-webapp/target/maven-archiver/pom.properties b/Maven/my-webapp/target/maven-archiver/pom.properties
new file mode 100644
index 00000000..1f13e562
--- /dev/null
+++ b/Maven/my-webapp/target/maven-archiver/pom.properties
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Wed Jan 21 22:26:14 GMT 2015
+version=1.0-SNAPSHOT
+groupId=com.mycompany.app
+artifactId=my-webapp
diff --git a/Maven/my-webapp/target/my-webapp/WEB-INF/web.xml b/Maven/my-webapp/target/my-webapp/WEB-INF/web.xml
new file mode 100644
index 00000000..9f88c1f9
--- /dev/null
+++ b/Maven/my-webapp/target/my-webapp/WEB-INF/web.xml
@@ -0,0 +1,7 @@
+
+
+
+ Archetype Created Web Application
+
diff --git a/Maven/my-webapp/target/my-webapp/index.jsp b/Maven/my-webapp/target/my-webapp/index.jsp
new file mode 100644
index 00000000..c38169bb
--- /dev/null
+++ b/Maven/my-webapp/target/my-webapp/index.jsp
@@ -0,0 +1,5 @@
+
+
+Hello World!
+
+
diff --git a/Maven/pom.xml b/Maven/pom.xml
new file mode 100644
index 00000000..93767fe6
--- /dev/null
+++ b/Maven/pom.xml
@@ -0,0 +1,17 @@
+
+ 4.0.0
+
+ com.mycompany.app
+ app
+ 1.0-SNAPSHOT
+ pom
+
+
+ my-app
+ my-webapp
+
+
+
diff --git a/Topic1/.classpath b/Topic1/.classpath
new file mode 100644
index 00000000..fb565a58
--- /dev/null
+++ b/Topic1/.classpath
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Topic1/.project b/Topic1/.project
new file mode 100644
index 00000000..eba98737
--- /dev/null
+++ b/Topic1/.project
@@ -0,0 +1,17 @@
+
+
+ Topic1
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/Topic1/.settings/org.eclipse.jdt.core.prefs b/Topic1/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000..7341ab16
--- /dev/null
+++ b/Topic1/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/Topic1/src/Client.java b/Topic1/src/Client.java
new file mode 100644
index 00000000..64ec00c7
--- /dev/null
+++ b/Topic1/src/Client.java
@@ -0,0 +1,88 @@
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+* @author Melina
+* @version 1.0
+*/
+
+public class Client {
+ private String name;
+ private int creditNumber;
+ private String email;
+ private String pass;
+
+ private List carts;
+
+ public Client(String name, int creditNumber, String email, String pass) {
+ this.name=name;
+ this.creditNumber=creditNumber;
+ this.email=email;
+ this.pass=pass;
+ carts=new ArrayList();
+ }
+
+ //make the payment transaction
+ public void payment(int c) {
+ System.out.println("Payment transaction ");
+ carts.get(c).payCart();;
+ }
+
+ public String showCart(String idCart) {
+ for (ShoppingCart cart: carts){
+ if (idCart.equals(cart.getIdCart())){
+ return cart.showProducts();
+ }
+ }
+ return null;
+ }
+
+ public void addToCart(int c,IOffer p) {
+ carts.get(c).addProduct(p);
+ }
+
+ public void removeFromCart(int c,IOffer p){
+ carts.get(c).removeProduct(p);
+ }
+
+ public int getCreditNumber() {
+ return creditNumber;
+ }
+
+ public void setCreditNumber(int creditNumber) {
+ this.creditNumber = creditNumber;
+ }
+
+ public String getPass() {
+ return pass;
+ }
+
+ public void setPass(String pass) {
+ this.pass = pass;
+ }
+
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public ShoppingCart getCart(int i) {
+ return carts.get(i);
+ }
+
+ public void addCart(ShoppingCart cart) {
+ carts.add(cart);
+ }
+
+}
diff --git a/Topic1/src/DemoShopping.java b/Topic1/src/DemoShopping.java
new file mode 100644
index 00000000..e6f9ab44
--- /dev/null
+++ b/Topic1/src/DemoShopping.java
@@ -0,0 +1,17 @@
+
+public class DemoShopping {
+
+ public static void main(String[] args) {
+ Sequence counter = Sequence.getInstance();
+ MarketManager market;
+ Client cliente1= new Client("cliente", 235, "", "");
+
+ DiscountPolicy discountCreditCard = new DiscountSimple(10);
+ IPayStrategy strategyCreditCard = new PayStrategyCreditCard(cliente1.getName(), cliente1.getCreditNumber(),discountCreditCard);
+
+ cliente1.addCart(null);
+
+
+ }
+
+}
diff --git a/Topic1/src/DiscountCheapest.java b/Topic1/src/DiscountCheapest.java
new file mode 100644
index 00000000..d0cd2241
--- /dev/null
+++ b/Topic1/src/DiscountCheapest.java
@@ -0,0 +1,20 @@
+/**
+* @author Melina
+* @version 1.0 Strategy Pattern
+*/
+
+public class DiscountCheapest implements DiscountPolicy{
+ private int percentaje;
+
+ public DiscountCheapest(int percentaje) {
+ this.percentaje=percentaje;
+ }
+
+ @Override
+ public double applyDiscount(ShoppingCart cart) {
+ System.out.println("apply discount " + percentaje + "% to the cheapest item.");
+ double cost = cart.mostCheapestItem().getCost();
+ return cart.getTotalCost() - (cost * percentaje / 100);
+ }
+
+}
diff --git a/Topic1/src/DiscountMoreExpensive.java b/Topic1/src/DiscountMoreExpensive.java
new file mode 100644
index 00000000..1fd37828
--- /dev/null
+++ b/Topic1/src/DiscountMoreExpensive.java
@@ -0,0 +1,20 @@
+/**
+* @author Melina
+* @version 1.0 Strategy Pattern
+*/
+
+public class DiscountMoreExpensive implements DiscountPolicy{
+ private int percentaje;
+
+ public DiscountMoreExpensive(int percentaje) {
+ this.percentaje=percentaje;
+ }
+
+ @Override
+ public double applyDiscount(ShoppingCart cart) {
+ System.out.println("apply discount " + percentaje + "% to the more expensive item.");
+ double cost = cart.mostExpensiveItem().getCost();
+ return cart.getTotalCost() - (cost * percentaje / 100);
+ }
+
+}
diff --git a/Topic1/src/DiscountPolicy.java b/Topic1/src/DiscountPolicy.java
new file mode 100644
index 00000000..ecf7beed
--- /dev/null
+++ b/Topic1/src/DiscountPolicy.java
@@ -0,0 +1,8 @@
+/**
+* @author Melina
+* @version 1.0 Strategy Pattern
+*/
+
+public interface DiscountPolicy {
+ public double applyDiscount(ShoppingCart cart);
+}
diff --git a/Topic1/src/DiscountSimple.java b/Topic1/src/DiscountSimple.java
new file mode 100644
index 00000000..91e5fcf4
--- /dev/null
+++ b/Topic1/src/DiscountSimple.java
@@ -0,0 +1,20 @@
+/**
+* @author Melina
+* @version 1.0 Strategy Pattern
+*/
+
+public class DiscountSimple implements DiscountPolicy{
+ private int percentaje;
+
+ public DiscountSimple(int percentaje) {
+ this.percentaje=percentaje;
+ }
+
+ @Override
+ public double applyDiscount(ShoppingCart cart) {
+ System.out.println("apply discount " + percentaje + "%.");
+ double amount = cart.getTotalCost();
+ return amount - (amount * percentaje / 100);
+ }
+
+}
diff --git a/Topic1/src/IOffer.java b/Topic1/src/IOffer.java
new file mode 100644
index 00000000..88f06e5a
--- /dev/null
+++ b/Topic1/src/IOffer.java
@@ -0,0 +1,15 @@
+/**
+* @author Melina
+* @version 1.0 Composite Pattern
+*/
+
+public interface IOffer{
+ public String getName();
+
+ public String showOffer();
+
+ public double getCost();
+
+ public void setCost(double price);
+
+}
diff --git a/Topic1/src/IPayStrategy.java b/Topic1/src/IPayStrategy.java
new file mode 100644
index 00000000..16c2a6e2
--- /dev/null
+++ b/Topic1/src/IPayStrategy.java
@@ -0,0 +1,8 @@
+/**
+* @author Melina
+* @version 1.0 Strategy Pattern
+*/
+
+public interface IPayStrategy {
+ public double pay(ShoppingCart cart);
+}
diff --git a/Topic1/src/Item.java b/Topic1/src/Item.java
new file mode 100644
index 00000000..4c7f060d
--- /dev/null
+++ b/Topic1/src/Item.java
@@ -0,0 +1,65 @@
+/**
+* @author Melina
+* @version 1.0 Strategy Pattern
+*/
+
+import java.util.Hashtable;
+import java.util.Map;
+
+
+public class Item implements IOffer{
+
+ private String name;
+ private double cost;
+ private int amount;
+ private Map feature = new Hashtable();
+
+ public Item(String name, double cost){
+ this.name=name;
+ this.cost=cost;
+ }
+
+ public int getAmount() {
+ return amount;
+ }
+
+ public void setAmount(int s){
+ this.amount = s;
+ }
+
+ public Map getFeature() {
+ return feature;
+ }
+
+ public void setFeature(Map feature) {
+ this.feature = feature;
+ }
+
+ public void addFeature(String s, Object o){
+ feature.put(s, o);
+ }
+
+ public void removeFeature(String s){
+ feature.remove(s);
+ }
+
+ public String showOffer() {
+ return ("Item " + this.getName() + ".....$" + Double.toString(cost));
+ }
+
+ public double getCost() {
+ return cost;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public void setCost(double cost) {
+ this.cost = cost;
+ }
+}
diff --git a/Topic1/src/MarketManager.java b/Topic1/src/MarketManager.java
new file mode 100644
index 00000000..acf03a23
--- /dev/null
+++ b/Topic1/src/MarketManager.java
@@ -0,0 +1,45 @@
+/**
+* @author Melina
+* @version 1.0 Observer Pattern
+*/
+
+import java.util.ArrayList;
+import java.util.List;
+
+
+public class MarketManager implements Observer{
+ private static MarketManager instance = null;
+
+ private List products = new ArrayList();
+ private List notice = new ArrayList();
+
+ private MarketManager() {
+
+ }
+
+ public List getProducts() {
+ return products;
+ }
+
+ public void addProduct(IOffer product) {
+ this.products.add(product);
+ }
+
+ public void removeProduct(IOffer product) {
+ this.products.remove(product);
+ }
+
+ @Override
+ public void update(String g) {
+ notice.add(g);
+ }
+
+ public static MarketManager getInstance() {
+ if(instance==null) {
+ instance = new MarketManager();
+ }
+ return instance;
+ }
+
+
+}
diff --git a/Topic1/src/Observer.java b/Topic1/src/Observer.java
new file mode 100644
index 00000000..e8c0bfdb
--- /dev/null
+++ b/Topic1/src/Observer.java
@@ -0,0 +1,8 @@
+/**
+* @author Melina
+* @version 1.0 Observer Pattern
+*/
+
+public interface Observer {
+ public void update(String g);
+}
diff --git a/Topic1/src/Offer.java b/Topic1/src/Offer.java
new file mode 100644
index 00000000..af0fba72
--- /dev/null
+++ b/Topic1/src/Offer.java
@@ -0,0 +1,62 @@
+/**
+* @author Melina
+* @version 1.0 Composite Pattern
+*/
+
+import java.util.ArrayList;
+import java.util.List;
+
+
+public class Offer implements IOffer{
+ private String name;
+ private double cost;
+ private List offers = new ArrayList();
+
+ public Offer(String name, double cost){
+ this.name=name;
+ this.cost=cost;
+ }
+
+ public void addOffers(IOffer offer) {
+ this.offers.add(offer);
+ }
+
+ public void removeOffers(IOffer offer) {
+ this.offers.remove(offer);
+ }
+
+ public double getRealCost() {
+ double price=0;
+ for (IOffer p: offers){
+ price += p.getCost();
+ }
+ return price;
+ }
+
+ @Override
+ public String showOffer() {
+ String offer = "Offer " + this.getName() + ".....$" + Double.toString(cost);
+ String subOffers=null;
+ for (IOffer p: offers){
+ subOffers += "Item" + p.getName() + ".....$" + Double.toString(p.getCost());
+ }
+ return offer + subOffers;
+ }
+
+ public double getCost() {
+ return cost;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public void setCost(double cost) {
+ this.cost = cost;
+ }
+
+}
diff --git a/Topic1/src/PayStrategyCash.java b/Topic1/src/PayStrategyCash.java
new file mode 100644
index 00000000..e0ff7fd0
--- /dev/null
+++ b/Topic1/src/PayStrategyCash.java
@@ -0,0 +1,20 @@
+/**
+* @author Melina
+* @version 1.0 Strategy Pattern
+*/
+
+public class PayStrategyCash implements IPayStrategy{
+ private DiscountMoreExpensive discount;
+
+ public PayStrategyCash(DiscountPolicy discount) {
+ this.discount=(DiscountMoreExpensive) discount;
+ }
+
+ @Override
+ public double pay(ShoppingCart cart) {
+ double d=discount.applyDiscount(cart);
+ System.out.println("pay in Cash the corresponding amount: " + d);
+ return d;
+ }
+
+}
diff --git a/Topic1/src/PayStrategyCreditCard.java b/Topic1/src/PayStrategyCreditCard.java
new file mode 100644
index 00000000..044485e7
--- /dev/null
+++ b/Topic1/src/PayStrategyCreditCard.java
@@ -0,0 +1,41 @@
+/**
+* @author Melina
+* @version 1.0 Strategy Pattern
+*/
+
+public class PayStrategyCreditCard implements IPayStrategy{
+ private String name;
+ private int creditNumber;
+
+ private DiscountSimple discount;
+
+ public PayStrategyCreditCard(String name, int creditNumber,DiscountPolicy discountCreditCard) {
+ this.setName(name);
+ this.setCreditNumber(creditNumber);
+ this.discount=(DiscountSimple) discountCreditCard;
+ }
+
+ @Override
+ public double pay(ShoppingCart cart) {
+ double d=discount.applyDiscount(cart);
+ System.out.println("pay by Credit Card the corresponding amount: " + d);
+ return d;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getCreditNumber() {
+ return creditNumber;
+ }
+
+ public void setCreditNumber(int creditNumber) {
+ this.creditNumber = creditNumber;
+ }
+
+}
diff --git a/Topic1/src/PayStrategyPaypal.java b/Topic1/src/PayStrategyPaypal.java
new file mode 100644
index 00000000..54a39038
--- /dev/null
+++ b/Topic1/src/PayStrategyPaypal.java
@@ -0,0 +1,41 @@
+/**
+* @author Melina
+* @version 1.0 Strategy Pattern
+*/
+
+public class PayStrategyPaypal implements IPayStrategy{
+ private String email;
+ private String pass;
+
+ private DiscountCheapest discount;
+
+ public PayStrategyPaypal(String email, String pass,DiscountPolicy discount) {
+ this.setEmail(email);
+ this.setPass(pass);
+ this.discount=(DiscountCheapest) discount;
+ }
+
+ @Override
+ public double pay(ShoppingCart cart) {
+ double d=discount.applyDiscount(cart);
+ System.out.println("pay with Paypal the corresponding amount: " + d);
+ return d;
+ }
+
+ public String getPass() {
+ return pass;
+ }
+
+ public void setPass(String pass) {
+ this.pass = pass;
+ }
+
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+}
diff --git a/Topic1/src/Sequence.java b/Topic1/src/Sequence.java
new file mode 100644
index 00000000..23551a47
--- /dev/null
+++ b/Topic1/src/Sequence.java
@@ -0,0 +1,28 @@
+/**
+* @author Melina
+* @version 1.0 Sinlgeton Pattern
+*/
+
+public class Sequence {
+ private static Sequence instance = null;
+ private static int counter;
+
+ private Sequence(){
+ counter = 0;
+ }
+
+ public static Sequence getInstance(){
+ if(instance==null) {
+ instance = new Sequence();
+ }
+ return instance;
+ }
+
+ public int getNext(){
+ return ++counter;
+ }
+
+ public int getCounter(){
+ return counter;
+ }
+}
diff --git a/Topic1/src/ShoppingCart.java b/Topic1/src/ShoppingCart.java
new file mode 100644
index 00000000..f9f3d264
--- /dev/null
+++ b/Topic1/src/ShoppingCart.java
@@ -0,0 +1,119 @@
+import java.util.ArrayList;
+import java.util.List;
+
+
+public class ShoppingCart implements Subject{
+ private String IdCart;
+ private List items = new ArrayList();
+
+ private IPayStrategy strategy; //Pay Strategy
+
+ private List observers = new ArrayList();
+
+ private Sequence counter = Sequence.getInstance();
+
+ public ShoppingCart(String id){
+ setIdCart(id);
+ addObserver(MarketManager.getInstance()); //add observer
+ }
+
+ public void addProduct(IOffer e){
+ items.add(e);
+ this.notify("new Item/Offer added"); //notify when a new offer is added
+ }
+
+ public void removeProduct(IOffer e){
+ this.items.remove(e);
+ }
+
+ public String showProducts(){
+ String show = null;
+ for (IOffer p: items){
+ show += p.showOffer();
+ }
+ return show;
+ }
+
+ public IPayStrategy getStrategy() {
+ return strategy;
+ }
+
+ public void setStrategy(IPayStrategy strategy) {
+ this.strategy = strategy;
+ }
+
+ public IOffer mostExpensiveItem(){
+ IOffer expensive = null;
+ double cost=0;
+ for (IOffer item: items){
+ if (cost < item.getCost()){
+ expensive=item;
+ cost=item.getCost();
+ }
+ }
+ return expensive;
+
+ }
+
+ public IOffer mostCheapestItem(){
+ IOffer cheapest = null;
+ double cost=items.get(0).getCost();
+ for (IOffer item: items){
+ if (cost > item.getCost()){
+ cheapest=item;
+ cost=item.getCost();
+ }
+ }
+ return cheapest;
+
+ }
+
+ public double getTotalCost(){
+ double cost=0;
+ for (IOffer item: items){
+ double a= item.getCost();
+ cost+=a;
+ }
+ return cost;
+ }
+
+ public void changePriceProduct(double price, IOffer product){
+ product.setCost(price);
+ this.notify("A price has change: " + product.getName() + "new cost: $" + price); //notify when a price changes
+ }
+
+ public void payCart(){
+ int id= counter.getCounter();
+ counter.getNext();
+ double total=strategy.pay(this); //pay and apply discount
+ this.notify("A new transaction was made - ID: " + id + "Total cost: $" + total); //notify when A new transaction was made
+ }
+
+ @Override
+ public void addObserver(Observer o) {
+ observers.add(o);
+ }
+
+ @Override
+ public void removeObserver(Observer o) {
+ observers.remove(o);
+ }
+
+ @Override
+ public void notify(String g) {
+ System.out.println(g);
+ for (Observer o: observers){
+ o.update(g);
+ }
+ }
+
+ public String getIdCart() {
+ return IdCart;
+ }
+
+ public void setIdCart(String idCart) {
+ IdCart = idCart;
+ }
+
+
+}
diff --git a/Topic1/src/Subject.java b/Topic1/src/Subject.java
new file mode 100644
index 00000000..736bbea2
--- /dev/null
+++ b/Topic1/src/Subject.java
@@ -0,0 +1,10 @@
+/**
+* @author Melina
+* @version 1.0 Observer Pattern
+*/
+
+public interface Subject {
+ public void addObserver(Observer o);
+ public void removeObserver(Observer o);
+ public void notify(String g);
+}
diff --git a/Topic1_Audio_Player/.classpath b/Topic1_Audio_Player/.classpath
new file mode 100644
index 00000000..fb565a58
--- /dev/null
+++ b/Topic1_Audio_Player/.classpath
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Topic1_Audio_Player/.project b/Topic1_Audio_Player/.project
new file mode 100644
index 00000000..215ab5ab
--- /dev/null
+++ b/Topic1_Audio_Player/.project
@@ -0,0 +1,17 @@
+
+
+ Topic1_Audio_Player
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/Topic1_Audio_Player/.settings/org.eclipse.jdt.core.prefs b/Topic1_Audio_Player/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000..7341ab16
--- /dev/null
+++ b/Topic1_Audio_Player/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/Topic1_Audio_Player/src/AudioPlayerCommand.java b/Topic1_Audio_Player/src/AudioPlayerCommand.java
new file mode 100644
index 00000000..26689d3a
--- /dev/null
+++ b/Topic1_Audio_Player/src/AudioPlayerCommand.java
@@ -0,0 +1,4 @@
+
+public interface AudioPlayerCommand {
+ public void goNext(Playlist p,String nextstate);
+}
diff --git a/Topic1_Audio_Player/src/PauseState.java b/Topic1_Audio_Player/src/PauseState.java
new file mode 100644
index 00000000..99a86d7d
--- /dev/null
+++ b/Topic1_Audio_Player/src/PauseState.java
@@ -0,0 +1,19 @@
+
+public class PauseState implements AudioPlayerCommand{
+ String current = "pause";
+
+ @Override
+ public void goNext(Playlist p,String nextstate) {
+ if("play".equals(nextstate)){
+ AudioPlayerCommand playstate = new PlayState();
+ p.setState(playstate);
+ System.out.println("Play mode: " + p.getCurrentSong());
+ }
+ else{
+ AudioPlayerCommand stopstate = new StopState();
+ p.setState(stopstate);
+ System.out.println("Stop mode.");
+ }
+ }
+
+}
diff --git a/Topic1_Audio_Player/src/PlayState.java b/Topic1_Audio_Player/src/PlayState.java
new file mode 100644
index 00000000..db42d16b
--- /dev/null
+++ b/Topic1_Audio_Player/src/PlayState.java
@@ -0,0 +1,19 @@
+
+public class PlayState implements AudioPlayerCommand{
+ String current = "play";
+
+ @Override
+ public void goNext(Playlist p,String nextstate) {
+ if("pause".equals(nextstate)){
+ AudioPlayerCommand pausestate = new PauseState();
+ p.setState(pausestate);
+ System.out.println("Pause mode.");
+ }
+ else{
+ AudioPlayerCommand stopstate = new StopState();
+ p.setState(stopstate);
+ System.out.println("Stop mode.");
+ }
+ }
+
+}
diff --git a/Topic1_Audio_Player/src/Playlist.java b/Topic1_Audio_Player/src/Playlist.java
new file mode 100644
index 00000000..86354c61
--- /dev/null
+++ b/Topic1_Audio_Player/src/Playlist.java
@@ -0,0 +1,64 @@
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+
+public class Playlist extends TrackContainer{
+ private AudioPlayerCommand state;
+
+ private List songs= new ArrayList();
+
+ private String currentSong;
+
+ public Playlist(String name) {
+ super(name);
+ }
+
+ public void addTrack(TrackSong track){
+ songs.add(track);
+ }
+
+ public void goNext(String nextstate){
+ state.goNext(this,nextstate);
+ }
+
+ public void setState(AudioPlayerCommand s){
+ this.state=s;
+ }
+
+ public void reproduction() throws InterruptedException{
+ boolean on=true;
+ while (on){
+ boolean onrandom=true;
+ Iterator it = songs.iterator();
+ while (it.hasNext() && on) {
+ TrackSong track = it.next();
+ currentSong=track.getName();
+ while (onrandom){
+ int r= (int) Math.random();
+ if (r<3){
+ goNext("pause");
+ wait(100);
+ }
+ else if (r>7){
+ goNext("stop");
+ wait(100);
+ }
+ else if (r==5){
+ onrandom=false;
+ }
+ else wait(track.getDurationInSec());
+ }
+ int exit= (int) Math.random();
+ if (exit<5) on=false;
+ }
+
+ }
+ System.out.println("End Playing");
+ }
+
+ public String getCurrentSong() {
+ return currentSong;
+ }
+
+}
diff --git a/Topic1_Audio_Player/src/StopState.java b/Topic1_Audio_Player/src/StopState.java
new file mode 100644
index 00000000..6ca9ff2d
--- /dev/null
+++ b/Topic1_Audio_Player/src/StopState.java
@@ -0,0 +1,19 @@
+
+public class StopState implements AudioPlayerCommand{
+ String current = "stop";
+
+ @Override
+ public void goNext(Playlist p,String nextstate) {
+ if("pause".equals(nextstate)){
+ AudioPlayerCommand pausestate = new PauseState();
+ p.setState(pausestate);
+ System.out.println("Pause mode.");
+ }
+ else{
+ AudioPlayerCommand playstate = new PlayState();
+ p.setState(playstate);
+ System.out.println("Play mode: " + p.getCurrentSong());
+ }
+ }
+
+}
diff --git a/Topic1_Audio_Player/src/Strategy.java b/Topic1_Audio_Player/src/Strategy.java
new file mode 100644
index 00000000..6c9b4166
--- /dev/null
+++ b/Topic1_Audio_Player/src/Strategy.java
@@ -0,0 +1,4 @@
+
+public interface Strategy {
+ public void filterSong(Playlist list);
+}
diff --git a/Topic1_Audio_Player/src/TrackContainer.java b/Topic1_Audio_Player/src/TrackContainer.java
new file mode 100644
index 00000000..96829a46
--- /dev/null
+++ b/Topic1_Audio_Player/src/TrackContainer.java
@@ -0,0 +1,42 @@
+import java.util.ArrayList;
+import java.util.List;
+
+
+public class TrackContainer {
+ private String name;
+ protected int totalTimeInSec;
+ protected List songs= new ArrayList();
+
+ public TrackContainer(String name){
+ this.name=name;
+ this.totalTimeInSec=0;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getTotalTimeInSec(){
+ for (TrackSong song: songs){
+ totalTimeInSec+=song.getDurationInSec();
+ }
+ return totalTimeInSec;
+ }
+
+ public void setTotalTimeInSec(int totalTimeInSec) {
+ this.totalTimeInSec = totalTimeInSec;
+ }
+
+ public void addTrack(TrackSong track){
+ songs.add(track);
+ }
+
+ public void removeTrack(TrackSong track){
+ songs.remove(track);
+ }
+
+}
diff --git a/Topic1_Audio_Player/src/TrackSong.java b/Topic1_Audio_Player/src/TrackSong.java
new file mode 100644
index 00000000..34dac3ef
--- /dev/null
+++ b/Topic1_Audio_Player/src/TrackSong.java
@@ -0,0 +1,47 @@
+
+public class TrackSong {
+ private String name;
+ private String author;
+ private int durationInSec;
+ private String album;
+
+ public TrackSong(String name,String author,int durationInSec,String album){
+ this.setName(name);
+ this.setAuthor(author);
+ this.setDurationInSec(durationInSec);
+ this.setAlbum(album);
+ }
+
+ public int getDurationInSec() {
+ return durationInSec;
+ }
+
+ public void setDurationInSec(int durationInSec) {
+ this.durationInSec = durationInSec;
+ }
+
+ public String getAuthor() {
+ return author;
+ }
+
+ public void setAuthor(String author) {
+ this.author = author;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getAlbum() {
+ return album;
+ }
+
+ public void setAlbum(String album) {
+ this.album = album;
+ }
+
+}