[Building Sakai] wicket showing fatal erroe when i use mvn clean install

Bhanu Teja Motupalli bhanu1607 at rediffmail.com
Thu Jul 28 22:46:19 PDT 2011


Hi Steve,

I am using 2.6.3 version. When i changed sakai-wicket version to 2.6.3 it
was build with our errors. But when i build sakai-scrom(edia scrom player)
the below error is coming. Based on this error i am changing the
sakai-wicket version to 2.6-SNAPSHOT. Before building the sakai-scorm i have
changed in pom.xml version  from 1.0-SNAPSHOT to 2.6.3. When i build with
out changing the version problem(Fatal Error Pom may not be this project) is
coming so that i have changed it to 2.6.3.

[INFO]
------------------------------------------------------------------------
[INFO] Building sakai-scorm-pack
[INFO]    task-segment: [clean, install, sakai:deploy]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\src\java
[INFO] skip non existing resourceDirectory
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\src\bundle
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\src\test\resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [sakai:component {execution: default-component}]
[INFO] Exploding webapp...
[INFO] Assembling webapp sakai-scorm-pack in
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\target\sakai-scorm-pack-2.6
.3
[INFO] Copy webapp webResources to
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\target\sakai-scorm-pack-2.6.3
[INFO] Generating component
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\target\sakai-scorm-pack-2.6.3.war
[INFO] Building war:
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\target\sakai-scorm-pack-2.6.3.war
[INFO] [install:install {execution: default-install}]
[INFO] Installing
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\target\sakai-scorm-pack-2.6.3.war
to C:\Documents and
Settings\bhanu\.m2\repository\org\sakaiproject\scorm\sakai-scorm-pack\2.6.3\sakai-scorm-pack-2.6.3.war
[INFO] [sakai:deploy {execution: default-cli}]
[INFO] Deploying org.sakaiproject.scorm:sakai-scorm-pack:sakai-component as
an unpacked component
[INFO] Unpacking
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\target\sakai-scorm-pack-2.6.3.war
to C:\opt\tomcat\comp
onents\sakai-scorm-pack
[INFO] Expanding:
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-impl\pack\target\sakai-scorm-pack-2.6.3.war
into C:\opt\tomcat\c
omponents\sakai-scorm-pack
[INFO]
------------------------------------------------------------------------
[INFO] Building sakai-scorm-tool
[INFO]    task-segment: [clean, install, sakai:deploy]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
D:\Bhanu\Projects\Current\WS-SAKAI\sakai-scorm\scorm-tool\target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 102 resources
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.sakaiproject:sakai-wicket:jar:2.6-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.sakaiproject
-DartifactId=sakai-wicket -Dversion=2.6-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=org.sakaiproject
-DartifactId=sakai-wicket -Dversion=2.6-SNAPSHOT -Dpackaging=jar
-Dfile=/path/t
o/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.sakaiproject.scorm:sakai-scorm-tool:war:2.6.3
        2) org.sakaiproject:sakai-wicket:jar:2.6-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.sakaiproject.scorm:sakai-scorm-tool:war:2.6.3

from the specified remote repositories:
  default (http://repo1.maven.org/maven2),
  sakai-maven2-snapshots (http://source.sakaiproject.org/maven2-snapshots),
  central (http://repo1.maven.org/maven2),
  sakai-maven (http://source.sakaiproject.org/maven2),
  rsmart (http://maven.rsmart.com/maven),
  sakai-ibiblio-mirror (http://source.sakaiproject.org/maven2-ibiblio)



[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 27 seconds
[INFO] Finished at: Fri Jul 29 11:02:17 IST 2011
[INFO] Final Memory: 43M/247M
[INFO]
------------------------------------------------------------------------ 

Regards
Bhanu


-- 
View this message in context: http://old.nabble.com/wicket-showing-fatal-erroe-when-i-use-mvn-clean-install-tp32154228p32159743.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list