]
Christopher Volk commented on SEAMPERSIST-76:
---------------------------------------------
Great job, William, that worked well for me. Seems like a good workaround until someone
fixes this.
Forge: Build fails when adding seam-persistence-plugin
------------------------------------------------------
Key: SEAMPERSIST-76
URL:
https://issues.jboss.org/browse/SEAMPERSIST-76
Project: Seam Persistence
Issue Type: Bug
Environment: Win 7 64bit, JDK 1.6.0_29 32bit, Forge 1.0.0.Beta4
Reporter: Tobias Boehnert
When trying to install seam-persistence within a JBoss Forge project, build fails.
Already opened in Forge-Jira, but I was sent over here ;-)
https://issues.jboss.org/browse/FORGE-410
{quote}
[foo] Person.java $ forge install-plugin seam-persistence
Connecting to remote repository
https://raw.github.com/forge/plugin-repository/master/repository.yaml... connected!
**INFO** Preparing to install plugin: seam-persistence
**INFO** Checking out plugin source files to
[C:\/Users/Tobias/AppData/Local/Temp/forgetemp8058076038030878076/repo] via 'git'
**INFO** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building plugin-seam-persistence 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.4.1:clean (default-clean) @ plugin-seam-persiste
nce —
[INFO]
[INFO] — maven-resources-plugin:2.4.3:resources (default-resources) @
plugin-seam-persistence —
[WARNING] Using platform encoding (Cp1252 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-seam-persistence
—
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is
platform dependent!
[INFO] Compiling 1 source file to
C:\Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
\Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26]
cannot find symbol
symbol : method hasDependency(org.jboss.forge.project.dependencies.DependencyBuilder)
location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR]
\Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24]
cannot find symbol
symbol : method addDependency(org.jboss.forge.project.dependencies.DependencyBuilder)
location: interface org.jboss.forge.project.facets.DependencyFacet
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.125s
[INFO] Finished at: Sun Dec 18 23:01:14 CET 2011
[INFO] Final Memory: 8M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project
plugin-seam-persistence: Compilation failure: Compilation failure:
[ERROR]
\Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26]
cannot find symbol
[ERROR] symbol : method hasDependency(org.jboss.forge.project.dependencies.Depe
ndencyBuilder)
[ERROR] location: interface org.jboss.forge.project.facets.DependencyFacet
[ERROR]
\Users\Tobias\AppData\Local\Temp\forgetemp8058076038030878076\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24]
cannot find symbol
[ERROR] symbol : method
addDependency(org.jboss.forge.project.dependencies.DependencyBuilder)
[ERROR] location: interface org.jboss.forge.project.facets.DependencyFacet
[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
**ERROR** [forge install-plugin] Build failed.
{quote}
--
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: