All,
I am in the process of migrating from Seam 2 to Seam 3. Currently, I am evaluating the
Forge tool and I cannot get the hibernate-tools or seam-persistence plugins to install due
to compilation issues. Should I have the expectation that the branches should compile or
does this project leave the solving of these issues to the users ?
1 )[no project] bin $ forge install-plugin seam-persistenceConnecting 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/CHMART~1.COR/AppData/Local/Temp/forgetemp8434134212888573150/repo] via
'git'***INFO*** Switching to branch/tag [refs/tags/1.0.0.Final]***WARNING***
Dependency [org.jboss.forge:forge-shell-api:jar::1.0.0-SNAPSHOT] was not correctly marked
as PROVIDED scope; this has been corrected.***WARNING*** Dependency
[org.jboss.forge:forge-maven-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED
scope; this has been corrected.***WARNING*** Dependency
[org.jboss.forge:forge-javaee-api:jar::1.0.0-SNAPSHOT] was not correctly marked as
PROVIDED scope; this has been corrected.***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-persistence ---[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\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\target\classes[INFO]
-------------------------------------------------------------[ERROR] COMPILATION ERROR
:[INFO] -------------------------------------------------------------[ERROR]
\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26]
error: cannot find symbol[ERROR]
\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24]
error: cannot find symbol[ERROR]
\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[148,24]
error: cannot find symbol[INFO] 3 errors[INFO]
-------------------------------------------------------------[INFO]
------------------------------------------------------------------------[INFO] BUILD
FAILURE[INFO]
------------------------------------------------------------------------[INFO] Total time:
4.397s[INFO] Finished at: Mon May 14 13:48:47 MST 2012[INFO] Final Memory: 49M/363M[INFO]
------------------------------------------------------------------------[WARNING] The
requested profile "env-dev" could not be activated because it does not
exist.[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\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26]
error: cannot find symbol[ERROR]
\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24]
error: cannot find symbol[ERROR]
\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[148,24]
error: cannot find symbol[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/MojoFailureExceptionWrote
C:\/Users/ChMartin.CORP/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yamlWrote
C:\/Users/CHMART~1.COR/AppData/Local/Temp/forgetemp8434134212888573150/repo/pom.xml***ERROR***
[forge install-plugin] Build failed.
2) hibernate-tools
[no project] bin $ forge install-plugin hibernate-toolsforge install-plugin
hibernate-toolsConnecting to remote repository
[
https://raw.github.com/forge/plugin-repository/master/repository.yaml]...
connected!***INFO*** Preparing to install plugin: hibernate-tools***INFO*** Checking out
plugin source files to
[C:\/Users/CHMART~1.COR/AppData/Local/Temp/forgetemp2118547512268803578/repo] via
'git'***INFO*** Switching to branch/tag [refs/heads/master]***INFO*** Invoking
build with underlying build system.[INFO] Scanning for projects...[INFO][INFO]
------------------------------------------------------------------------[INFO] Building
hibernate-tools-plugin 1.0.0-SNAPSHOT[INFO]
------------------------------------------------------------------------[INFO][INFO] ---
maven-clean-plugin:2.4.1:clean (default-clean) @ hibernate-tools-plugin ---[INFO][INFO]
--- maven-resources-plugin:2.4.3:resources (default-resources) @ hibernate-tools-plugin
---Downloading:
http://repo1.maven.org/maven2/org/sonatype/forge/forge-parent/3/forge-par...:
http://repo1.maven.org/maven2/org/sonatype/forge/forge-parent/3/forge-par... (5 KB
at 12.3 KB/sec)[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) @ hibernate-tools-plugin ---[INFO]
Compiling 2 source files to
C:\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp2118547512268803578\repo\target\classes[INFO]
-------------------------------------------------------------[ERROR] COMPILATION ERROR
:[INFO] -------------------------------------------------------------[ERROR]
\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp2118547512268803578\repo\src\main\java\org\hibernate\forge\plugin\DelegatingDriver.java:[9,7]
error: DelegatingDriver is not abstract and does not override abstract method
getParentLogger() in Driver[INFO] 1 error[INFO]
-------------------------------------------------------------[INFO]
------------------------------------------------------------------------[INFO] BUILD
FAILURE[INFO]
------------------------------------------------------------------------[INFO] Total time:
4.792s[INFO] Finished at: Mon May 14 13:38:23 MST 2012[INFO] Final Memory: 49M/363M[INFO]
------------------------------------------------------------------------[WARNING] The
requested profile "env-dev" could not be activated because it does not
exist.[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project
hibernate-tools-plugin: Compilation failure[ERROR]
\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp2118547512268803578\repo\src\main\java\org\hibernate\forge\plugin\DelegatingDriver.java:[9,7]
error: DelegatingDriver is not abstract and does not override abstract method
getParentLogger() in Driver[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/MojoFailureExceptionWrote
C:\/Users/ChMartin.CORP/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml***ERROR***
[forge install-plugin] Build failed.[no project] bin $[no project] bin $
Thanks