|
|
| 1 2 |
|
tweibel
|
Hi!
I wanted to execute `mvn appfuse:full-source' in a newly created Appfuse application with `JSF Basic' archetype and get the following error: --8<-- + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'appfuse'. [INFO] ---------------------------------------------------------------------------- [INFO] Building AppFuse JSF Application [INFO] task-segment: [appfuse:full-source] [INFO] ---------------------------------------------------------------------------- [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid. It will be ignored for artifact resolution. Reason: Parse error reading POM. Reason: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13) for project org.hibernate:jtidy at /home/thom/.m2/repository/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.pom [INFO] [appfuse:full-source] [INFO] [AppFuse] Installing source from data modules... [INFO] [AppFuse] Installing source from service module... [INFO] [AppFuse] Installing source from web-common module... [INFO] [AppFuse] Installing source from jsf module... [INFO] [AppFuse] Source successfully exported, modifying pom.xml... [INFO] [AppFuse] Removing maven-warpath-plugin... [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Couldn't rename temporary file /tmp/replace1522087824.txt [INFO] ------------------------------------------------------------------------ [INFO] Trace Couldn't rename temporary file /tmp/replace1522087824.txt at org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.doReplace(ReplaceRegExp.java:431) at org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.execute(ReplaceRegExp.java:491) at org.appfuse.mojo.installer.InstallSourceMojo.removeWarpathPlugin(InstallSourceMojo.java:283) at org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:128) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 57 seconds [INFO] Finished at: Wed Jul 18 09:47:58 EEST 2007 [INFO] Final Memory: 5M/10M [INFO] ------------------------------------------------------------------------ --8<-- When I execute `mnv appfuse:full-source' again, I get the following error --8<-- + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'appfuse'. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: mojo-sandbox Version: 2-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving version for 'org.codehaus.mojo:appfuse-maven-plugin': Unable to read the metadata file for artifact 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: org.codehaus.mojo:mojo-sandbox for project: null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project null:appfuse-maven-plugin:maven-plugin:2.0-alpha at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1266) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionResolutionException: Error resolving version for 'org.codehaus.mojo:appfuse-maven-plugin': Unable to read the metadata file for artifact 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: org.codehaus.mojo:mojo-sandbox for project: null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project null:appfuse-maven-plugin:maven-plugin:2.0-alpha at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:681) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:186) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257) ... 14 more Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to read the metadata file for artifact 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: org.codehaus.mojo:mojo-sandbox for project: null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project null:appfuse-maven-plugin:maven-plugin:2.0-alpha at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:134) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:672) ... 18 more Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.codehaus.mojo:mojo-sandbox for project: null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project null:appfuse-maven-plugin:maven-plugin:2.0-alpha at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1261) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:747) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:105) ... 19 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable to download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.codehaus.mojo:mojo-sandbox at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:573) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1257) ... 22 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:526) ... 23 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185) ... 25 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed Jul 18 09:50:28 EEST 2007 [INFO] Final Memory: 1M/2M [INFO] ------------------------------------------------------------------------ --8<-- I'm using Ubuntu Linux 7.04 and the output of `mvn -version' is: --8<-- Maven version: 2.0.7 Java version: 1.5.0_11 OS name: "linux" version: "2.6.20-16-generic" arch: "i386" --8<-- Does anybody have an idea, what could be going wrong? Thanks, Thomas |
||||||||||||||||
|
tibi
|
hi i have the same problem.
anyone? my appfuse is a upgraded m4 to m5 struts base project thanks, tibi tweibel wrote: > Hi! > > I wanted to execute `mvn appfuse:full-source' in a newly created Appfuse > application with `JSF Basic' archetype and get the following error: > > --8<-- > + Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'appfuse'. > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building AppFuse JSF Application > [INFO] task-segment: [appfuse:full-source] > [INFO] > ---------------------------------------------------------------------------- > [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid. > It will be ignored for artifact resolution. Reason: Parse error reading POM. > Reason: TEXT must be immediately followed by END_TAG and not START_TAG > (position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13) for > project org.hibernate:jtidy at > /home/thom/.m2/repository/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.pom > [INFO] [appfuse:full-source] > [INFO] [AppFuse] Installing source from data modules... > [INFO] [AppFuse] Installing source from service module... > [INFO] [AppFuse] Installing source from web-common module... > [INFO] [AppFuse] Installing source from jsf module... > [INFO] [AppFuse] Source successfully exported, modifying pom.xml... > [INFO] [AppFuse] Removing maven-warpath-plugin... > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Couldn't rename temporary file /tmp/replace1522087824.txt > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > Couldn't rename temporary file /tmp/replace1522087824.txt > at > org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.doReplace(ReplaceRegExp.java:431) > at > org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.execute(ReplaceRegExp.java:491) > at > org.appfuse.mojo.installer.InstallSourceMojo.removeWarpathPlugin(InstallSourceMojo.java:283) > at > org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:128) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 57 seconds > [INFO] Finished at: Wed Jul 18 09:47:58 EEST 2007 > [INFO] Final Memory: 5M/10M > [INFO] > ------------------------------------------------------------------------ > --8<-- > > When I execute `mnv appfuse:full-source' again, I get the following error > > --8<-- > + Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'appfuse'. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > GroupId: org.codehaus.mojo > ArtifactId: mojo-sandbox > Version: 2-SNAPSHOT > > Reason: Unable to download the artifact from any repository > > org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving > version for 'org.codehaus.mojo:appfuse-maven-plugin': Unable to read the > metadata file for artifact 'org.codehaus.mojo:appfuse-maven-plugin:pom': > Cannot find parent: org.codehaus.mojo:mojo-sandbox for project: > null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > null:appfuse-maven-plugin:maven-plugin:2.0-alpha > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1266) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.version.PluginVersionResolutionException: > Error resolving version for 'org.codehaus.mojo:appfuse-maven-plugin': Unable > to read the metadata file for artifact > 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: > org.codehaus.mojo:mojo-sandbox for project: > null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > null:appfuse-maven-plugin:maven-plugin:2.0-alpha > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:681) > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:186) > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90) > at > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257) > ... 14 more > Caused by: > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: > Unable to read the metadata file for artifact > 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: > org.codehaus.mojo:mojo-sandbox for project: > null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > null:appfuse-maven-plugin:maven-plugin:2.0-alpha > at > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:134) > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:672) > ... 18 more > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find > parent: org.codehaus.mojo:mojo-sandbox for project: > null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > null:appfuse-maven-plugin:maven-plugin:2.0-alpha > at > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1261) > at > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:747) > at > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236) > at > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:105) > ... 19 more > Caused by: org.apache.maven.project.ProjectBuildingException: POM > 'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable to download > the artifact from any repository > > org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > for project org.codehaus.mojo:mojo-sandbox > at > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:573) > at > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1257) > ... 22 more > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: > Unable to download the artifact from any repository > > org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73) > at > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:526) > ... 23 more > Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to > download the artifact from any repository > at > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185) > ... 25 more > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: < 1 second > [INFO] Finished at: Wed Jul 18 09:50:28 EEST 2007 > [INFO] Final Memory: 1M/2M > [INFO] > ------------------------------------------------------------------------ > --8<-- > > I'm using Ubuntu Linux 7.04 and the output of `mvn -version' is: > > --8<-- > Maven version: 2.0.7 > Java version: 1.5.0_11 > OS name: "linux" version: "2.6.20-16-generic" arch: "i386" > --8<-- > > Does anybody have an idea, what could be going wrong? > > Thanks, > Thomas > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
tibi
|
even mvn jetty:run will not run any more.
i had to retrieve my project as was before the full-source command to get things working again. tibi tibi wrote: > hi i have the same problem. > > anyone? > > my appfuse is a upgraded m4 to m5 struts base project > > thanks, > > tibi > > tweibel wrote: >> Hi! >> >> I wanted to execute `mvn appfuse:full-source' in a newly created Appfuse >> application with `JSF Basic' archetype and get the following error: >> >> --8<-- >> + Error stacktraces are turned on. >> [INFO] Scanning for projects... >> [INFO] Searching repository for plugin with prefix: 'appfuse'. >> [INFO] >> ---------------------------------------------------------------------------- >> >> [INFO] Building AppFuse JSF Application >> [INFO] task-segment: [appfuse:full-source] >> [INFO] >> ---------------------------------------------------------------------------- >> >> [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is >> invalid. >> It will be ignored for artifact resolution. Reason: Parse error >> reading POM. >> Reason: TEXT must be immediately followed by END_TAG and not START_TAG >> (position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13) for >> project org.hibernate:jtidy at >> /home/thom/.m2/repository/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.pom >> >> [INFO] [appfuse:full-source] >> [INFO] [AppFuse] Installing source from data modules... >> [INFO] [AppFuse] Installing source from service module... >> [INFO] [AppFuse] Installing source from web-common module... >> [INFO] [AppFuse] Installing source from jsf module... >> [INFO] [AppFuse] Source successfully exported, modifying pom.xml... >> [INFO] [AppFuse] Removing maven-warpath-plugin... >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] FATAL ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Couldn't rename temporary file /tmp/replace1522087824.txt >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> Couldn't rename temporary file /tmp/replace1522087824.txt >> at >> org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.doReplace(ReplaceRegExp.java:431) >> >> at >> org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.execute(ReplaceRegExp.java:491) >> >> at >> org.appfuse.mojo.installer.InstallSourceMojo.removeWarpathPlugin(InstallSourceMojo.java:283) >> >> at >> org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:128) >> >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) >> >> at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 57 seconds >> [INFO] Finished at: Wed Jul 18 09:47:58 EEST 2007 >> [INFO] Final Memory: 5M/10M >> [INFO] >> ------------------------------------------------------------------------ >> --8<-- >> >> When I execute `mnv appfuse:full-source' again, I get the following >> error >> >> --8<-- >> + Error stacktraces are turned on. >> [INFO] Scanning for projects... >> [INFO] Searching repository for plugin with prefix: 'appfuse'. >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> GroupId: org.codehaus.mojo >> ArtifactId: mojo-sandbox >> Version: 2-SNAPSHOT >> >> Reason: Unable to download the artifact from any repository >> >> org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving >> version for 'org.codehaus.mojo:appfuse-maven-plugin': Unable to read the >> metadata file for artifact 'org.codehaus.mojo:appfuse-maven-plugin:pom': >> Cannot find parent: org.codehaus.mojo:mojo-sandbox for project: >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1266) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) >> >> at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> Caused by: >> org.apache.maven.plugin.version.PluginVersionResolutionException: >> Error resolving version for 'org.codehaus.mojo:appfuse-maven-plugin': >> Unable >> to read the metadata file for artifact >> 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: >> org.codehaus.mojo:mojo-sandbox for project: >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha >> at >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:681) >> >> at >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:186) >> >> at >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90) >> >> at >> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257) >> >> ... 14 more >> Caused by: >> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: >> Unable to read the metadata file for artifact >> 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: >> org.codehaus.mojo:mojo-sandbox for project: >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha >> at >> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:134) >> >> at >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:672) >> >> ... 18 more >> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot >> find >> parent: org.codehaus.mojo:mojo-sandbox for project: >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1261) >> >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:747) >> >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236) >> >> at >> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:105) >> >> ... 19 more >> Caused by: org.apache.maven.project.ProjectBuildingException: POM >> 'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable to >> download >> the artifact from any repository >> >> org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> for project org.codehaus.mojo:mojo-sandbox >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:573) >> >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1257) >> >> ... 22 more >> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: >> Unable to download the artifact from any repository >> >> org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> at >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197) >> >> at >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73) >> >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:526) >> >> ... 23 more >> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: >> Unable to >> download the artifact from any repository >> at >> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324) >> >> at >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185) >> >> ... 25 more >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: < 1 second >> [INFO] Finished at: Wed Jul 18 09:50:28 EEST 2007 >> [INFO] Final Memory: 1M/2M >> [INFO] >> ------------------------------------------------------------------------ >> --8<-- >> >> I'm using Ubuntu Linux 7.04 and the output of `mvn -version' is: >> >> --8<-- >> Maven version: 2.0.7 >> Java version: 1.5.0_11 >> OS name: "linux" version: "2.6.20-16-generic" arch: "i386" >> --8<-- >> >> Does anybody have an idea, what could be going wrong? >> >> Thanks, >> Thomas >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
mraible
|
You could always try creating an archetype with 2.0-rc1-SNAPSHOT and
see if that problem is fixed. Most issues with full-source seem to be caused by SVN and proxy issues. Matt On 7/20/07, tibi <[hidden email]> wrote: > even mvn jetty:run will not run any more. > > i had to retrieve my project as was before the full-source command to > get things working again. > > tibi > > tibi wrote: > > hi i have the same problem. > > > > anyone? > > > > my appfuse is a upgraded m4 to m5 struts base project > > > > thanks, > > > > tibi > > > > tweibel wrote: > >> Hi! > >> > >> I wanted to execute `mvn appfuse:full-source' in a newly created Appfuse > >> application with `JSF Basic' archetype and get the following error: > >> > >> --8<-- > >> + Error stacktraces are turned on. > >> [INFO] Scanning for projects... > >> [INFO] Searching repository for plugin with prefix: 'appfuse'. > >> [INFO] > >> ---------------------------------------------------------------------------- > >> > >> [INFO] Building AppFuse JSF Application > >> [INFO] task-segment: [appfuse:full-source] > >> [INFO] > >> ---------------------------------------------------------------------------- > >> > >> [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is > >> invalid. > >> It will be ignored for artifact resolution. Reason: Parse error > >> reading POM. > >> Reason: TEXT must be immediately followed by END_TAG and not START_TAG > >> (position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13) for > >> project org.hibernate:jtidy at > >> /home/thom/.m2/repository/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.pom > >> > >> [INFO] [appfuse:full-source] > >> [INFO] [AppFuse] Installing source from data modules... > >> [INFO] [AppFuse] Installing source from service module... > >> [INFO] [AppFuse] Installing source from web-common module... > >> [INFO] [AppFuse] Installing source from jsf module... > >> [INFO] [AppFuse] Source successfully exported, modifying pom.xml... > >> [INFO] [AppFuse] Removing maven-warpath-plugin... > >> [INFO] > >> ------------------------------------------------------------------------ > >> [ERROR] FATAL ERROR > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Couldn't rename temporary file /tmp/replace1522087824.txt > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Trace > >> Couldn't rename temporary file /tmp/replace1522087824.txt > >> at > >> org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.doReplace(ReplaceRegExp.java:431) > >> > >> at > >> org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.execute(ReplaceRegExp.java:491) > >> > >> at > >> org.appfuse.mojo.installer.InstallSourceMojo.removeWarpathPlugin(InstallSourceMojo.java:283) > >> > >> at > >> org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:128) > >> > >> at > >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) > >> > >> at > >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> > >> at > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> > >> at java.lang.reflect.Method.invoke(Method.java:585) > >> at > >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > >> at > >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Total time: 57 seconds > >> [INFO] Finished at: Wed Jul 18 09:47:58 EEST 2007 > >> [INFO] Final Memory: 5M/10M > >> [INFO] > >> ------------------------------------------------------------------------ > >> --8<-- > >> > >> When I execute `mnv appfuse:full-source' again, I get the following > >> error > >> > >> --8<-- > >> + Error stacktraces are turned on. > >> [INFO] Scanning for projects... > >> [INFO] Searching repository for plugin with prefix: 'appfuse'. > >> [INFO] > >> ------------------------------------------------------------------------ > >> [ERROR] BUILD ERROR > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Failed to resolve artifact. > >> > >> GroupId: org.codehaus.mojo > >> ArtifactId: mojo-sandbox > >> Version: 2-SNAPSHOT > >> > >> Reason: Unable to download the artifact from any repository > >> > >> org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > >> > >> from the specified remote repositories: > >> central (http://repo1.maven.org/maven2) > >> > >> > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Trace > >> org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving > >> version for 'org.codehaus.mojo:appfuse-maven-plugin': Unable to read the > >> metadata file for artifact 'org.codehaus.mojo:appfuse-maven-plugin:pom': > >> Cannot find parent: org.codehaus.mojo:mojo-sandbox for project: > >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1266) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) > >> > >> at > >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> > >> at > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> > >> at java.lang.reflect.Method.invoke(Method.java:585) > >> at > >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > >> at > >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >> Caused by: > >> org.apache.maven.plugin.version.PluginVersionResolutionException: > >> Error resolving version for 'org.codehaus.mojo:appfuse-maven-plugin': > >> Unable > >> to read the metadata file for artifact > >> 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: > >> org.codehaus.mojo:mojo-sandbox for project: > >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha > >> at > >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:681) > >> > >> at > >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:186) > >> > >> at > >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90) > >> > >> at > >> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166) > >> > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257) > >> > >> ... 14 more > >> Caused by: > >> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: > >> Unable to read the metadata file for artifact > >> 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: > >> org.codehaus.mojo:mojo-sandbox for project: > >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha > >> at > >> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:134) > >> > >> at > >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:672) > >> > >> ... 18 more > >> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot > >> find > >> parent: org.codehaus.mojo:mojo-sandbox for project: > >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > >> null:appfuse-maven-plugin:maven-plugin:2.0-alpha > >> at > >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1261) > >> > >> at > >> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:747) > >> > >> at > >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236) > >> > >> at > >> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:105) > >> > >> ... 19 more > >> Caused by: org.apache.maven.project.ProjectBuildingException: POM > >> 'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable to > >> download > >> the artifact from any repository > >> > >> org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > >> > >> from the specified remote repositories: > >> central (http://repo1.maven.org/maven2) > >> for project org.codehaus.mojo:mojo-sandbox > >> at > >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:573) > >> > >> at > >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1257) > >> > >> ... 22 more > >> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: > >> Unable to download the artifact from any repository > >> > >> org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > >> > >> from the specified remote repositories: > >> central (http://repo1.maven.org/maven2) > >> > >> at > >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197) > >> > >> at > >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73) > >> > >> at > >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:526) > >> > >> ... 23 more > >> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: > >> Unable to > >> download the artifact from any repository > >> at > >> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324) > >> > >> at > >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185) > >> > >> ... 25 more > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Total time: < 1 second > >> [INFO] Finished at: Wed Jul 18 09:50:28 EEST 2007 > >> [INFO] Final Memory: 1M/2M > >> [INFO] > >> ------------------------------------------------------------------------ > >> --8<-- > >> > >> I'm using Ubuntu Linux 7.04 and the output of `mvn -version' is: > >> > >> --8<-- > >> Maven version: 2.0.7 > >> Java version: 1.5.0_11 > >> OS name: "linux" version: "2.6.20-16-generic" arch: "i386" > >> --8<-- > >> > >> Does anybody have an idea, what could be going wrong? > >> > >> Thanks, > >> Thomas > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
mraible
|
In reply to this post
by tweibel
AppFuse's full-source plugin doesn't support iBATIS or JPA yet - maybe
that's the problem? Have you tried AppFuse Light's version? https://appfuse-light.dev.java.net/files/documents/6839/56629/appfuse-light-jsf-ibatis-1.8-beta.zip On 7/20/07, Saeed Iqbal <[hidden email]> wrote: > > I have the same problem and that is why i gave up and thought of moving to > appfuse light. > > Can anyone help me get 1 decent JSF/iBatis app started with Appfuse please? > i am struggling since last year !. :( > > Sorry if i sound frustrated because i am more of what i sound > -saeed > > > tweibel wrote: > > > > Hi! > > > > I wanted to execute `mvn appfuse:full-source' in a newly created Appfuse > > application with `JSF Basic' archetype and get the following error: > > > > --8<-- > > + Error stacktraces are turned on. > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'appfuse'. > > [INFO] > > ---------------------------------------------------------------------------- > > [INFO] Building AppFuse JSF Application > > [INFO] task-segment: [appfuse:full-source] > > [INFO] > > ---------------------------------------------------------------------------- > > [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is > > invalid. It will be ignored for artifact resolution. Reason: Parse error > > reading POM. Reason: TEXT must be immediately followed by END_TAG and not > > START_TAG (position: START_TAG seen ...<licenses>\n\t\t\t<license>... > > @12:13) for project org.hibernate:jtidy at > > /home/thom/.m2/repository/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.pom > > [INFO] [appfuse:full-source] > > [INFO] [AppFuse] Installing source from data modules... > > [INFO] [AppFuse] Installing source from service module... > > [INFO] [AppFuse] Installing source from web-common module... > > [INFO] [AppFuse] Installing source from jsf module... > > [INFO] [AppFuse] Source successfully exported, modifying pom.xml... > > [INFO] [AppFuse] Removing maven-warpath-plugin... > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] FATAL ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Couldn't rename temporary file /tmp/replace1522087824.txt > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Trace > > Couldn't rename temporary file /tmp/replace1522087824.txt > > at > > org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.doReplace(ReplaceRegExp.java:431) > > at > > org.apache.tools.ant.taskdefs.optional.ReplaceRegExp.execute(ReplaceRegExp.java:491) > > at > > org.appfuse.mojo.installer.InstallSourceMojo.removeWarpathPlugin(InstallSourceMojo.java:283) > > at > > org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:128) > > at > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > at > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 57 seconds > > [INFO] Finished at: Wed Jul 18 09:47:58 EEST 2007 > > [INFO] Final Memory: 5M/10M > > [INFO] > > ------------------------------------------------------------------------ > > --8<-- > > > > When I execute `mnv appfuse:full-source' again, I get the following error > > > > --8<-- > > + Error stacktraces are turned on. > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'appfuse'. > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Failed to resolve artifact. > > > > GroupId: org.codehaus.mojo > > ArtifactId: mojo-sandbox > > Version: 2-SNAPSHOT > > > > Reason: Unable to download the artifact from any repository > > > > org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Trace > > org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving > > version for 'org.codehaus.mojo:appfuse-maven-plugin': Unable to read the > > metadata file for artifact 'org.codehaus.mojo:appfuse-maven-plugin:pom': > > Cannot find parent: org.codehaus.mojo:mojo-sandbox for project: > > null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > > null:appfuse-maven-plugin:maven-plugin:2.0-alpha > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1266) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > at > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > Caused by: > > org.apache.maven.plugin.version.PluginVersionResolutionException: Error > > resolving version for 'org.codehaus.mojo:appfuse-maven-plugin': Unable to > > read the metadata file for artifact > > 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: > > org.codehaus.mojo:mojo-sandbox for project: > > null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > > null:appfuse-maven-plugin:maven-plugin:2.0-alpha > > at > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:681) > > at > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:186) > > at > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90) > > at > > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257) > > ... 14 more > > Caused by: > > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: > > Unable to read the metadata file for artifact > > 'org.codehaus.mojo:appfuse-maven-plugin:pom': Cannot find parent: > > org.codehaus.mojo:mojo-sandbox for project: > > null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > > null:appfuse-maven-plugin:maven-plugin:2.0-alpha > > at > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:134) > > at > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:672) > > ... 18 more > > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find > > parent: org.codehaus.mojo:mojo-sandbox for project: > > null:appfuse-maven-plugin:maven-plugin:2.0-alpha for project > > null:appfuse-maven-plugin:maven-plugin:2.0-alpha > > at > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1261) > > at > > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:747) > > at > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236) > > at > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:105) > > ... 19 more > > Caused by: org.apache.maven.project.ProjectBuildingException: POM > > 'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable to > > download the artifact from any repository > > > > org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > for project org.codehaus.mojo:mojo-sandbox > > at > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:573) > > at > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1257) > > ... 22 more > > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: > > Unable to download the artifact from any repository > > > > org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > at > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197) > > at > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73) > > at > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:526) > > ... 23 more > > Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to > > download the artifact from any repository > > at > > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324) > > at > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185) > > ... 25 more > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: < 1 second > > [INFO] Finished at: Wed Jul 18 09:50:28 EEST 2007 > > [INFO] Final Memory: 1M/2M > > [INFO] > > ------------------------------------------------------------------------ > > --8<-- > > > > I'm using Ubuntu Linux 7.04 and the output of `mvn -version' is: > > > > --8<-- > > Maven version: 2.0.7 > > Java version: 1.5.0_11 > > OS name: "linux" version: "2.6.20-16-generic" arch: "i386" > > --8<-- > > > > Does anybody have an idea, what could be going wrong? > > > > Thanks, > > Thomas > > > > -- > View this message in context: http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a11717145 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
Saeed Iqbal
|
With appfuse-light, somewhere it is calling postgre specific method nextval and i'm getting this error. I am surprized nobody else found it before me in the mailing list because i searched for it. Anyway i would appreciate some documentation on this for mysql users.
Could not obtain sequence value; nested exception is com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: FUNCTION appfuse_light.nextval does not exist org.springframework.dao.DataAccessResourceFailureException: Could not obtain sequence value; nested exception is com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: FUNCTION appfuse_light.nextval does not existCaused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: FUNCTION appfuse_light.nextval does not exist at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) at com.mysql.jdbc.Connection.execSQL(Connection.java:3170) at com.mysql.jdbc.Connection.execSQL(Connection.java:3099) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1169) at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) at org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer.getNextKey(AbstractSequenceMaxValueIncrementer.java:46) at org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer.nextLongValue(AbstractDataFieldMaxValueIncrementer.java:102) at org.appfuse.dao.ibatis.UserDaoiBatis.saveUser(UserDaoiBatis.java:43) at org.appfuse.service.impl.UserManagerImpl.saveUser(UserManagerImpl.java:26) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) at $Proxy0.saveUser(Unknown Source) at org.appfuse.web.UserFormTest.setUp(UserFormTest.java:24 appfuse_light.nextval
|
|
Saeed Iqbal
|
In reply to this post
by mraible
Matt I tried to go back to appfuse strong after trying out light.
When i change stuff to ibatis as mentioned here http://appfuse.org/display/APF/Using+iBATIS , i am fairly successful. as in the project gets downloaded when i say mvn appfuse:full-source But now when i do jetty:run-war it does not see some packages. d:\devhome\appfuse\myproject\src\main\java\org\appfuse\model\User.java:[23,24] package javax.persistence does not exist Now when i open eclipse i also see that the imports defined on the top have errors, cannot find the class. So now it points to maven repository in the build path it has variable M2_REPO but that variable is not defined. Do we have to define it? If so then what is the path? Thanks very much. I am trying my best to get started with this just hope some help from the community will go a long way. I am also willing to contribute to appfuse after i am started by improving documentation for jsf/ibatis.. also seeing how we can implement jsf-spring library for RESTful urls and other benefits. things like that. -saeed
|
||||||||||||||||
|
tweibel
|
In reply to this post
by mraible
Thanks for your answer. I tried to do it with 2.0-rc1-SNAPSHOT, but got the exact same error. Thomas |
||||||||||||||||
|
mraible
|
As I mentioned earlier, the full-source plugin does not handle iBATIS.
I hope to add this support before 2.0 Final. Matt On 7/24/07, tweibel <[hidden email]> wrote: > > > mraible wrote: > > > > You could always try creating an archetype with 2.0-rc1-SNAPSHOT and > > see if that problem is fixed. Most issues with full-source seem to be > > caused by SVN and proxy issues. > > > > Matt > > Thanks for your answer. > > I tried to do it with 2.0-rc1-SNAPSHOT, but got the exact same error. > > Thomas > -- > View this message in context: http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a11757542 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
tweibel
|
I'm not using iBATIS, or not that I'm aware of. All I did, was running: mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-m5 -DgroupId=com.mycompany.app -DartifactId=myproject and then I tried running mvn appfuse:full-source Thomas |
||||||||||||||||
|
mraible
|
Unfortunately, I'm unable to reproduce this issue on my MacBook Pro.
[INFO] [appfuse:full-source] [INFO] [AppFuse] Installing source from data modules... [INFO] [AppFuse] Installing source from service module... [INFO] [AppFuse] Installing source from web-common module... [INFO] [AppFuse] Installing source from spring module... [INFO] [AppFuse] Source successfully exported, modifying pom.xml... [INFO] [AppFuse] Removing maven-warpath-plugin... [INFO] [AppFuse] Adding dependencies from 'root' module... [INFO] [AppFuse] Adding dependencies from 'hibernate' module... [INFO] [AppFuse] Adding dependencies from 'service' module... [ maven embedder WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for xfire/jars/opensaml-1.0.1.jar - IGNORING [ maven embedder WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for xfire/jars/saaj-impl-1.3.jar - IGNORING [INFO] [AppFuse] Adding dependencies from 'web-common' module... [ maven embedder WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for jmock/jars/jmock-1.0.1.jar - IGNORING [INFO] [AppFuse] Adding dependencies from 'spring' module... [INFO] [AppFuse] Removing maven-warpath-plugin... [INFO] [AppFuse] Getting properties from 'appfuse' module... [INFO] [AppFuse] Updated dependencies in pom.xml... [INFO] [AppFuse] Yeehaw - it worked! Unfortunately, this plugin doesn't rename packages yet, but it will in 2.0 Final [INFO] [AppFuse] If you manually rename your packages, make sure and set <amp.fullSource> to true. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5 minutes 27 seconds [INFO] Finished at: Tue Jul 24 07:33:17 MDT 2007 [INFO] Final Memory: 7M/21M [INFO] ------------------------------------------------------------------------ mraible-mn:~/dev/myproject mraible$ I can upload "myproject" so you can download it if you like. Matt On 7/24/07, tweibel <[hidden email]> wrote: > > > mraible wrote: > > > > As I mentioned earlier, the full-source plugin does not handle iBATIS. > > I hope to add this support before 2.0 Final. > > I'm not using iBATIS, or not that I'm aware of. All I did, was running: > > mvn archetype:create -DarchetypeGroupId=org.appfuse > -DarchetypeArtifactId=appfuse-basic-spring > -DremoteRepositories=http://static.appfuse.org/repository > -DarchetypeVersion=2.0-m5 -DgroupId=com.mycompany.app -DartifactId=myproject > > and then I tried running > > mvn appfuse:full-source > > Thomas > -- > View this message in context: http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a11762217 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
tweibel
|
I found the following bug report in the AFS bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=34633 That would be really great. Thanks, Thomas |
||||||||||||||||
|
mraible
|
It might take me a while to get this uploaded - I'm traveling to
Portland this morning and speaking at OSCON this afternoon. I should be able to do it later tonight. In the meantime, you might try a different machine or ask a friend to create the project for you. Matt On 7/25/07, tweibel <[hidden email]> wrote: > > > mraible wrote: > > > > Unfortunately, I'm unable to reproduce this issue on my MacBook Pro. > > I found the following bug report in the AFS bugzilla: > http://issues.apache.org/bugzilla/show_bug.cgi?id=34633 > > > mraible wrote: > > > > I can upload "myproject" so you can download it if you like. > > That would be really great. > > Thanks, > Thomas > -- > View this message in context: > http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a11778463 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
mraible
|
http://static.appfuse.org/downloads/myproject-springmvc-basic-fullsource.zip
On 7/25/07, Matt Raible <[hidden email]> wrote: > It might take me a while to get this uploaded - I'm traveling to > Portland this morning and speaking at OSCON this afternoon. I should > be able to do it later tonight. In the meantime, you might try a > different machine or ask a friend to create the project for you. > > Matt > > > On 7/25/07, tweibel <[hidden email]> wrote: > > > > > > mraible wrote: > > > > > > Unfortunately, I'm unable to reproduce this issue on my MacBook Pro. > > > > I found the following bug report in the AFS bugzilla: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=34633 > > > > > > mraible wrote: > > > > > > I can upload "myproject" so you can download it if you like. > > > > That would be really great. > > > > Thanks, > > Thomas > > -- > > View this message in context: > > http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a11778463 > > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > -- > http://raibledesigns.com > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
tweibel
|
Thank you very much! Thomas |
||||||||||||||||
|
kares
|
In reply to this post
by tweibel
OK, wel I found a way to "fix" this full-source issue.
Please note that it is still reproducable with AppFuse 2.0 final. It's definitely an Ant 1.6.5 bug (see the bugzilla bellow) ... might be reproduced under linux and windows, it might not be under Mac, as it is a "File.createTempFile() and then rename it" issue I guess (that is why the pom.xml was lost because it's deleted to be replaced by the new one from the temp dir). I've changed my local maven configuration to not use Ant 1.6.5 but rather 1.7.0 and the appfuse:full-source did finally work for me. Go to {MAVEN-REPO}/org/codehaus/mojo/appfuse-maven-plugin/2.0/appfuse-maven-plugin-2.0.pom and change the dependencies on Ant 1.6.5 to 1.7.0: <!-- <dependency> <groupId>ant</groupId> <artifactId>ant</artifactId> <version>1.6.5</version> </dependency> <dependency> <groupId>ant</groupId> <artifactId>ant-optional</artifactId> <version>1.5.3-1</version> </dependency> --> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.7.0</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-nodeps</artifactId> <version>1.7.0</version> </dependency> Hope it will work as it did for ME, good luck !
|
||||||||||||||||
|
mraible
|
Can you enter an issue for this in JIRA? Even though I can't reproduce
your issue, it sounds like a reasonable fix. http://issues.appfuse.org/browse/APF Matt On 9/20/07, kares <[hidden email]> wrote: > > OK, wel I found a way to "fix" this full-source issue. > > Please note that it is still reproducable with AppFuse 2.0 final. > It's definitely an Ant 1.6.5 bug (see the bugzilla bellow) ... might be > reproduced under linux and windows, it might not be under Mac, as it is a > "File.createTempFile() and then rename it" issue I guess (that is why the > pom.xml was lost because it's deleted to be replaced by the new one from the > temp dir). > > I've changed my local maven configuration to not use Ant 1.6.5 but rather > 1.7.0 and the appfuse:full-source did finally work for me. > > Go to > {MAVEN-REPO}/org/codehaus/mojo/appfuse-maven-plugin/2.0/appfuse-maven-plugin-2.0.pom > and change the dependencies on Ant 1.6.5 to 1.7.0: > > <!-- > <dependency> > <groupId>ant</groupId> > <artifactId>ant</artifactId> > <version>1.6.5</version> > </dependency> > <dependency> > <groupId>ant</groupId> > <artifactId>ant-optional</artifactId> > <version>1.5.3-1</version> > </dependency> > --> > <dependency> > <groupId>org.apache.ant</groupId> > <artifactId>ant</artifactId> > <version>1.7.0</version> > </dependency> > <dependency> > <groupId>org.apache.ant</groupId> > <artifactId>ant-nodeps</artifactId> > <version>1.7.0</version> > </dependency> > > Hope it will work as it did for ME, good luck ! > > > > tweibel wrote: > > > > > > mraible wrote: > >> > >> Unfortunately, I'm unable to reproduce this issue on my MacBook Pro. > > > > I found the following bug report in the AFS bugzilla: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=34633 > > > > > > mraible wrote: > >> > >> I can upload "myproject" so you can download it if you like. > > > > That would be really great. > > > > Thanks, > > Thomas > > > > -- > View this message in context: http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a12795627 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
mraible
|
I've entered this in JIRA and I'm testing your suggested fix now.
http://issues.appfuse.org/browse/APF-906 Thanks! Matt On 9/20/07, Matt Raible <[hidden email]> wrote: > Can you enter an issue for this in JIRA? Even though I can't reproduce > your issue, it sounds like a reasonable fix. > > http://issues.appfuse.org/browse/APF > > Matt > > On 9/20/07, kares <[hidden email]> wrote: > > > > OK, wel I found a way to "fix" this full-source issue. > > > > Please note that it is still reproducable with AppFuse 2.0 final. > > It's definitely an Ant 1.6.5 bug (see the bugzilla bellow) ... might be > > reproduced under linux and windows, it might not be under Mac, as it is a > > "File.createTempFile() and then rename it" issue I guess (that is why the > > pom.xml was lost because it's deleted to be replaced by the new one from the > > temp dir). > > > > I've changed my local maven configuration to not use Ant 1.6.5 but rather > > 1.7.0 and the appfuse:full-source did finally work for me. > > > > Go to > > {MAVEN-REPO}/org/codehaus/mojo/appfuse-maven-plugin/2.0/appfuse-maven-plugin-2.0.pom > > and change the dependencies on Ant 1.6.5 to 1.7.0: > > > > <!-- > > <dependency> > > <groupId>ant</groupId> > > <artifactId>ant</artifactId> > > <version>1.6.5</version> > > </dependency> > > <dependency> > > <groupId>ant</groupId> > > <artifactId>ant-optional</artifactId> > > <version>1.5.3-1</version> > > </dependency> > > --> > > <dependency> > > <groupId>org.apache.ant</groupId> > > <artifactId>ant</artifactId> > > <version>1.7.0</version> > > </dependency> > > <dependency> > > <groupId>org.apache.ant</groupId> > > <artifactId>ant-nodeps</artifactId> > > <version>1.7.0</version> > > </dependency> > > > > Hope it will work as it did for ME, good luck ! > > > > > > > > tweibel wrote: > > > > > > > > > mraible wrote: > > >> > > >> Unfortunately, I'm unable to reproduce this issue on my MacBook Pro. > > > > > > I found the following bug report in the AFS bugzilla: > > > http://issues.apache.org/bugzilla/show_bug.cgi?id=34633 > > > > > > > > > mraible wrote: > > >> > > >> I can upload "myproject" so you can download it if you like. > > > > > > That would be really great. > > > > > > Thanks, > > > Thomas > > > > > > > -- > > View this message in context: http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a12795627 > > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > -- > http://raibledesigns.com > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
kares
|
Well, Your definitely faster then I am ;-) I did it too: http://issues.appfuse.org/browse/APF-907 Karol
|
||||||||||||||||
|
mraible
|
No worries - I linked my issue to yours since you provided a better description.
Thanks! Matt On 9/20/07, kares <[hidden email]> wrote: > > > Well, Your definitely faster then I am ;-) > > I did it too: http://issues.appfuse.org/browse/APF-907 > > Karol > > > > mraible wrote: > > > > I've entered this in JIRA and I'm testing your suggested fix now. > > > > http://issues.appfuse.org/browse/APF-906 > > > > Thanks! > > > > Matt > > > > On 9/20/07, Matt Raible <[hidden email]> wrote: > >> Can you enter an issue for this in JIRA? Even though I can't reproduce > >> your issue, it sounds like a reasonable fix. > >> > >> http://issues.appfuse.org/browse/APF > >> > >> Matt > >> > >> On 9/20/07, kares <[hidden email]> wrote: > >> > > >> > OK, wel I found a way to "fix" this full-source issue. > >> > > >> > Please note that it is still reproducable with AppFuse 2.0 final. > >> > It's definitely an Ant 1.6.5 bug (see the bugzilla bellow) ... might be > >> > reproduced under linux and windows, it might not be under Mac, as it is > >> a > >> > "File.createTempFile() and then rename it" issue I guess (that is why > >> the > >> > pom.xml was lost because it's deleted to be replaced by the new one > >> from the > >> > temp dir). > >> > > >> > I've changed my local maven configuration to not use Ant 1.6.5 but > >> rather > >> > 1.7.0 and the appfuse:full-source did finally work for me. > >> > > >> > Go to > >> > > >> {MAVEN-REPO}/org/codehaus/mojo/appfuse-maven-plugin/2.0/appfuse-maven-plugin-2.0.pom > >> > and change the dependencies on Ant 1.6.5 to 1.7.0: > >> > > >> > <!-- > >> > <dependency> > >> > <groupId>ant</groupId> > >> > <artifactId>ant</artifactId> > >> > <version>1.6.5</version> > >> > </dependency> > >> > <dependency> > >> > <groupId>ant</groupId> > >> > <artifactId>ant-optional</artifactId> > >> > <version>1.5.3-1</version> > >> > </dependency> > >> > --> > >> > <dependency> > >> > <groupId>org.apache.ant</groupId> > >> > <artifactId>ant</artifactId> > >> > <version>1.7.0</version> > >> > </dependency> > >> > <dependency> > >> > <groupId>org.apache.ant</groupId> > >> > <artifactId>ant-nodeps</artifactId> > >> > <version>1.7.0</version> > >> > </dependency> > >> > > >> > Hope it will work as it did for ME, good luck ! > >> > > >> > > >> > > >> > tweibel wrote: > >> > > > >> > > > >> > > mraible wrote: > >> > >> > >> > >> Unfortunately, I'm unable to reproduce this issue on my MacBook Pro. > >> > > > >> > > I found the following bug report in the AFS bugzilla: > >> > > http://issues.apache.org/bugzilla/show_bug.cgi?id=34633 > >> > > > >> > > > >> > > mraible wrote: > >> > >> > >> > >> I can upload "myproject" so you can download it if you like. > >> > > > >> > > That would be really great. > >> > > > >> > > Thanks, > >> > > Thomas > >> > > > >> > > >> > -- > >> > View this message in context: > >> http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a12795627 > >> > Sent from the AppFuse - User mailing list archive at Nabble.com. > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [hidden email] > >> > For additional commands, e-mail: [hidden email] > >> > > >> > > >> > >> > >> -- > >> http://raibledesigns.com > >> > > > > > > -- > > http://raibledesigns.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > > -- > View this message in context: http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a12796467 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |