This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | |
<attributes> | |
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> | |
<attributes> | |
</classpathentry> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<projectDescription> | |
<name>myproject</name> | |
<buildSpec> | |
<buildCommand> | |
<name>org.eclipse.jdt.core.javabuilder</name> | |
<arguments></arguments> | |
</buildCommand> | |
<buildCommand> | |
<name>org.eclipse.jdt.core.javabuilder</name> | |
<arguments></arguments> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project-modules id="moduleCoreId" project-version="1.5.0"> | |
<wb-module deploy-name="myWebApp"> | |
<wb-resource deploy-path="/" source-path="/src/main/webapp"/> | |
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/> | |
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/> | |
<property name="context-root" value="myCoolWebapp"/> | |
<property name="java-output-path"/> | |
</wb-module> | |
</project-modules> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"> | |
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/> | |
<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="http" secure="true"> | |
<ssl key-alias="foo" password="YOUR_KEYSTORE_PASSWORD" | |
certificate-key-file="YOUR_KEYSTORE_FILE" | |
verify-client="true" | |
ca-certificate-file="YOUR_TRUSTORE_FILE" | |
ca-certificate-password="YOUR_TRUSTORE_PASSWORD" | |
truststore-type="YOUR_TRUSTORE_TYPE"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAVEN_OPTS="-Djavax.net.ssl.keyStore=<YOU KEYSTORE FILE> \ | |
-Djavax.net.ssl.keyStorePassword=<YOUR KEYSTORE PASSWORD> \ | |
-Djavax.net.ssl.keyStoreType=JKS \ | |
-Djavax.net.ssl.trustStore=<YOUR TRUSTSTORE FILE> \ | |
-Djavax.net.ssl.trustStorePassword=<YOUR TRUSTSTORE PASSWORD> \ | |
-Djavax.net.ssl.trustStoreType=JKS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<plugin> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<systemPropertiesVariables> | |
<property> | |
<name>ssl.debug</name> | |
<value>true</value> | |
</property> | |
<property> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
repository_root: "{default.repository.root}/openjdk/{platform}/{architecture}" | |
version: 1.7.0_+ | |
memory_sizes: | |
metaspace: 64m.. | |
permgen: 64m.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
tomcat: | |
version: 7.0.+ | |
repository_root: "{default.repository.root}/tomcat" | |
lifecycle_support: | |
version: 2.+ | |
repository_root: "{default.repository.root}/tomcat-lifecycle-support" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RequestMapping("/{surveyId}") | |
public Survey findSurvey(@PathVariable String surveyId, HttpServletResponse response) { | |
log.info("Querying survey {}", surveyId); | |
Survey survey = repository.get(surveyId); | |
if (survey == null) { | |
log.warn("Survey {} was not found!", surveyId); | |
response.setStatus(404); | |
} | |
return survey; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
lg= log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
#quick look at all repo | |
loggsa = log --color --date-order --graph --oneline --decorate --simplify-by-decoration --all | |
#quick look at active branch (or refs pointed) | |
loggs = log --color --date-order --graph --oneline --decorate --simplify-by-decoration | |
#extend look at all repo | |
logga = log --color --date-order --graph --oneline --decorate --all |
OlderNewer