You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeevan Reddy <jm...@gmail.com> on 2012/04/24 16:42:18 UTC

maven build failing

Hi,

i am getting the following exception, while executing maven,

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] CustomerGrid
[INFO] Commons
[INFO] DTO
[INFO] BaseGridPlug
[INFO] JDBCGridPlug
[INFO] WebServiceGridPlug
[INFO] XMLGridPlug
[INFO] OLAPGridPlug
[INFO] SFDCGridPlug
[INFO] GridData
[INFO] GridServer
[INFO] Lib
[INFO] GridPlug
[INFO] LaunchingScreen
[INFO] ActionBridge
[INFO] GridScan
[INFO] GridMapApplet
[INFO] GridControllerApplet
[INFO] GridPortal
[INFO] DunsServer
[INFO] NetworkServer
[INFO] JTest
[INFO] CustomerGridEAR
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building CustomerGrid 5.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
CustomerGrid ---
[INFO] Installing C:\dev\CG\com\nimaya\customergrid\pom.xml to
C:\Users\jmankari\.m2\repository\com\nimaya\CustomerGrid\5.0\CustomerGrid-5.0.pom
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ CustomerGrid
---
Uploading:
file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/5.0/CustomerGrid-5.0.pom
Uploaded:
file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/5.0/CustomerGrid-5.0.pom(16
KB at 537.6 KB/sec)
Downloading:
file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/maven-metadata.xml
Downloaded:
file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/maven-metadata.xml(298
B at 5.4 KB/sec)
Uploading:
file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/maven-metadata.xml
Uploaded:
file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/maven-metadata.xml(298
B at 18.2 KB/sec)
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Commons 5.0
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for
org.apache.maven.plugins:maven-compiler-plugin:jar:3.0.4 is missing, no
dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] CustomerGrid ...................................... SUCCESS [0.506s]
[INFO] Commons ........................................... FAILURE [0.025s]
[INFO] DTO ............................................... SKIPPED
[INFO] BaseGridPlug ...................................... SKIPPED
[INFO] JDBCGridPlug ...................................... SKIPPED
[INFO] WebServiceGridPlug ................................ SKIPPED
[INFO] XMLGridPlug ....................................... SKIPPED
[INFO] OLAPGridPlug ...................................... SKIPPED
[INFO] SFDCGridPlug ...................................... SKIPPED
[INFO] GridData .......................................... SKIPPED
[INFO] GridServer ........................................ SKIPPED
[INFO] Lib ............................................... SKIPPED
[INFO] GridPlug .......................................... SKIPPED
[INFO] LaunchingScreen ................................... SKIPPED
[INFO] ActionBridge ...................................... SKIPPED
[INFO] GridScan .......................................... SKIPPED
[INFO] GridMapApplet ..................................... SKIPPED
[INFO] GridControllerApplet .............................. SKIPPED
[INFO] GridPortal ........................................ SKIPPED
[INFO] DunsServer ........................................ SKIPPED
[INFO] NetworkServer ..................................... SKIPPED
[INFO] JTest ............................................. SKIPPED
[INFO] CustomerGridEAR ................................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.863s
[INFO] Finished at: Tue Apr 24 20:06:17 IST 2012
[INFO] Final Memory: 4M/15M
[INFO]
------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:3.0.4 or one
of its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[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 read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
C:\dev\CG\com\nimaya\customergrid>

what should i do?
Regards,
  -Jeevan Reddy.

Re: maven build failing

Posted by Ron Wheeler <rw...@artifact-software.com>.
The maven-compiler-plugin version is wrong.
maven-install-plugin:2.3.1 is ok
maven-compiler-plugin:jar:3.0.4 is wrong should be 2.3.2

Check out
http://maven.apache.org/plugins/index.html


Ron

On 24/04/2012 10:42 AM, Jeevan Reddy wrote:
> Hi,
>
> i am getting the following exception, while executing maven,
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] CustomerGrid
> [INFO] Commons
> [INFO] DTO
> [INFO] BaseGridPlug
> [INFO] JDBCGridPlug
> [INFO] WebServiceGridPlug
> [INFO] XMLGridPlug
> [INFO] OLAPGridPlug
> [INFO] SFDCGridPlug
> [INFO] GridData
> [INFO] GridServer
> [INFO] Lib
> [INFO] GridPlug
> [INFO] LaunchingScreen
> [INFO] ActionBridge
> [INFO] GridScan
> [INFO] GridMapApplet
> [INFO] GridControllerApplet
> [INFO] GridPortal
> [INFO] DunsServer
> [INFO] NetworkServer
> [INFO] JTest
> [INFO] CustomerGridEAR
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building CustomerGrid 5.0
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> CustomerGrid ---
> [INFO] Installing C:\dev\CG\com\nimaya\customergrid\pom.xml to
> C:\Users\jmankari\.m2\repository\com\nimaya\CustomerGrid\5.0\CustomerGrid-5.0.pom
> [INFO]
> [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ CustomerGrid
> ---
> Uploading:
> file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/5.0/CustomerGrid-5.0.pom
> Uploaded:
> file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/5.0/CustomerGrid-5.0.pom(16
> KB at 537.6 KB/sec)
> Downloading:
> file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/maven-metadata.xml
> Downloaded:
> file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/maven-metadata.xml(298
> B at 5.4 KB/sec)
> Uploading:
> file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/maven-metadata.xml
> Uploaded:
> file:///C:/dev/CG/com/nimaya/customergrid/ext/com/nimaya/CustomerGrid/maven-metadata.xml(298
> B at 18.2 KB/sec)
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Commons 5.0
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for
> org.apache.maven.plugins:maven-compiler-plugin:jar:3.0.4 is missing, no
> dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] CustomerGrid ...................................... SUCCESS [0.506s]
> [INFO] Commons ........................................... FAILURE [0.025s]
> [INFO] DTO ............................................... SKIPPED
> [INFO] BaseGridPlug ...................................... SKIPPED
> [INFO] JDBCGridPlug ...................................... SKIPPED
> [INFO] WebServiceGridPlug ................................ SKIPPED
> [INFO] XMLGridPlug ....................................... SKIPPED
> [INFO] OLAPGridPlug ...................................... SKIPPED
> [INFO] SFDCGridPlug ...................................... SKIPPED
> [INFO] GridData .......................................... SKIPPED
> [INFO] GridServer ........................................ SKIPPED
> [INFO] Lib ............................................... SKIPPED
> [INFO] GridPlug .......................................... SKIPPED
> [INFO] LaunchingScreen ................................... SKIPPED
> [INFO] ActionBridge ...................................... SKIPPED
> [INFO] GridScan .......................................... SKIPPED
> [INFO] GridMapApplet ..................................... SKIPPED
> [INFO] GridControllerApplet .............................. SKIPPED
> [INFO] GridPortal ........................................ SKIPPED
> [INFO] DunsServer ........................................ SKIPPED
> [INFO] NetworkServer ..................................... SKIPPED
> [INFO] JTest ............................................. SKIPPED
> [INFO] CustomerGridEAR ................................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.863s
> [INFO] Finished at: Tue Apr 24 20:06:17 IST 2012
> [INFO] Final Memory: 4M/15M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:3.0.4 or one
> of its dependencies could not be resolved: Failed to read artifact
> descriptor for org.apache
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [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 read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
> C:\dev\CG\com\nimaya\customergrid>
>
> what should i do?
> Regards,
>    -Jeevan Reddy.
>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102