Re: [Esciencecentral-users] FW: Problem trying to create a new empty block
Cloud based scientific data analysis
Status: Beta
Brought to you by:
sjwoodman
|
From: Jacek C. <jac...@ne...> - 2014-12-03 14:21:44
|
Just for the records. The issue with Cp1252 appeared when building with the old version of maven (2.X). With the recent maven 3.2 it builds fine. Jacek /yatsek/ -----Original Message----- From: Jacek Cala Sent: 03 December 2014 13:55 To: esc...@li... Subject: Re: [Esciencecentral-users] FW: Problem trying to create a new empty block At the moment It looks like only this class but I thought that if I set UTF-8 in the parent everything should be treated as UTF-8. And I also work on Windows and have no issues with it... Chances are he uses wrong maven version. Jacek /yatsek/ -----Original Message----- From: Simon Woodman Sent: 03 December 2014 13:49 To: esc...@li... Subject: Re: [Esciencecentral-users] FW: Problem trying to create a new empty block No but you could try deleting the OpenIDServlet as it's not used. Is the problem only in this class? S. > On 3 Dec 2014, at 13:46, Jacek Cala <jac...@ne...> wrote: > > Hi, > > Giovanni has some issue with building e-SC sources on Windows. Strangely, there's a problem of character encoding. I don't understand why because the parent project is set to use UTF-8. Have anyone else got an solution to that? > > Cheers, > Jacek /yatsek/ > > > From: Giovanni Farias [mailto:gio...@gm...] > Sent: 03 December 2014 13:38 > To: Jacek Cala > Subject: Re: Problem trying to create a new empty block > > Hi Jacek, > > Thanks! > I haven't build the whole project before. I've tryied it, but it is failing. > Have you ever seen this error? > > [INFO] > ---------------------------------------------------------------------- > -- > [ERROR] BUILD FAILURE > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Compilation failure > C:\Users\cmdadmin\Documents\giovanni\workspace\eSC-trunk\code\server\W > ebsite\src > \main\java\com\connexience\server\web\login\OpenIDServlet.java:[2,28] > error: unm appable character for encoding Cp1252 > > > [INFO] > ---------------------------------------------------------------------- > -- > [DEBUG] Trace > org.apache.maven.BuildFailureException: Compilation failure > C:\Users\cmdadmin\Documents\giovanni\workspace\eSC-trunk\code\server\W > ebsite\src > \main\java\com\connexience\server\web\login\OpenIDServlet.java:[2,28] > error: unm appable character for encoding Cp1252 > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:715) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:535) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:348) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:180) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6 > 0) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > 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.CompilationFailureException: > Compilation fail ure > C:\Users\cmdadmin\Documents\giovanni\workspace\eSC-trunk\code\server\W > ebsite\src > \main\java\com\connexience\server\web\login\OpenIDServlet.java:[2,28] > error: unm appable character for encoding Cp1252 > > > at > org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler > Mojo.java:516) > at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:490) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:694) > ... 17 more > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Total time: 53 seconds > [INFO] Finished at: Wed Dec 03 13:15:42 GMT 2014 [INFO] Final Memory: > 130M/746M [INFO] > ---------------------------------------------------------------------- > -- > > On Wed, Dec 3, 2014 at 1:00 PM, Jacek Cala <jac...@ne...> wrote: > Have you build the whole project? If not, try first 'mvn clean > install' in the 'code' directory, then build archetypes, and then you > can use them. I guess this needs to be clearly stated in the > instructions... > > Cheers, > Jacek /yatsek/ > > From: Giovanni Farias [mailto:gio...@gm...] > Sent: 03 December 2014 11:22 > To: Jacek Cala > Subject: Problem trying to create a new empty block > > Hi Jacek, > > I'm having some problems with creating new block. > Following the instruction here, the command reported me "The desired archetype does not exist (com.connexience:workflow-block-java:3.1-SNAPSHOT)", then, I followed the instructionshere to build the archetype project, but it is failing to resolve some artifacts. > I've already tryed with maven version 2.2.0 and 3.2.3 neither worked out. > > Is it possible that some of the referenced maven repository is down? > > Follows the error output: > > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) com.connexience:api-model:jar:3.1-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.connexience > -DartifactId=api-model -Dversion=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file there: > > mvn deploy:deploy-file -DgroupId=com.connexience > -DartifactId=api-model -D version=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -Dreposito ryId=[id] > > Path to dependency: > 1) com.connexience:upload-plugin:maven-plugin:3.1-SNAPSHOT > 2) com.connexience:api-model:jar:3.1-SNAPSHOT > > 2) com.connexience:server-common:jar:3.1-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.connexience > -DartifactId=server-com mon -Dversion=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file there: > > mvn deploy:deploy-file -DgroupId=com.connexience > -DartifactId=server-commo n -Dversion=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -Drepo sitoryId=[id] > > Path to dependency: > 1) com.connexience:upload-plugin:maven-plugin:3.1-SNAPSHOT > 2) com.connexience:server-common:jar:3.1-SNAPSHOT > > ---------- > 2 required artifacts are missing. > > for artifact: > com.connexience:upload-plugin:maven-plugin:3.1-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > swing-layout (http://repo1.maven.org/maven2/), > escRepo (http://esciencecentral.co.uk/artifactory/libs-release-local), > jets3t (http://jets3t.s3.amazonaws.com/maven2), > esc-deps-repo (http://esciencecentral.co.uk/artifactory/ext-release-local), > jboss-public-repository-group > (https://repository.jboss.org/nexus/content/grou > ps/public-jboss/), > mvnrepository (http://mvnrepository.com/artifact/), > junitee (http://junitee.sourceforge.net/repository/) > > > > [INFO] > ---------------------------------------------------------------------- > -- > [DEBUG] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Missing: > ---------- > 1) com.connexience:api-model:jar:3.1-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.connexience > -DartifactId=api-model -Dversion=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file there: > > mvn deploy:deploy-file -DgroupId=com.connexience > -DartifactId=api-model -D version=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -Dreposito ryId=[id] > > Path to dependency: > 1) com.connexience:upload-plugin:maven-plugin:3.1-SNAPSHOT > 2) com.connexience:api-model:jar:3.1-SNAPSHOT > > 2) com.connexience:server-common:jar:3.1-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.connexience > -DartifactId=server-com mon -Dversion=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file there: > > mvn deploy:deploy-file -DgroupId=com.connexience > -DartifactId=server-commo n -Dversion=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -Drepo sitoryId=[id] > > Path to dependency: > 1) com.connexience:upload-plugin:maven-plugin:3.1-SNAPSHOT > 2) com.connexience:server-common:jar:3.1-SNAPSHOT > > ---------- > 2 required artifacts are missing. > > for artifact: > com.connexience:upload-plugin:maven-plugin:3.1-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > swing-layout (http://repo1.maven.org/maven2/), > escRepo (http://esciencecentral.co.uk/artifactory/libs-release-local), > jets3t (http://jets3t.s3.amazonaws.com/maven2), > esc-deps-repo (http://esciencecentral.co.uk/artifactory/ext-release-local), > jboss-public-repository-group > (https://repository.jboss.org/nexus/content/grou > ps/public-jboss/), > mvnrepository (http://mvnrepository.com/artifact/), > junitee (http://junitee.sourceforge.net/repository/) > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:695) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:540) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:519) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:371) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:332) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:181) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:4 > 1) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > 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.artifact.resolver.MultipleArtifactsNotFoundException > : Missing: > ---------- > 1) com.connexience:api-model:jar:3.1-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.connexience > -DartifactId=api-model -Dversion=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file there: > > mvn deploy:deploy-file -DgroupId=com.connexience > -DartifactId=api-model -D version=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -Dreposito ryId=[id] > > Path to dependency: > 1) com.connexience:upload-plugin:maven-plugin:3.1-SNAPSHOT > 2) com.connexience:api-model:jar:3.1-SNAPSHOT > > 2) com.connexience:server-common:jar:3.1-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.connexience > -DartifactId=server-com mon -Dversion=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file there: > > mvn deploy:deploy-file -DgroupId=com.connexience > -DartifactId=server-commo n -Dversion=3.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -Drepo sitoryId=[id] > > Path to dependency: > 1) com.connexience:upload-plugin:maven-plugin:3.1-SNAPSHOT > 2) com.connexience:server-common:jar:3.1-SNAPSHOT > > ---------- > 2 required artifacts are missing. > > for artifact: > com.connexience:upload-plugin:maven-plugin:3.1-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > swing-layout (http://repo1.maven.org/maven2/), > escRepo (http://esciencecentral.co.uk/artifactory/libs-release-local), > jets3t (http://jets3t.s3.amazonaws.com/maven2), > esc-deps-repo (http://esciencecentral.co.uk/artifactory/ext-release-local), > jboss-public-repository-group > (https://repository.jboss.org/nexus/content/grou > ps/public-jboss/), > mvnrepository (http://mvnrepository.com/artifact/), > junitee (http://junitee.sourceforge.net/repository/) > > > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra > nsitively(DefaultArtifactResolver.java:360) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra > nsitively(DefaultArtifactResolver.java:304) > at > org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDepende > ncies(DefaultPluginManager.java:1492) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:435) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:678) > ... 17 more > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Total time: 8 seconds > [INFO] Finished at: Wed Dec 03 11:05:07 GMT 2014 [INFO] Final Memory: > 26M/347M [INFO] > ---------------------------------------------------------------------- > -- > > > > > Cheers, > Giovanni > > ---------------------------------------------------------------------- > -------- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT > Server from Actuate! Instantly Supercharge Your Business Reports and > Dashboards with Interactivity, Sharing, Native Excel Exports, App > Integration & more Get technology previously reserved for > billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg. > clktrk_______________________________________________ > Esciencecentral-users mailing list > Esc...@li... > https://lists.sourceforge.net/lists/listinfo/esciencecentral-users -- Simon Woodman Research Associate Newcastle University sim...@nc... sim...@gm... ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Esciencecentral-users mailing list Esc...@li... https://lists.sourceforge.net/lists/listinfo/esciencecentral-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Esciencecentral-users mailing list Esc...@li... https://lists.sourceforge.net/lists/listinfo/esciencecentral-users |