[jboss-jira] [JBoss JIRA] (AS7-6704) build modular AS with Apache Karaf support error
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Mon Mar 11 06:57:42 EDT 2013
[ https://issues.jboss.org/browse/AS7-6704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Diesler resolved AS7-6704.
---------------------------------
Resolution: Rejected
We can talk about this in the context of AS8
> build modular AS with Apache Karaf support error
> ------------------------------------------------
>
> Key: AS7-6704
> URL: https://issues.jboss.org/browse/AS7-6704
> Project: Application Server 7
> Issue Type: Bug
> Reporter: Julio Carlos Barrera
> Labels: Karaf, OSGi, build_issue
>
> I followed the instruction of this forum thread https://community.jboss.org/message/801855 and it gave me this error:
> {noformat}
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss Application Server: Build Modular 7.2.0.Final
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jboss-as-build-modular ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.2:enforce (ban-bad-dependencies) @ jboss-as-build-modular ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java-version) @ jboss-as-build-modular ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ jboss-as-build-modular ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ jboss-as-build-modular ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ jboss-as-build-modular ---
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: /bin/sh -c cd /home/logoff/soft/jboss-as/build-modular && git rev-parse --verify HEAD
> [INFO] Working directory: /home/logoff/soft/jboss-as/build-modular
> [INFO] Storing buildNumber: 4ed76ceef253c568b7475780a92e49a034f540c5 at timestamp: 1362997311876
> [INFO] Executing: /bin/sh -c cd /home/logoff/soft/jboss-as/build-modular && git rev-parse --verify HEAD
> [INFO] Working directory: /home/logoff/soft/jboss-as/build-modular
> [INFO] Storing buildScmBranch: UNKNOWN
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run (modular-config) @ jboss-as-build-modular ---
> [INFO] Executing tasks
> main:
> init:
> init.standalone:
> generate-standalone-configs:
> [echo] Generate subsystems definition for logging:osgi,osgi:karaf,configadmin to /home/logoff/soft/jboss-as/build-modular/target/standalone-subsystems.xml
> [echo] Generate module dependencies from /home/logoff/soft/jboss-as/build-modular/target/standalone-subsystems.xml to /home/logoff/soft/jboss-as/build-modular/target/standalone-module-dependencies.txt
> [echo] Static modules: [org.jboss.as.standalone,org.jboss.as.domain-http-error-context,,, org.jboss.logging, org.jboss.vfs, org.slf4j, org.jboss.logging.jul-to-slf4j-stub]
> [java] Exception in thread "main" java.io.FileNotFoundException: /home/logoff/soft/jboss-as/build-modular/../build/src/main/resources/modules/org/jboss/as/logging/main/module.xml (No such file or directory)
> [java] at java.io.FileInputStream.open(Native Method)
> [java] at java
> [java] .io.FileInputStream.<init>(FileInputStream.java:120)
> [java] at org.jboss.as.config.assembly.ModuleParser.parse(ModuleParser.java:61)
> [java] at org.jboss.as.config.assembly.GenerateModulesDefinition.processModuleDependency(GenerateModulesDefinition.java:193)
> [java] at org.jboss.as.config.assembly.GenerateModulesDefinition.process(GenerateModulesDefinition.java:130)
> [java] at org.jboss.as.config.assembly.GenerateModulesDefinition.main(GenerateModulesDefinition.java:104)
> [java] Java Result: 1
> [echo] Merging standalone configuration/standalone/template-osgi.xml and /home/logoff/soft/jboss-as/build-modular/target/standalone-subsystems.xml into /home/logoff/soft/jboss-as/build-modular/target/standalone.xml, using StandaloneMain
> init.domain:
> generate-domain-configs:
> build-standalone-server:
> [mkdir] Created dir: /home/logoff/soft/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Final
> [copy] Copying 241 files to /home/logoff/soft/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Final
> [copy] Copied 43 empty directories to 4 empty directories under /home/logoff/soft/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Final
> [copy] Copying 1 file to /home/logoff/soft/jboss-as/build-modular/target/jboss-as-karaf-7.2.0.Final/standalone/configuration
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.356s
> [INFO] Finished at: Mon Mar 11 11:21:54 CET 2013
> [INFO] Final Memory: 13M/118M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (modular-config) on project jboss-as-build-modular: An Ant BuildException has occured: The following error occurred while executing this line:
> [ERROR] /home/logoff/soft/jboss-as/build-modular/build-modular-config.xml:113: Includesfile /home/logoff/soft/jboss-as/build-modular/target/standalone-module-dependencies.txt not found.
> [ERROR] around Ant part ...<ant antfile="build-modular-config.xml" inheritRefs="true">... @ 4:62 in /home/logoff/soft/jboss-as/build-modular/target/antrun/build-main.xml
> [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/MojoExecutionException
> {noformat}
> It is possible to build JBoss AS 7.2.0.Final-prerelease1 or any version with Apache Karaf support?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list