Skip to content

Instantly share code, notes, and snippets.

View gastaldi's full-sized avatar
🏠
Working from home

George Gastaldi gastaldi

🏠
Working from home
View GitHub Profile
<profile>
<id>jboss-public-repository</id>
<repositories>
<repository>
<id>jboss-public-repository</id>
<name>JBoss Repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
/**
* Copyright 2013 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.jboss.forge.addon.resource.transaction;
import java.util.Set;
/**
* Copyright 2013 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.jboss.forge.addon.resource.transaction;
import org.jboss.forge.addon.resource.Resource;
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
<configuration>
<argLine>-Xms512m -Xmx1024m -XX:MaxPermSize=256m</argLine>
<workingDirectory>${project.build.directory}</workingDirectory>
<systemProperties>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
</systemProperties>
/**
* This interface should be implemented by {@link Facet}s that supports configuration descriptors
*
* @author <a href="ggastald@redhat.com">George Gastaldi</a>
*/
public interface HasDescriptor<DESC extends Descriptor>
{
/**
* Return the {@link Descriptor} of the specification for which this facet represents.
*/
/**
* A CommandRegistry stores all the available Command objects
*/
public interface CommandRegistry{
/**
* Queries the CommandRegistry for a command
* @param name The command name
* @return Command associated with the name
* @throws CommandNotFoundException if no command can be found for the given name
@gastaldi
gastaldi / update-all.sh
Last active July 12, 2023 20:30
Bash Script to update all the needed repositories from Forge 2.x (and Forge 1)
#!/bin/sh
#echo Updating Aesh ...
#cd ~/workspace/aesh && git pull && mvn clean install -DskipTests;
echo Updating Furnace...
cd ~/workspace/furnace-parent && git pull && mvn clean install -DskipTests;
echo Updating Furnace CDI ...
cd ~/workspace/furnace-cdi && git pull && mvn clean install -DskipTests;
echo Updating Furnace Simple...
cd ~/workspace/furnace-simple && git pull && mvn clean install -DskipTests;
echo Updating Forge 2.x ...
[ggastald@ggastald ~]$ adduser
Usage: adduser [options] LOGIN
adduser -D
adduser -D [options]
Options:
-b, --base-dir BASE_DIR base directory for the home directory of the
new account
-c, --comment COMMENT GECOS field of the new account
-d, --home-dir HOME_DIR home directory of the new account
/*
* Copyright 2013 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package com.example.multi.picketlink.idm;
import javax.annotation.PostConstruct;
/Downloads/workspace/forge-core-2.0/addon-manager/tests/target/test-classes
/Downloads/workspace/forge-core-2.0/addon-manager/tests/target/classes
/Downloads/workspace/forge-core-2.0/dependencies/api/target/classes
/Downloads/workspace/forge-core-2.0/dependencies/impl/target/classes
/Downloads/workspace/forge-core-2.0/addon-manager/api/target/classes
/Downloads/workspace/forge-core-2.0/addon-manager/impl/target/classes
/Downloads/workspace/forge-core-2.0/facets/api/target/classes
/Downloads/workspace/forge-core-2.0/resources/api/target/classes
/Downloads/workspace/forge-core-2.0/resources/impl/target/classes
/Downloads/workspace/forge-core-2.0/convert/api/target/classes