Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cursodocker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Diego Convers
cursodocker
Commits
2c274f61
Commit
2c274f61
authored
Feb 03, 2020
by
Diego Convers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parent
01b6cb1f
Pipeline
#20
failed with stages
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
163 additions
and
0 deletions
+163
-0
nb-configuration.xml
nb-configuration.xml
+19
-0
pom.xml
pom.xml
+77
-0
src/main/java/co/com/udistrital/cursodocker/JAXRSConfiguration.java
...ava/co/com/udistrital/cursodocker/JAXRSConfiguration.java
+13
-0
src/main/java/co/com/udistrital/cursodocker/resources/JavaEE8Resource.java
...com/udistrital/cursodocker/resources/JavaEE8Resource.java
+20
-0
src/main/resources/META-INF/persistence.xml
src/main/resources/META-INF/persistence.xml
+7
-0
src/main/webapp/WEB-INF/beans.xml
src/main/webapp/WEB-INF/beans.xml
+6
-0
src/main/webapp/WEB-INF/web.xml
src/main/webapp/WEB-INF/web.xml
+11
-0
src/main/webapp/index.html
src/main/webapp/index.html
+10
-0
No files found.
nb-configuration.xml
0 → 100644
View file @
2c274f61
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties
xmlns=
"http://www.netbeans.org/ns/maven-properties-data/1"
>
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
1.8-web
</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
<org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>
ide
</org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>
</properties>
</project-shared-configuration>
pom.xml
0 → 100644
View file @
2c274f61
<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>
co.com.udistrital
</groupId>
<artifactId>
cursodocker
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<packaging>
war
</packaging>
<name>
cursodocker-1.0-SNAPSHOT
</name>
<properties>
<maven.compiler.source>
1.8
</maven.compiler.source>
<maven.compiler.target>
1.8
</maven.compiler.target>
<endorsed.dir>
${project.build.directory}/endorsed
</endorsed.dir>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<failOnMissingWebXml>
false
</failOnMissingWebXml>
<jakartaee>
8.0
</jakartaee>
</properties>
<dependencies>
<dependency>
<groupId>
javax
</groupId>
<artifactId>
javaee-api
</artifactId>
<version>
${jakartaee}
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.1
</version>
<configuration>
<source>
1.8
</source>
<target>
1.8
</target>
<compilerArguments>
<endorseddirs>
${endorsed.dir}
</endorseddirs>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-war-plugin
</artifactId>
<version>
2.3
</version>
<configuration>
<failOnMissingWebXml>
false
</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-dependency-plugin
</artifactId>
<version>
2.6
</version>
<executions>
<execution>
<phase>
validate
</phase>
<goals>
<goal>
copy
</goal>
</goals>
<configuration>
<outputDirectory>
${endorsed.dir}
</outputDirectory>
<silent>
true
</silent>
<artifactItems>
<artifactItem>
<groupId>
javax
</groupId>
<artifactId>
javaee-api
</artifactId>
<version>
${jakartaee}
</version>
<type>
jar
</type>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
src/main/java/co/com/udistrital/cursodocker/JAXRSConfiguration.java
0 → 100644
View file @
2c274f61
package
co.com.udistrital.cursodocker
;
import
javax.ws.rs.ApplicationPath
;
import
javax.ws.rs.core.Application
;
/**
* Configures JAX-RS for the application.
* @author Juneau
*/
@ApplicationPath
(
"resources"
)
public
class
JAXRSConfiguration
extends
Application
{
}
src/main/java/co/com/udistrital/cursodocker/resources/JavaEE8Resource.java
0 → 100644
View file @
2c274f61
package
co.com.udistrital.cursodocker.resources
;
import
javax.ws.rs.GET
;
import
javax.ws.rs.Path
;
import
javax.ws.rs.core.Response
;
/**
*
* @author
*/
@Path
(
"javaee8"
)
public
class
JavaEE8Resource
{
@GET
public
Response
ping
(){
return
Response
.
ok
(
"ping"
)
.
build
();
}
}
src/main/resources/META-INF/persistence.xml
0 → 100644
View file @
2c274f61
<?xml version="1.0" encoding="UTF-8"?>
<persistence
version=
"2.2"
xmlns=
"http://xmlns.jcp.org/xml/ns/persistence"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd"
>
<!-- Define Persistence Unit -->
<persistence-unit
name=
"my_persistence_unit"
>
</persistence-unit>
</persistence>
src/main/webapp/WEB-INF/beans.xml
0 → 100644
View file @
2c274f61
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd"
bean-discovery-mode=
"all"
>
</beans>
\ No newline at end of file
src/main/webapp/WEB-INF/web.xml
0 → 100644
View file @
2c274f61
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version=
"4.0"
>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
</web-app>
src/main/webapp/index.html
0 → 100644
View file @
2c274f61
<!DOCTYPE html>
<html>
<head>
<title>
Start Page
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
</head>
<body>
<h1>
Hello World!
</h1>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment