Furnace CDI Container Build Problem.
by Daniel Cunha
Hey guys,
Does someone has this problem?
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Furnace - CDI Container 2.13.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cdi ---
[INFO] Deleting /home/soro/git/furnace-cdi/addon/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ cdi ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ cdi ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create-timestamp
(get-build-timestamp) @ cdi ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ cdi ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cdi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/soro/git/furnace-cdi/addon/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ cdi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to
/home/soro/git/furnace-cdi/addon/target/classes
[WARNING] bootstrap class path not set in conjunction with -source 1.7
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources
(default-testResources) @ cdi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/soro/git/furnace-cdi/addon/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ cdi ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ cdi ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- furnace-maven-plugin:2.13.1-SNAPSHOT:generate-dot
(generate-dot) @ cdi ---
[INFO] Generating
/home/soro/git/furnace-cdi/addon/target/classes/META-INF/resources/cdi-2.13.1-SNAPSHOT.dot
Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError:
org/eclipse/aether/spi/connector/Transfer$State
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.aether.spi.connector.Transfer$State
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
... 5 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Furnace - CDI Container Parent ..................... SUCCESS [ 2.206 s]
[INFO] Furnace - CDI Container API ....................... SUCCESS [ 2.666 s]
[INFO] Furnace - CDI Container Impl ...................... SUCCESS [ 2.449 s]
[INFO] Furnace - CDI Container ............................ FAILURE [ 0.635 s]
[INFO] Furnace - CDI Container Tests ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.524 s
[INFO] Finished at: 2014-12-28T14:49:28+00:00
[INFO] Final Memory: 24M/225M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.jboss.forge.furnace:furnace-maven-plugin:2.13.1-SNAPSHOT:generate-dot
(generate-dot) on project cdi: Execution generate-dot of goal
org.jboss.forge.furnace:furnace-maven-plugin:2.13.1-SNAPSHOT:generate-dot
failed: A required class was missing while executing
org.jboss.forge.furnace:furnace-maven-plugin:2.13.1-SNAPSHOT:generate-dot:
org/eclipse/aether/spi/connector/Transfer$State
[ERROR] -----------------------------------------------------
[ERROR] realm =
plugin>org.jboss.forge.furnace:furnace-maven-plugin:2.13.1-SNAPSHOT
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-maven-plugin/2.13.1-SNAPSHOT/furnace-maven-plugin-2.13.1-SNAPSHOT.jar
[ERROR] urls[1] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace/2.13.1-SNAPSHOT/furnace-2.13.1-SNAPSHOT.jar
[ERROR] urls[2] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-api/2.13.1-SNAPSHOT/furnace-api-2.13.1-SNAPSHOT.jar
[ERROR] urls[3] =
file:/home/soro/.m2/repository/org/jboss/forge/xml-parser/1.0.0.Final/xml-parser-1.0.0.Final.jar
[ERROR] urls[4] =
file:/home/soro/.m2/repository/org/jboss/forge/jboss-modules/1.3.0.Final-forge/jboss-modules-1.3.0.Final-forge.jar
[ERROR] urls[5] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-proxy/2.13.1-SNAPSHOT/furnace-proxy-2.13.1-SNAPSHOT.jar
[ERROR] urls[6] =
file:/home/soro/.m2/repository/org/jboss/forge/forge-javassist/2/forge-javassist-2.jar
[ERROR] urls[7] =
file:/home/soro/.m2/repository/net/sf/jgrapht/jgrapht/0.8.3/jgrapht-0.8.3.jar
[ERROR] urls[8] =
file:/home/soro/.m2/repository/org/jboss/logmanager/jboss-logmanager/1.4.1.Final/jboss-logmanager-1.4.1.Final.jar
[ERROR] urls[9] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-manager/2.13.1-SNAPSHOT/furnace-manager-2.13.1-SNAPSHOT.jar
[ERROR] urls[10] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-manager-api/2.13.1-SNAPSHOT/furnace-manager-api-2.13.1-SNAPSHOT.jar
[ERROR] urls[11] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-manager-spi/2.13.1-SNAPSHOT/furnace-manager-spi-2.13.1-SNAPSHOT.jar
[ERROR] urls[12] =
file:/home/soro/.m2/repository/org/jboss/forge/furnace/furnace-manager-resolver-maven/2.13.1-SNAPSHOT/furnace-manager-resolver-maven-2.13.1-SNAPSHOT.jar
[ERROR] urls[13] =
file:/home/soro/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
[ERROR] urls[14] =
file:/home/soro/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[15] =
file:/home/soro/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.jar
[ERROR] urls[16] =
file:/home/soro/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar
[ERROR] urls[17] =
file:/home/soro/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
[ERROR] urls[18] =
file:/home/soro/.m2/repository/org/eclipse/aether/aether-connector-file/0.9.0.M2/aether-connector-file-0.9.0.M2.jar
[ERROR] urls[19] =
file:/home/soro/.m2/repository/org/eclipse/aether/aether-connector-wagon/0.9.0.M2/aether-connector-wagon-0.9.0.M2.jar
[ERROR] urls[20] =
file:/home/soro/.m2/repository/org/apache/maven/wagon/wagon-http-lightweight/2.4/wagon-http-lightweight-2.4.jar
[ERROR] urls[21] =
file:/home/soro/.m2/repository/org/apache/maven/wagon/wagon-http-shared4/2.4/wagon-http-shared4-2.4.jar
[ERROR] urls[22] =
file:/home/soro/.m2/repository/org/jsoup/jsoup/1.7.1/jsoup-1.7.1.jar
[ERROR] urls[23] =
file:/home/soro/.m2/repository/org/apache/httpcomponents/httpcore/4.2.3/httpcore-4.2.3.jar
[ERROR] urls[24] =
file:/home/soro/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar
[ERROR] urls[25] =
file:/home/soro/.m2/repository/org/apache/maven/wagon/wagon-file/2.4/wagon-file-2.4.jar
[ERROR] urls[26] =
file:/home/soro/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.19/plexus-interpolation-1.19.jar
[ERROR] urls[27] =
file:/home/soro/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[28] =
file:/home/soro/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------:
org.eclipse.aether.spi.connector.Transfer$State
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :cdi
--
Daniel Cunha (soro)
9 years, 9 months
Security addon in Forge
by Ivan St. Ivanov
Hi folks,
I wanted to add a new addon to Forge that handles the Java EE security
topics:
- Add constraints to some resources
- Setup authentication mechanism (form, basic, digest, etc.)
- Assign realm to security constraints
- Create security roles
- If the realm is JDBC and JPA facet is installed, add an entity along with
some named queries
I looked in the Forge JIRA whether there is something like that and I found
this issue created almost a year and a half ago:
https://issues.jboss.org/browse/FORGEPLUGINS-152
I read in the description though, that the addon should be also able to
setup groups and users inside a realm. Isn't that too server specific if
the realm is not JDBC? Maybe we could continue the communication in the
issue, so whoever is interested my add themselves as a watcher there?
Cheers,
Ivan
9 years, 10 months
FacesScaffoldProvider
by Daniel Cunha
Hi folks,
About FORGE-2072.
The problem is:
We have this method: ErrorPageType getOrCreateErrorPage();
I’ll propose create a ErrorPageType getOrCreateErrorPage(String erroCode);
The getOrCreteErroPage only check if web.xml has an error-page. This case,
if I want do that:
String errorLocation =
getAccessStrategy().getWebPaths(web.getWebResource(ERROR_XHTML)).get(1);
servletConfig.getOrCreateErrorPage().errorCode("404").location(errorLocation);
servletConfig.getOrCreateErrorPage().errorCode("500").location(errorLocation);
The shrinkwrap only put an error-page. This case, only 404. :)
I fixed the FORGE-2072 with 2 methods because we need specify the
WebAppDescriptor for servelet-api version, but this case erro-page is a
common feature for two version of the api. No make sense sense to have two
interface to this method.
Look this:
https://github.com/danielsoro/core/blob/FORGE-2072/javaee/faces/src/main/...
I think better to have:
WebAppDescriptorCommons
- getOrCreateErrorPage()
- createErroPage()
- etc..
WebAppDescriptor30 extends WebAppDescriptorCommons
- methodETC()…
WebAppDescritptor31 extends WebAppDescriptorCommons
- methodETC()..
I don’t think a valid idea create a descriptor in forge if we have the
shrinkwrap for that.
IMHO.
If it is a good suggestion, please.. open an issue in shrinkwrap. :)
--
Daniel Cunha (soro)
9 years, 11 months
Again on testing Forge commands
by Ivan St. Ivanov
Hi everybody,
I resumed my Security addon development and reached my "favorite" point:
writing and executing UI command tests. I have attached here the output of
the test harness as well as the sample test that I wrote.
Here are some observations:
- It took one minute for Forge to run a simple UI test. And this is on
Linux. From my experience, if I run the same test on Windows, it would take
at least twice more
- Even though Lincoln explained it to me at least twice, setting up
@Deployment @AddonDependencies and AddonDependencyEntry's is still black
magic to me. I usually copy those hoping that I didn't miss anything, but
the result of this test proves that I missed something
- For the most part the test was starting furnace, checking the missing
dependencies, installing them one by one, but in the mean time it installed
their transitive dependencies and for each of these operations, Forge was
again shutting down and starting up furnace and weld. And then again
calculating missing dependencies. Most of these operations take usually
less than a second, but still there are so many of them that at the end it
piles up to a whole minute
- To be fair, some big chunks of this minute was taken by, what it seems
to me, resolution of transitive dependencies:
Dec 22, 2014 11:15:49 PM org.jboss.forge.furnace.impl.addons.AddonRunnable
run
INFO: >> Started container
[org.jboss.forge.addon:ui-test-harness,2.13.1-SNAPSHOT] - 133ms
Dec 22, 2014 11:15:58 PM
org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl deploy
INFO: Deploying addon org.jboss.forge.addon:parser-xml,2.13.1-SNAPSHOT
....
Dec 22, 2014 11:16:12 PM org.jboss.forge.furnace.impl.addons.AddonRunnable
run
INFO: >> Started container [org.jboss.forge.addon:javaee,2.13.1-SNAPSHOT] -
1802ms
Dec 22, 2014 11:16:24 PM
org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl deploy
INFO: Deploying addon org.jboss.forge.addon:maven,2.13.1-SNAPSHOT
- The test failed with the following exception:
java.lang.IllegalStateException: Test runner could not locate test class
[org.jboss.forge.addon.javaee.security.ui.SecuritySetupCommandTest] in any
deployed Addon.
at
org.jboss.forge.arquillian.ForgeTestMethodExecutor.invoke(ForgeTestMethodExecutor.java:234)
at
org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at
org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
...
However, the real reason was hidden in the massive console output a bit
above it:
Dec 22, 2014 11:16:25 PM
org.jboss.weld.bootstrap.MissingDependenciesRegistry
handleResourceLoadingException
INFO: WELD-000119: Not generating any bean definitions from
org.jboss.forge.addon.javaee.security.ui.SecuritySetupCommandTest because
of underlying class loading error: Type
org.jboss.forge.addon.javaee.ProjectHelper from [Module
"_DEFAULT_:2fba4fbf-9342-4566-9879-eebe1b753d2d_3ccd4af3-6ec9-4385-9aab-1693a53753fa"
from AddonModuleLoader] not found. If this is unexpected, enable DEBUG
logging to see the full error.
Enough with the observations. What can we do about it? Well, I see the
following areas of improvement:
- Fight the black magic. It shouldn't be so hard to setup a test. What I
usually need is a UI test harness, project utilities, sometimes a parser
and the addon that I am testing
- Fight the slow startup time. So, we are using Arquillian. Imagine how
would you feel if Arquillian was setting up from scratch Wildfly or (oh
my!) WebLogic every time you run a Java EE test? Instead, it just relies on
the fact that the target runtime is there
So, can't we just create a composite test addon or something like that?
That we use as kind of arquillian container and we just update the needed
addons there. Instead of setting up everything from scratch. And in the
@Deployment method we simply list the addons (or even at smaller
granularity: files) that are changed and we want to be redeployed on top.
This doesn't look too far away form the Arquillian model that we are all
used to. And I believe that will be much faster to start (especially in the
so called 'remote' arquillian mode).
What do you think?
Cheers,
Ivan
9 years, 11 months
Forge Build Problems
by Devanshu
Hi all!
I have been having problems in building forge for sometime now.
Does anyone else have it ? How can it be resolved ?
Macintosh:core Devanshu$ mvn clean install -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Forge - BOM
[INFO] Forge - Parent
[INFO] Forge - Addon Manager - Parent
[INFO] Forge - Addon Manager SPI
[INFO] Forge - Facets Addon Parent
[INFO] Forge - Facets Addon API
[INFO] Forge - Facets Addon Impl
[INFO] Forge - Facets Addon
[INFO] Forge - Resource Addon Parent
[INFO] Forge - Resource Addon API
[INFO] Forge - Convert Addon Parent
[INFO] Forge - Convert API
[INFO] Forge - Dependencies Addon Parent
[INFO] Forge - Dependencies API
[INFO] Forge - Addon Manager API
[INFO] Forge - Environment Addon Parent
[INFO] Forge - Environment API
[INFO] Forge - Environment Impl
[INFO] Forge - Environment Addon
[INFO] Forge - UI Addon Parent
[INFO] Forge - UI Addon SPI
[INFO] Forge - UI API
[INFO] Forge - UI Impl
[INFO] Forge - Convert Impl
[INFO] Forge - Convert Addon
[INFO] Forge - UI Addon
[INFO] Forge - Resource Addon Impl
[INFO] Forge - Resource Addon
[INFO] Forge - Shell Addon Parent
[INFO] Forge - Shell SPI Addon
[INFO] Forge - Dependencies Impl
[INFO] Forge - Dependencies Addon
[INFO] Forge - Projects Addon Parent
[INFO] Forge - Projects API
[INFO] Forge - Projects Impl
[INFO] Forge - Projects Addon
[INFO] Forge - Git Addon Parent
[INFO] Forge - Git API
[INFO] Forge - Addon Manager - Impl
[INFO] Forge - Configuration Parent
[INFO] Forge - Configuration API
[INFO] Forge - Shell Addon API
[INFO] Forge - Text Addon
[INFO] Forge - Java Parser Addon Parent
[INFO] Forge - Java Parser Addon API
[INFO] Forge - Java Parser Addon Implementation
[INFO] Forge - Java Parser Addon
[INFO] Forge - Shell Addon Impl
[INFO] Forge - Shell Addon
[INFO] Forge - Configuration Impl
[INFO] Forge - Configuration Addon
[INFO] Forge - Git Impl
[INFO] Forge - Git Addon
[INFO] Forge - Addon Manager Addon
[INFO] Forge - XML Parser Addon Parent
[INFO] Forge - XML Parser Addon API
[INFO] Forge - XML Parser Addon Implementation
[INFO] Forge - XML Parser Addon
[INFO] Forge - Maven Addon Parent
[INFO] Forge - Maven API
[INFO] Forge - Maven Impl
[INFO] Forge - JavaEE Parent
[INFO] Forge - JavaEE SPI Addon
[INFO] Forge - Bean Validation Addon Parent
[INFO] Forge - Bean Validation API
[INFO] Forge - Bean Validation Impl
[INFO] Forge - Bean Validation Addon
[INFO] Forge - JavaEE API
[INFO] Forge - Templates Addon Parent
[INFO] Forge - Templates Addon SPI
[INFO] Forge - Templates Addon API
[INFO] Forge - Freemarker SPI impl in Templates Addon
[INFO] Forge - Templates Addon Impl
[INFO] Forge - Templates Addon
[INFO] Forge - JavaEE Impl
[INFO] Forge - Rest Client Addon Parent
[INFO] Forge - Rest Client Addon
[INFO] Forge - JavaEE Addon
[INFO] Forge - Maven Projects Impl
[INFO] Forge - Maven Addon
[INFO] Forge - Shell Addon Test Harness
[INFO] Forge - Addon Manager - Tests
[INFO] Forge - Addon Development Addon Parent
[INFO] Forge - Addon Development Addon API
[INFO] Forge - Addon Development Addon Impl
[INFO] Forge - Addon Development Addon
[INFO] Forge - UI Test Harness
[INFO] Forge - Addon Development Addon Tests
[INFO] Forge - Convert Addon Tests
[INFO] Forge - Configuration Tests
[INFO] Forge - Database Tools Addon Parent
[INFO] Forge - Database Tools API
[INFO] Forge - Database Tools Impl
[INFO] Forge - Database Tools Addon
[INFO] Forge - Database Tools Addon Tests
[INFO] Forge - Dependencies Addon Tests
[INFO] Forge - Dev Tools - Java
[INFO] Forge - Environment Addon Tests
[INFO] Forge - Facets Addon Tests
[INFO] Forge - Scaffold Parent
[INFO] Forge - Scaffold SPI
[INFO] Forge - Scaffold API
[INFO] Forge - Scaffold Impl
[INFO] Forge - Scaffold Addon
[INFO] Forge - Faces Scaffold provider
[INFO] Forge - JavaEE Tests
[INFO] Forge - Maven Addon Tests
[INFO] Forge - Projects Addon Tests
[INFO] Forge - Java Parser Addon Tests
[INFO] Forge - Json Parser Addon Parent
[INFO] Forge - Json Parser Addon API
[INFO] Forge - Json Parser Addon Implementation
[INFO] Forge - Json Parser Addon
[INFO] Forge - Json Parser Addon Tests
[INFO] Forge - XML Parser Addon Tests
[INFO] Forge - Resources Addon Tests
[INFO] Forge - Rest Client Addon Integration Tests
[INFO] Forge - UI Addon Example
[INFO] Forge - UI Addon Tests
[INFO] Forge - Scaffold Tests
[INFO] Forge - Shell Addon Tests
[INFO] Forge - Templates Addon Tests
[INFO] Forge - Git Addon Tests
[INFO] Forge - Core Addon Parent
[INFO] Forge - Core Addon
[INFO] Forge - Core Addon Tests (Addon Integration Tests)
[INFO] Forge - Bean Validation Addon Tests
[INFO] Forge - Bootstrap module
[INFO] Forge - Distribution Build
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Forge - BOM 2.13.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ forge-bom ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ forge-bom ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ forge-bom ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ forge-bom ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ forge-bom ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /Users/Devanshu/Desktop/Forge/mvn/core/bom && git rev-parse --verify HEAD
[INFO] Working directory: /Users/Devanshu/Desktop/Forge/mvn/core/bom
[INFO] Storing buildNumber: c0a4330bcfe41cd8a5f7660fc41a75e5ddff1e81 at timestamp: 1419786541922
[INFO] Executing: /bin/sh -c cd /Users/Devanshu/Desktop/Forge/mvn/core/bom && git rev-parse --verify HEAD
[INFO] Working directory: /Users/Devanshu/Desktop/Forge/mvn/core/bom
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ forge-bom ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ forge-bom ---
[INFO] Installing /Users/Devanshu/Desktop/Forge/mvn/core/bom/pom.xml to /Users/Devanshu/.m2/repository/org/jboss/forge/forge-bom/2.13.1-SNAPSHOT/forge-bom-2.13.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Forge - Parent 2.13.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ forge-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ forge-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ forge-parent ---
[INFO]
[INFO] --- maven-source-plugin:2.3:jar-no-fork (attach-sources) @ forge-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ forge-parent ---
[INFO] Installing /Users/Devanshu/Desktop/Forge/mvn/core/pom.xml to /Users/Devanshu/.m2/repository/org/jboss/forge/forge-parent/2.13.1-SNAPSHOT/forge-parent-2.13.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Forge - Addon Manager - Parent 2.13.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ addon-manager-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ addon-manager-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ addon-manager-parent ---
[INFO]
[INFO] --- maven-source-plugin:2.3:jar-no-fork (attach-sources) @ addon-manager-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ addon-manager-parent ---
[INFO] Installing /Users/Devanshu/Desktop/Forge/mvn/core/addon-manager/pom.xml to /Users/Devanshu/.m2/repository/org/jboss/forge/addon/addon-manager-parent/2.13.1-SNAPSHOT/addon-manager-parent-2.13.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Forge - Addon Manager SPI 2.13.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jboss.forge.furnace:furnace-manager-spi:jar:2.13.1-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.jboss.forge.furnace.container:cdi:jar:forge-addon:2.13.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge - BOM ........................................ SUCCESS [ 1.943 s]
[INFO] Forge - Parent ..................................... SUCCESS [ 0.372 s]
[INFO] Forge - Addon Manager - Parent ..................... SUCCESS [ 0.015 s]
[INFO] Forge - Addon Manager SPI .......................... FAILURE [ 0.517 s]
[INFO] Forge - Facets Addon Parent ........................ SKIPPED
[INFO] Forge - Facets Addon API ........................... SKIPPED
[INFO] Forge - Facets Addon Impl .......................... SKIPPED
[INFO] Forge - Facets Addon ............................... SKIPPED
[INFO] Forge - Resource Addon Parent ...................... SKIPPED
[INFO] Forge - Resource Addon API ......................... SKIPPED
[INFO] Forge - Convert Addon Parent ....................... SKIPPED
[INFO] Forge - Convert API ................................ SKIPPED
[INFO] Forge - Dependencies Addon Parent .................. SKIPPED
[INFO] Forge - Dependencies API ........................... SKIPPED
[INFO] Forge - Addon Manager API .......................... SKIPPED
[INFO] Forge - Environment Addon Parent ................... SKIPPED
[INFO] Forge - Environment API ............................ SKIPPED
[INFO] Forge - Environment Impl ........................... SKIPPED
[INFO] Forge - Environment Addon .......................... SKIPPED
[INFO] Forge - UI Addon Parent ............................ SKIPPED
[INFO] Forge - UI Addon SPI ............................... SKIPPED
[INFO] Forge - UI API ..................................... SKIPPED
[INFO] Forge - UI Impl .................................... SKIPPED
[INFO] Forge - Convert Impl ............................... SKIPPED
[INFO] Forge - Convert Addon .............................. SKIPPED
[INFO] Forge - UI Addon ................................... SKIPPED
[INFO] Forge - Resource Addon Impl ........................ SKIPPED
[INFO] Forge - Resource Addon ............................. SKIPPED
[INFO] Forge - Shell Addon Parent ......................... SKIPPED
[INFO] Forge - Shell SPI Addon ............................ SKIPPED
[INFO] Forge - Dependencies Impl .......................... SKIPPED
[INFO] Forge - Dependencies Addon ......................... SKIPPED
[INFO] Forge - Projects Addon Parent ...................... SKIPPED
[INFO] Forge - Projects API ............................... SKIPPED
[INFO] Forge - Projects Impl .............................. SKIPPED
[INFO] Forge - Projects Addon ............................. SKIPPED
[INFO] Forge - Git Addon Parent ........................... SKIPPED
[INFO] Forge - Git API .................................... SKIPPED
[INFO] Forge - Addon Manager - Impl ....................... SKIPPED
[INFO] Forge - Configuration Parent ....................... SKIPPED
[INFO] Forge - Configuration API .......................... SKIPPED
[INFO] Forge - Shell Addon API ............................ SKIPPED
[INFO] Forge - Text Addon ................................. SKIPPED
[INFO] Forge - Java Parser Addon Parent ................... SKIPPED
[INFO] Forge - Java Parser Addon API ...................... SKIPPED
[INFO] Forge - Java Parser Addon Implementation ........... SKIPPED
[INFO] Forge - Java Parser Addon .......................... SKIPPED
[INFO] Forge - Shell Addon Impl ........................... SKIPPED
[INFO] Forge - Shell Addon ................................ SKIPPED
[INFO] Forge - Configuration Impl ......................... SKIPPED
[INFO] Forge - Configuration Addon ........................ SKIPPED
[INFO] Forge - Git Impl ................................... SKIPPED
[INFO] Forge - Git Addon .................................. SKIPPED
[INFO] Forge - Addon Manager Addon ........................ SKIPPED
[INFO] Forge - XML Parser Addon Parent .................... SKIPPED
[INFO] Forge - XML Parser Addon API ....................... SKIPPED
[INFO] Forge - XML Parser Addon Implementation ............ SKIPPED
[INFO] Forge - XML Parser Addon ........................... SKIPPED
[INFO] Forge - Maven Addon Parent ......................... SKIPPED
[INFO] Forge - Maven API .................................. SKIPPED
[INFO] Forge - Maven Impl ................................. SKIPPED
[INFO] Forge - JavaEE Parent .............................. SKIPPED
[INFO] Forge - JavaEE SPI Addon ........................... SKIPPED
[INFO] Forge - Bean Validation Addon Parent ............... SKIPPED
[INFO] Forge - Bean Validation API ........................ SKIPPED
[INFO] Forge - Bean Validation Impl ....................... SKIPPED
[INFO] Forge - Bean Validation Addon ...................... SKIPPED
[INFO] Forge - JavaEE API ................................. SKIPPED
[INFO] Forge - Templates Addon Parent ..................... SKIPPED
[INFO] Forge - Templates Addon SPI ........................ SKIPPED
[INFO] Forge - Templates Addon API ........................ SKIPPED
[INFO] Forge - Freemarker SPI impl in Templates Addon ..... SKIPPED
[INFO] Forge - Templates Addon Impl ....................... SKIPPED
[INFO] Forge - Templates Addon ............................ SKIPPED
[INFO] Forge - JavaEE Impl ................................ SKIPPED
[INFO] Forge - Rest Client Addon Parent ................... SKIPPED
[INFO] Forge - Rest Client Addon .......................... SKIPPED
[INFO] Forge - JavaEE Addon ............................... SKIPPED
[INFO] Forge - Maven Projects Impl ........................ SKIPPED
[INFO] Forge - Maven Addon ................................ SKIPPED
[INFO] Forge - Shell Addon Test Harness ................... SKIPPED
[INFO] Forge - Addon Manager - Tests ...................... SKIPPED
[INFO] Forge - Addon Development Addon Parent ............. SKIPPED
[INFO] Forge - Addon Development Addon API ................ SKIPPED
[INFO] Forge - Addon Development Addon Impl ............... SKIPPED
[INFO] Forge - Addon Development Addon .................... SKIPPED
[INFO] Forge - UI Test Harness ............................ SKIPPED
[INFO] Forge - Addon Development Addon Tests .............. SKIPPED
[INFO] Forge - Convert Addon Tests ........................ SKIPPED
[INFO] Forge - Configuration Tests ........................ SKIPPED
[INFO] Forge - Database Tools Addon Parent ................ SKIPPED
[INFO] Forge - Database Tools API ......................... SKIPPED
[INFO] Forge - Database Tools Impl ........................ SKIPPED
[INFO] Forge - Database Tools Addon ....................... SKIPPED
[INFO] Forge - Database Tools Addon Tests ................. SKIPPED
[INFO] Forge - Dependencies Addon Tests ................... SKIPPED
[INFO] Forge - Dev Tools - Java ........................... SKIPPED
[INFO] Forge - Environment Addon Tests .................... SKIPPED
[INFO] Forge - Facets Addon Tests ......................... SKIPPED
[INFO] Forge - Scaffold Parent ............................ SKIPPED
[INFO] Forge - Scaffold SPI ............................... SKIPPED
[INFO] Forge - Scaffold API ............................... SKIPPED
[INFO] Forge - Scaffold Impl .............................. SKIPPED
[INFO] Forge - Scaffold Addon ............................. SKIPPED
[INFO] Forge - Faces Scaffold provider .................... SKIPPED
[INFO] Forge - JavaEE Tests ............................... SKIPPED
[INFO] Forge - Maven Addon Tests .......................... SKIPPED
[INFO] Forge - Projects Addon Tests ....................... SKIPPED
[INFO] Forge - Java Parser Addon Tests .................... SKIPPED
[INFO] Forge - Json Parser Addon Parent ................... SKIPPED
[INFO] Forge - Json Parser Addon API ...................... SKIPPED
[INFO] Forge - Json Parser Addon Implementation ........... SKIPPED
[INFO] Forge - Json Parser Addon .......................... SKIPPED
[INFO] Forge - Json Parser Addon Tests .................... SKIPPED
[INFO] Forge - XML Parser Addon Tests ..................... SKIPPED
[INFO] Forge - Resources Addon Tests ...................... SKIPPED
[INFO] Forge - Rest Client Addon Integration Tests ........ SKIPPED
[INFO] Forge - UI Addon Example ........................... SKIPPED
[INFO] Forge - UI Addon Tests ............................. SKIPPED
[INFO] Forge - Scaffold Tests ............................. SKIPPED
[INFO] Forge - Shell Addon Tests .......................... SKIPPED
[INFO] Forge - Templates Addon Tests ...................... SKIPPED
[INFO] Forge - Git Addon Tests ............................ SKIPPED
[INFO] Forge - Core Addon Parent .......................... SKIPPED
[INFO] Forge - Core Addon ................................. SKIPPED
[INFO] Forge - Core Addon Tests (Addon Integration Tests) . SKIPPED
[INFO] Forge - Bean Validation Addon Tests ................ SKIPPED
[INFO] Forge - Bootstrap module ........................... SKIPPED
[INFO] Forge - Distribution Build ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.769 s
[INFO] Finished at: 2014-12-28T22:39:03+05:30
[INFO] Final Memory: 55M/351M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project addon-manager-spi: Could not resolve dependencies for project org.jboss.forge.addon:addon-manager-spi:jar:2.13.1-SNAPSHOT: The following artifacts could not be resolved: org.jboss.forge.furnace:furnace-manager-spi:jar:2.13.1-SNAPSHOT, org.jboss.forge.furnace.container:cdi:jar:forge-addon:2.13.1-SNAPSHOT: Could not find artifact org.jboss.forge.furnace:furnace-manager-spi:jar:2.13.1-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExce...
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :addon-manager-spi
9 years, 11 months
Merry Christmas
by Daniel Cunha
Hello Folks,
I just want to wish a Merry Christmas to all.
--
Daniel Cunha (soro)
9 years, 11 months
PermGen with JBoss add-on
by Antonio Goncalves
Hi all,
The other day on #IRC I mentioned having PermGen issues with the JBossAS
add-on. It's confirmed. During the HoL there are plenty of people who had
the same issue : install the JBoss add-on, start wildfly 8.1, build the
app, deploy it, go to the index.html page (fine), click on an Entity, bang
! PermGen
Alexis Hassler investigated it during the lab (see below). Basically, no
matter what PermGen you set, it's not taken into account.
Again, I really think this add-on should be looked after carefully, it's
very unstable.
Antonio
---------- Forwarded message ----------
From: Alexis Hassler <alexis.hassler(a)gmail.com>
Date: Tue, Nov 11, 2014 at 11:37 AM
Subject: Re: Forge + Wildfly VM arguments
To: Antonio Goncalves <antonio.goncalves(a)gmail.com>
Pas de changement avec
as-setup --server wildfly8 --installDir /opt/java/wildfly-8.1.0.Final/
--jvmargs "-Xmx512m -XX:MaxPermSize=256m"
Alexis
http://www.jtips.info, http://blog.alexis-hassler.com,
http://www.lyonjug.org
2014-11-11 11:22 GMT+01:00 Alexis Hassler <alexis.hassler(a)gmail.com>:
> Avec un wf externe, démarré avec as-start.
>
>
>
>
> Pour info, en démarrant un wf 8.1 en ligne de commande "normale" :
> -D[Standalone] -Xms64m -Xmx512m -XX:MaxPermSize=256m
> -Djava.net.preferIPv4Stack=true
> -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
> -Dorg.jboss.boot.log.file=/opt/java/wildfly-8.1.0.Final/standalone/log/server.log
> -Dlogging.configuration=file:/opt/java/wildfly-8.1.0.Final/standalone/configuration/logging.properties
>
> Alexis
> http://www.jtips.info, http://blog.alexis-hassler.com,
> http://www.lyonjug.org
>
>
9 years, 11 months
UnifiedPush Java Sender Forge Addon
by Sebastien Blanc
Hi !
I'm happy to announce the first release of the UPS Java Sender Forge Addon,
This addon will help the developer to integrate the Java Sender into their
existing applications.
Basically it provides 2 commands :
- unifiedpush-setup : will pull in the dependency and create a
pushConfiguration.json file that contains the needed information (UPS url,
PushAppID and master secret)
-unifiedpush-generate-service : will generate a small service that wraps
the Java Sender, you can then easily inject it into your business logic.
The nice thing about Forge 2 Addons, is that you get JBDS Integration for
"free" , so these 2 commands are available in JBDS as UI Wizards.
I created a blog entry for that which also contains a screencast :
http://blog-sblanc.rhcloud.com/?p=66
The code is hosted here for now :
https://github.com/sebastienblanc/unifiedpush-addon but will soon be
migrated under the AeroGear org.
Regards,
Sebi
9 years, 11 months