building eid-console from TRUNK SVN

15 views
Skip to first unread message

Vincent

unread,
Oct 26, 2010, 4:28:09 AM10/26/10
to eID Applet
Hi,

I can't build eid-console.

Here, console log messages :
--
mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] FedICT eID Console Project
[INFO] eID Console Web Application
[INFO] eID Console Runtime
[INFO] eID Console Package
[INFO]
------------------------------------------------------------------------
[INFO] Building FedICT eID Console Project
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/bux/beid-runtime/trunk/eid-console/pom.xml to /
home/bux/.m2/repository/be/fedict/eid-console/1.0.0-SNAPSHOT/eid-
console-1.0.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building eID Console Web Application
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [dependency:copy {execution: copy}]
[INFO] Configured Artifact: be.fedict.eid-applet:eid-applet-
package:?:jar
Downloading:
http://archiva.openqa.org/repository/snapshots/be/fedict/eid-applet/eid-applet-package/1.0.2-SNAPSHOT/eid-applet-package-1.0.2-SNAPSHOT.jar
[INFO] Unable to find resource 'be.fedict.eid-applet:eid-applet-
package:jar:1.0.2-SNAPSHOT' in repository openqa-snapshots (http://
archiva.openqa.org/repository/snapshots)
Downloading:
http://svn.codehaus.org/fest/m2/repo//be/fedict/eid-applet/eid-applet-package/1.0.2-SNAPSHOT/eid-applet-package-1.0.2-SNAPSHOT.jar
[INFO] Unable to find resource 'be.fedict.eid-applet:eid-applet-
package:jar:1.0.2-SNAPSHOT' in repository Codehaus SVN Repository
(http://svn.codehaus.org/fest/m2/repo/)
Downloading:
http://shibboleth.internet2.edu/downloads/maven2//be/fedict/eid-applet/eid-applet-package/1.0.2-SNAPSHOT/eid-applet-package-1.0.2-SNAPSHOT.jar
[INFO] Unable to find resource 'be.fedict.eid-applet:eid-applet-
package:jar:1.0.2-SNAPSHOT' in repository shibboleth (http://
shibboleth.internet2.edu/downloads/maven2/)
Downloading:
http://snapshots.jboss.org/maven2//be/fedict/eid-applet/eid-applet-package/1.0.2-SNAPSHOT/eid-applet-package-1.0.2-SNAPSHOT.jar
[INFO] Unable to find resource 'be.fedict.eid-applet:eid-applet-
package:jar:1.0.2-SNAPSHOT' in repository jboss-snapshot (http://
snapshots.jboss.org/maven2/)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to find artifact.

Embedded error: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=be.fedict.eid-applet -
DartifactId=eid-applet-package -Dversion=1.0.2-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=be.fedict.eid-applet -
DartifactId=eid-applet-package -Dversion=1.0.2-SNAPSHOT -
Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


be.fedict.eid-applet:eid-applet-package:jar:1.0.2-SNAPSHOT

from the specified remote repositories:
jboss-snapshot (http://snapshots.jboss.org/maven2/),
Codehaus SVN Repository (http://svn.codehaus.org/fest/m2/repo/),
shibboleth (http://shibboleth.internet2.edu/downloads/maven2/),
jboss.org (http://repository.jboss.org/maven2/),
nexus-jboss.org (https://repository.jboss.org/nexus/content/
repositories/releases/),
central (http://repo1.maven.org/maven2),
maven-java.net (http://download.java.net/maven/1/),
openqa-snapshots (http://archiva.openqa.org/repository/snapshots),
java.net (http://download.java.net/maven/2/),
openqa (http://archiva.openqa.org/repository/releases/),
caucho (http://caucho.com/m2/)


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to find
artifact.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
719)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:
556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
535)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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:
60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
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.MojoExecutionException: Unable to
find artifact.
at
org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getArtifact(AbstractFromConfigurationMojo.java:
250)
at
org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getProcessedArtifactItems(AbstractFromConfigurationMojo.java:
143)
at
org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo.execute(CopyMojo.java:
69)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
694)
... 17 more
Caused by:
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=be.fedict.eid-applet -
DartifactId=eid-applet-package -Dversion=1.0.2-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=be.fedict.eid-applet -
DartifactId=eid-applet-package -Dversion=1.0.2-SNAPSHOT -
Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


be.fedict.eid-applet:eid-applet-package:jar:1.0.2-SNAPSHOT

from the specified remote repositories:
jboss-snapshot (http://snapshots.jboss.org/maven2/),
Codehaus SVN Repository (http://svn.codehaus.org/fest/m2/repo/),
shibboleth (http://shibboleth.internet2.edu/downloads/maven2/),
jboss.org (http://repository.jboss.org/maven2/),
nexus-jboss.org (https://repository.jboss.org/nexus/content/
repositories/releases/),
central (http://repo1.maven.org/maven2),
maven-java.net (http://download.java.net/maven/1/),
openqa-snapshots (http://archiva.openqa.org/repository/snapshots),
java.net (http://download.java.net/maven/2/),
openqa (http://archiva.openqa.org/repository/releases/),
caucho (http://caucho.com/m2/)


at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
228)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
90)
at
org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getArtifact(AbstractFromConfigurationMojo.java:
242)
... 21 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:
404)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
216)
... 23 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Thu Oct 21 14:51:02 CEST 2010
[INFO] Final Memory: 21M/52M
[INFO]
------------------------------------------------------------------------
--

Regards.

Vincent.

Frank Cornelis

unread,
Oct 27, 2010, 7:43:38 AM10/27/10
to eid-a...@googlegroups.com
Hi Vincent,


You first need to build the eID Applet.


Kind Regards,
Frank.

> --
> You received this message because you are subscribed to the Google Groups "eID Applet" group.
> To post to this group, send email to eid-a...@googlegroups.com.
> To unsubscribe from this group, send email to eid-applet+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/eid-applet?hl=en.
>

Vincent

unread,
Oct 28, 2010, 2:29:16 AM10/28/10
to eID Applet
PS : When I say TRUNK, I say eid-mw svn TRUNK .

Vincent

unread,
Oct 28, 2010, 2:25:19 AM10/28/10
to eID Applet
Thanks for your answer.

Building TRUNK builds automatically eid-copnsole. So, if eID Applet is
not built, building TRUNK fails. This should appear in the
documentation (eg in README file).
> >http://archiva.openqa.org/repository/snapshots/be/fedict/eid-applet/e...
> > [INFO] Unable to find resource 'be.fedict.eid-applet:eid-applet-
> > package:jar:1.0.2-SNAPSHOT' in repository openqa-snapshots (http://
> > archiva.openqa.org/repository/snapshots)
> > Downloading:
> >http://svn.codehaus.org/fest/m2/repo//be/fedict/eid-applet/eid-applet...
> > [INFO] Unable to find resource 'be.fedict.eid-applet:eid-applet-
> > package:jar:1.0.2-SNAPSHOT' in repository Codehaus SVN Repository
> > (http://svn.codehaus.org/fest/m2/repo/)
> > Downloading:
> >http://shibboleth.internet2.edu/downloads/maven2//be/fedict/eid-apple...
> > [INFO] Unable to find resource 'be.fedict.eid-applet:eid-applet-
> > package:jar:1.0.2-SNAPSHOT' in repository shibboleth (http://
> > shibboleth.internet2.edu/downloads/maven2/)
> > Downloading:
> >http://snapshots.jboss.org/maven2//be/fedict/eid-applet/eid-applet-pa...
> ...
>
> plus de détails »

fcorneli

unread,
Nov 18, 2010, 6:07:33 AM11/18/10
to eID Applet
Hi Vincent,


Added a line to the README.txt of eID Applet console referring to the
eID Applet requirement.


Kind Regards,
Frank.
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages