I am not a developer. After going the article how to compile the weasis code. I perform the following steps. Please guide me ami doing it correct.
1. i set the path of JDK and JAVA_HOME and verify it using typing java and javc on command prompt
3. Extract the tar.gz file in C:\ root and the folder path becomes something like this: C:\apache-maven-3.2.2\
4. After that i test it (as per google) type the following command mvn -v and it shows the following output.
[INFO] Parent of ImageIO Plug-ins [weasis-imageio-parent]
[INFO] ImageIO Codec [weasis-imageio-codec]
[INFO] ImageIO native Windows x86 codec
[INFO] ImageIO native Linux x86 codec
[INFO] ImageIO native Linux amd64 codec
[INFO] ImageIO Plug-ins [weasis-imageio]
[INFO] Parent of Default Plug-ins [weasis-base-parent]
[INFO] Weasis Base UI [weasis-base-ui]
[INFO] Media Explorer [weasis-base-explorer]
[INFO] Image Viewer [weasis-base-viewer2d]
[INFO] Default Plug-ins [weasis-base]
[INFO] Parent of DICOM Plug-ins [weasis-dicom-parent]
[INFO] DICOM Codec [weasis-dicom-codec]
[INFO] DICOM Data Explorer [weasis-dicom-explorer]
[INFO] 2D DICOM Viewer [weasis-dicom-viewer2d]
[INFO] DICOM Structured Report Viewer [weasis-dicom-sr]
[INFO] DICOM Plug-ins [weasis-dicom]
[INFO] Weasis Launcher (Felix) [weasis-launcher]
[INFO] weasis-framework
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building weasis-parent 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Parent of Core Plug-ins [weasis-core-parent] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weasis Core API [weasis-core-api] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-cor
e-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 48 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-core-api
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weasis UI API (j2se) [weasis-core-ui] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-cor
e-ui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 100 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-core-ui
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Core Plug-ins [weasis-core] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Parent of ImageIO Plug-ins [weasis-imageio-parent] 2.0.1-SNAPSHO
T
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageIO Codec [weasis-imageio-codec] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-ima
geio-codec ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Weasis-master\weasis-imageio\weasi
s-imageio-codec\src\main\resources
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-imageio-
codec ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageIO native Windows x86 codec 1.2-b04
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-ima
geio-codec-windows-x86 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Weasis-master\weasis-imageio\weasi
s-imageio-codec-windows-x86\src\main\resources
[INFO] skip non existing resourceDirectory C:\Weasis-master\weasis-imageio\weasi
s-imageio-codec-windows-x86\src\main\java
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-imageio-
codec-windows-x86 ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageIO native Linux x86 codec 1.2-b04
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-ima
geio-codec-linux-x86 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Weasis-master\weasis-imageio\weasi
s-imageio-codec-linux-x86\src\main\resources
[INFO] skip non existing resourceDirectory C:\Weasis-master\weasis-imageio\weasi
s-imageio-codec-linux-x86\src\main\java
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-imageio-
codec-linux-x86 ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageIO native Linux amd64 codec 1.2-b04
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-ima
geio-codec-linux-x86-64 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Weasis-master\weasis-imageio\weasi
s-imageio-codec-linux-x86-64\src\main\resources
[INFO] skip non existing resourceDirectory C:\Weasis-master\weasis-imageio\weasi
s-imageio-codec-linux-x86-64\src\main\java
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-imageio-
codec-linux-x86-64 ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageIO Plug-ins [weasis-imageio] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Parent of Default Plug-ins [weasis-base-parent] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weasis Base UI [weasis-base-ui] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-bas
e-ui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Weasis-master\weasis-base\weasis-b
ase-ui\src\main\resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-base-ui
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Media Explorer [weasis-base-explorer] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-bas
e-explorer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-base-exp
lorer ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Image Viewer [weasis-base-viewer2d] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-bas
e-viewer2d ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 19 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-base-vie
wer2d ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Default Plug-ins [weasis-base] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Parent of DICOM Plug-ins [weasis-dicom-parent] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DICOM Codec [weasis-dicom-codec] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-dic
om-codec ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-dicom-co
dec ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DICOM Data Explorer [weasis-dicom-explorer] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-dic
om-explorer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-dicom-ex
plorer ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building 2D DICOM Viewer [weasis-dicom-viewer2d] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-dic
om-viewer2d ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-dicom-vi
ewer2d ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DICOM Structured Report Viewer [weasis-dicom-sr] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-dic
om-sr ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Weasis-master\weasis-dicom\weasis-
dicom-sr\src\main\resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-dicom-sr
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DICOM Plug-ins [weasis-dicom] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weasis Launcher (Felix) [weasis-launcher] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ weasis-lau
ncher ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 15 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ weasis-launcher
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building weasis-framework 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] weasis-parent ...................................... SUCCESS [ 0.000 s]
[INFO] Parent of Core Plug-ins [weasis-core-parent] ....... SUCCESS [ 0.016 s]
[INFO] Weasis Core API [weasis-core-api] .................. SUCCESS [ 4.172 s]
[INFO] Weasis UI API (j2se) [weasis-core-ui] .............. SUCCESS [ 0.312 s]
[INFO] Core Plug-ins [weasis-core] ........................ SUCCESS [ 0.000 s]
[INFO] Parent of ImageIO Plug-ins [weasis-imageio-parent] . SUCCESS [ 0.000 s]
[INFO] ImageIO Codec [weasis-imageio-codec] ............... SUCCESS [ 0.094 s]
[INFO] ImageIO native Windows x86 codec ................... SUCCESS [ 0.063 s]
[INFO] ImageIO native Linux x86 codec ..................... SUCCESS [ 0.218 s]
[INFO] ImageIO native Linux amd64 codec ................... SUCCESS [ 0.047 s]
[INFO] ImageIO Plug-ins [weasis-imageio] .................. SUCCESS [ 0.000 s]
[INFO] Parent of Default Plug-ins [weasis-base-parent] .... SUCCESS [ 0.000 s]
[INFO] Weasis Base UI [weasis-base-ui] .................... SUCCESS [ 0.250 s]
[INFO] Media Explorer [weasis-base-explorer] .............. SUCCESS [ 0.110 s]
[INFO] Image Viewer [weasis-base-viewer2d] ................ SUCCESS [ 0.109 s]
[INFO] Default Plug-ins [weasis-base] ..................... SUCCESS [ 0.000 s]
[INFO] Parent of DICOM Plug-ins [weasis-dicom-parent] ..... SUCCESS [ 0.000 s]
[INFO] DICOM Codec [weasis-dicom-codec] ................... SUCCESS [ 0.297 s]
[INFO] DICOM Data Explorer [weasis-dicom-explorer] ........ SUCCESS [ 0.219 s]
[INFO] 2D DICOM Viewer [weasis-dicom-viewer2d] ............ SUCCESS [ 0.390 s]
[INFO] DICOM Structured Report Viewer [weasis-dicom-sr] ... SUCCESS [ 0.110 s]
[INFO] DICOM Plug-ins [weasis-dicom] ...................... SUCCESS [ 0.015 s]
[INFO] Weasis Launcher (Felix) [weasis-launcher] .......... SUCCESS [ 0.563 s]
[INFO] weasis-framework ................................... SUCCESS [ 0.000 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.328 s
[INFO] Finished at: 2014-07-09T01:21:25-07:00
[INFO] Final Memory: 11M/26M
[INFO] ------------------------------------------------------------------------
C:\Weasis-master>
10. After that i use the following command mvn package and get the following output.
C:\Weasis-master>mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] weasis-parent
[INFO] Parent of Core Plug-ins [weasis-core-parent]
[INFO] Weasis Core API [weasis-core-api]
[INFO] Weasis UI API (j2se) [weasis-core-ui]
[INFO] Core Plug-ins [weasis-core]
[INFO] Parent of ImageIO Plug-ins [weasis-imageio-parent]
[INFO] ImageIO Codec [weasis-imageio-codec]
[INFO] ImageIO native Windows x86 codec
[INFO] ImageIO native Linux x86 codec
[INFO] ImageIO native Linux amd64 codec
[INFO] ImageIO Plug-ins [weasis-imageio]
[INFO] Parent of Default Plug-ins [weasis-base-parent]
[INFO] Weasis Base UI [weasis-base-ui]
[INFO] Media Explorer [weasis-base-explorer]
[INFO] Image Viewer [weasis-base-viewer2d]
[INFO] Default Plug-ins [weasis-base]
[INFO] Parent of DICOM Plug-ins [weasis-dicom-parent]
[INFO] DICOM Codec [weasis-dicom-codec]
[INFO] DICOM Data Explorer [weasis-dicom-explorer]
[INFO] 2D DICOM Viewer [weasis-dicom-viewer2d]
[INFO] DICOM Structured Report Viewer [weasis-dicom-sr]
[INFO] DICOM Plug-ins [weasis-dicom]
[INFO] Weasis Launcher (Felix) [weasis-launcher]
[INFO] weasis-framework
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building weasis-parent 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Parent of Core Plug-ins [weasis-core-parent] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Weasis Core API [weasis-core-api] 2.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
surefire-plugin/2.16/maven-surefire-plugin-2.16.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] weasis-parent ...................................... SUCCESS [ 0.000 s]
[INFO] Parent of Core Plug-ins [weasis-core-parent] ....... SUCCESS [ 0.000 s]
[INFO] Weasis Core API [weasis-core-api] .................. FAILURE [ 14.266 s]
[INFO] Weasis UI API (j2se) [weasis-core-ui] .............. SKIPPED
[INFO] Core Plug-ins [weasis-core] ........................ SKIPPED
[INFO] Parent of ImageIO Plug-ins [weasis-imageio-parent] . SKIPPED
[INFO] ImageIO Codec [weasis-imageio-codec] ............... SKIPPED
[INFO] ImageIO native Windows x86 codec ................... SKIPPED
[INFO] ImageIO native Linux x86 codec ..................... SKIPPED
[INFO] ImageIO native Linux amd64 codec ................... SKIPPED
[INFO] ImageIO Plug-ins [weasis-imageio] .................. SKIPPED
[INFO] Parent of Default Plug-ins [weasis-base-parent] .... SKIPPED
[INFO] Weasis Base UI [weasis-base-ui] .................... SKIPPED
[INFO] Media Explorer [weasis-base-explorer] .............. SKIPPED
[INFO] Image Viewer [weasis-base-viewer2d] ................ SKIPPED
[INFO] Default Plug-ins [weasis-base] ..................... SKIPPED
[INFO] Parent of DICOM Plug-ins [weasis-dicom-parent] ..... SKIPPED
[INFO] DICOM Codec [weasis-dicom-codec] ................... SKIPPED
[INFO] DICOM Data Explorer [weasis-dicom-explorer] ........ SKIPPED
[INFO] 2D DICOM Viewer [weasis-dicom-viewer2d] ............ SKIPPED
[INFO] DICOM Structured Report Viewer [weasis-dicom-sr] ... SKIPPED
[INFO] DICOM Plug-ins [weasis-dicom] ...................... SKIPPED
[INFO] Weasis Launcher (Felix) [weasis-launcher] .......... SKIPPED
[INFO] weasis-framework ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.328 s
[INFO] Finished at: 2014-07-09T01:22:32-07:00
[INFO] Final Memory: 9M/23M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-surefire-plugin:2.16 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for org.
apache.maven.plugins:maven-surefire-plugin:jar:2.16: Could not transfer artifact
org.apache.maven.plugins:maven-surefire-plugin:pom:2.16 from/to central (http:/
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
onException
C:\Weasis-master>
Please guide me where i am making mistake and where should i find the weasis.war file.
Waiting for reply form somebody as i am struck.