[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 13:46:39
|
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\Website\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\Website\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\Website\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...<mailto: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...<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<http://sourceforge.net/p/esciencecentral/wiki/Tutorial/>, the command reported me "The desired archetype does not exist (com.connexience:workflow-block-java:3.1-SNAPSHOT)", then, I followed the instructions here<http://sourceforge.net/p/esciencecentral/wiki/Tutorial-Maven%20Archetypes/#building-archetypes> 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
|