Skip to content

Instantly share code, notes, and snippets.

View agoncal's full-sized avatar

Antonio Goncalves agoncal

View GitHub Profile
#!/bin/sh
# check for where the latest version of IDEA is installed
IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1`
wd=`pwd`
# were we given a directory?
if [ -d "$1" ]; then
# echo "checking for things in the working dir given"
wd=`ls -1d "$1" | head -n1`
version: '2'
services:
keycloak:
image: jboss/keycloak:4.5.0.Final
environment:
- KEYCLOAK_USER=admin
- KEYCLOAK_PASSWORD=admin
- DB_VENDOR=postgres
- DB_ADDR=postgres
- DB_PORT=5432
@startuml
actor :Anonymous: as actorAnonym
usecase (Browse CD catalog) as ucBrowseCD
usecase (Browse Book catalog) as ucBrowseBook
usecase (Browse DVD catalog) as ucBrowseDVD
actorAnonym --> ucBrowseCD
actorAnonym ---> ucBrowseBook
~/Documents/Code/temp/Forge$ forge -i org.jboss.forge.addon:core:2.0.0-SNAPSHOT
java.lang.RuntimeException: Failed to look up versions for [org.jboss.forge.addon:org.jboss.forge.addon:core:2.0.0-SNAPSHOT]
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.getVersions(MavenAddonDependencyResolver.java:269)
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveVersions(MavenAddonDependencyResolver.java:147)
at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:228)
at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:149)
at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:92)
Caused by: java.lang.IllegalArgumentException: Bad artifact coordinates org.jboss.forge.addon:org.jboss.forge.addon:core:2.0.0-SNAPSHOT:jar:forge-addon:[,), expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>
at org.eclipse.aether.artifact.DefaultArtifact.<init>(DefaultArtifact.java:68)
at org.eclipse.aether.artifact.DefaultArt
~/Documents/Code/github/Forge/core$ ./forge-install.bsh dist/target/forge-distribution-2.0.0-SNAPSHOT.zip
dist/target/forge-distribution-2.0.0-SNAPSHOT.zip
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
chmod: forge: No such file or directory
~/Documents/Code/github/Forge/core$ ./forge-install.bsh
./forge-install.bsh: line 3: 1: Must specify distribution ZIP file to install. Ex: 'forge-install target/forge-distribution-1.0.0-SNAPSHOT.zip
~/Documents/Code/github/Forge/core$ ./forge-install target/forge-distribution-1.0.0-SNAPSHOT.zip
-bash: ./forge-install: No such file or directory
addon-install-from-git --url https://github.com/forge/as-forge-addon
***INFO*** Installing Addon from Git:Removing previous addon installation (org.jboss.forge.addon:as-parent,2.0.0-SNAPSHOT) [3/4] ...
***INFO*** Installing Addon from Git:Installing addon (org.jboss.forge.addon:as-parent,2.0.0-SNAPSHOT) [4/4] ...
***ERROR*** Error while executing 'addon-install-from-git'
***INFO*** (type "export VERBOSE=true" to enable stack traces)
***ERROR*** Addon org.jboss.forge.addon:as-parent,2.0.0-SNAPSHOT could not be installed: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.jboss.forge.addon:as-parent:jar:forge-addon:2.0.0-SNAPSHOT in central (http://repo1.maven.org/maven2)
* 02a7c5e 2015-08-11 | FORGE-2419: Getting rid of @Deployement (HEAD -> jsf_refactoring) [Antonio Goncalves]
* b2968b1 2015-08-11 | FORGE-2419: Refactoring FacesOperations [Antonio Goncalves]
* 47a63f6 2015-08-11 | FORGE-2419: Getting rid of templates [Antonio Goncalves]
* 53e5d0a 2015-08-11 | FORGE-2419: Refactoring the JSF Operations [Antonio Goncalves]
* fc5d8c7 2015-08-10 | FORGE-2419: adding test classes [Antonio Goncalves]
* 9a648a7 2015-08-10 | FORGE-2419: Refactoring the JSF hiserarchy on three Add commands [Antonio Goncalves]
* e81b92e 2015-08-10 | Update pom.xml [George Gastaldi]
* 679b7ed 2015-08-08 | FORGE-2419: Refactoring the JSF Commands Adding a first test class [Antonio Goncalves]
*
* 86302dc 2015-08-11 | FORGE-2419: Getting rid of @Deployement (HEAD -> FORGE-2419, origin/FORGE-2419) [Antonio Goncalves]
* 4eda5e1 2015-08-11 | FORGE-2419: Refactoring FacesOperations [Antonio Goncalves]
* f1408f7 2015-08-11 | FORGE-2419: Getting rid of templates [Antonio Goncalves]
* 4d45eea 2015-08-11 | FORGE-2419: Refactoring the JSF Operations [Antonio Goncalves]
* 64069bd 2015-08-10 | FORGE-2419: adding test classes [Antonio Goncalves]
* 0547404 2015-08-10 | Merge branch 'FORGE-2419' of https://github.com/agoncal/core into FORGE-2419 [Antonio Goncalves]
|\
| * 7b0b481 2015-08-10 | FORGE-2419: Refactoring the JSF hiserarchy on three Add commands [Antonio Goncalves]
| * 537447a 2015-08-10 | Merge branch 'master' of https://github.com/forge/core into FORGE-2419 [Antonio Goncalves]
| |\
commit 855aa74f0ead92b6e5939fee4f9fb446e759fd74
Author: Antonio Goncalves <antonio.goncalves@gmail.com>
Date: Fri Jun 12 19:19:46 2015 +0200
Fix issue-6 : adding attributes to the setup command
commit 339d3820412f43453024047cbbbef9def0cd8669
Author: George Gastaldi <gegastaldi@gmail.com>
Date: Fri Jun 12 12:22:44 2015 -0300