[forge-issues] [JBoss JIRA] (FORGE-584) forge install-plugin jboss-as-7 has a build fail

Tejas Mehta (JIRA) jira-events at lists.jboss.org
Tue May 29 13:37:17 EDT 2012


Tejas Mehta created FORGE-584:
---------------------------------

             Summary: forge install-plugin jboss-as-7 has a build fail
                 Key: FORGE-584
                 URL: https://issues.jboss.org/browse/FORGE-584
             Project: Forge
          Issue Type: Bug
          Components: Plugin Repository
    Affects Versions: 1.0.5.Final, 1.0.4.Final, 1.0.3.Final, 1.0.6.Final
         Environment: Fedora 16
            Reporter: Tejas Mehta


[intern-app-forge] Project.java $ forge install-plugin jboss-as-7
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: jboss-as-7
***INFO*** Checking out plugin source files to [/tmp/forgetemp2556526807165629321/repo] via 'git'
***INFO*** Switching to branch/tag [refs/heads/1.0.2.Final]
***INFO*** Invoking build with underlying build system.
/usr/lib/jvm/java
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building plugin-jboss-as7 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ plugin-jboss-as7 ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ plugin-jboss-as7 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ plugin-jboss-as7 ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /tmp/forgetemp2556526807165629321/repo/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] AS7Facet.java:[24,28] package org.jboss.forge.maven does not exist
[ERROR] AS7Facet.java:[25,36] package org.jboss.forge.maven.plugins does not exist
[ERROR] AS7Facet.java:[38,6] cannot find symbol
symbol  : class MavenPluginFacet
location: class org.jboss.as.forge.AS7Facet
[ERROR] AS7Facet.java:[38,54] cannot find symbol
symbol  : class MavenPluginFacet
location: class org.jboss.as.forge.AS7Facet
[ERROR] AS7Facet.java:[39,28] cannot find symbol
symbol  : variable MavenPluginBuilder
location: class org.jboss.as.forge.AS7Facet
[ERROR] AS7Facet.java:[47,6] cannot find symbol
symbol  : class MavenPluginFacet
location: class org.jboss.as.forge.AS7Facet
[ERROR] AS7Facet.java:[47,54] cannot find symbol
symbol  : class MavenPluginFacet
location: class org.jboss.as.forge.AS7Facet
[INFO] 7 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.200s
[INFO] Finished at: Tue May 29 13:24:28 EDT 2012
[INFO] Final Memory: 8M/119M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project plugin-jboss-as7: Compilation failure: Compilation failure:
[ERROR] AS7Facet.java:[24,28] package org.jboss.forge.maven does not exist
[ERROR] AS7Facet.java:[25,36] package org.jboss.forge.maven.plugins does not exist
[ERROR] AS7Facet.java:[38,6] cannot find symbol
[ERROR] symbol  : class MavenPluginFacet
[ERROR] location: class org.jboss.as.forge.AS7Facet
[ERROR] AS7Facet.java:[38,54] cannot find symbol
[ERROR] symbol  : class MavenPluginFacet
[ERROR] location: class org.jboss.as.forge.AS7Facet
[ERROR] AS7Facet.java:[39,28] cannot find symbol
[ERROR] symbol  : variable MavenPluginBuilder
[ERROR] location: class org.jboss.as.forge.AS7Facet
[ERROR] AS7Facet.java:[47,6] cannot find symbol
[ERROR] symbol  : class MavenPluginFacet
[ERROR] location: class org.jboss.as.forge.AS7Facet
[ERROR] AS7Facet.java:[47,54] cannot find symbol
[ERROR] symbol  : class MavenPluginFacet
[ERROR] location: class org.jboss.as.forge.AS7Facet
[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/MojoFailureException
Wrote /home/yyz/tmehta/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml
***ERROR*** [forge install-plugin] Build failed.

Reading the through a previous JIRA with a similar problem, I edited the ~/.m2/settings.xml to include the nexus/content/groups/public-jboss respository


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list