Re: Goal “sonar:sonar” does not exist in this project

2015-06-22 Thread inderpreet . kaur8982
Thanks for your response.
 
Regards,
Inderpreet Kaur

On Monday, 22 June 2015 12:59:39 UTC+5:30, inderpree...@gmail.com wrote:

> Hi, 
>
> I am using maven version 1.0.2 to build a java project in jenkins 1.532.I 
> am trying to configure sonar report for this project.I am using Sonar 
> version 4.0 .I get below error when i fire the build: 
>
> [Project_Sonar] $ /MyPath/maven-1.0.2/bin/maven -f 
> /MyPath/workspace/Project_Sonar/maven.xml -e -B sonar:sonar 
> -Dsonar.jdbc.driver=org.postgresql.Driver 
> -Dsonar.jdbc.url=jdbc:postgresql://sonardb.example.com:5534/sonar 
>   -Dsonar.host.url=*http://example.com:8093/sonar* 
>    
> -Dmaven.repo.local=/Mypath/workspace/Project_Sonar/.repository 
> BUILD FAILED Goal "sonar:sonar" does not exist in this project. 
>
> Can anyone help? 
>
> Regards, 
> Inder
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/83ab9f0e-ca68-4cd6-b2a5-1f817cb686a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Goal “sonar:sonar” does not exist in this project

2015-06-22 Thread inderpreet . kaur8982
Hi, 

I am using maven version 1.0.2 to build a java project in jenkins 1.532.I 
am trying to configure sonar report for this project.I am using Sonar 
version 4.0 .I get below error when i fire the build: 

[Project_Sonar] $ /MyPath/maven-1.0.2/bin/maven -f 
/MyPath/workspace/Project_Sonar/maven.xml -e -B sonar:sonar 
-Dsonar.jdbc.driver=org.postgresql.Driver 
-Dsonar.jdbc.url=jdbc:postgresql://sonardb.example.com:5534/sonar  
 -Dsonar.host.url=*http://example.com:8093/sonar* 
   
-Dmaven.repo.local=/Mypath/workspace/Project_Sonar/.repository 
BUILD FAILED Goal "sonar:sonar" does not exist in this project. 

Can anyone help? 

Regards, 
Inder

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/86769c32-1fde-41ed-b6bd-8d5b4c2fd50d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fatal Error: Unable to locate package java.lang in classpath or bootclasspath

2015-06-15 Thread inderpreet . kaur8982
Hi,
 
I am using maven version 1.0.2 to compile a java project.Java Version is 
j2sdk1.4.2_19.The jenkins build fails with the below error: 

Fatal Error: Unable to locate package java.lang in classpath or bootclasspath

 

Can anyone help?

 

Regards,

Inder

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/53a6138d-284a-49cb-8290-6e68a6315aab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Missing Dependencies

2015-06-11 Thread inderpreet . kaur8982
My Jenkins build is failing due to missing dependencies:
 
cgey-commons-configuration-1.2.2.jar
cgey-commons-events-1.0.0.jar
cgey-commons-performances-1.0.0.jar
classes12-8.1.7.jar
 
I tried to download these dependencies from Internet but could not find 
them.
Can anyone help?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/94208705-38d6-4aa2-8dcb-59e2e1ded8fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is Maven version 1.1 compatible with Jenkins 1.532 ?

2015-06-10 Thread inderpreet . kaur8982
Hi,
 
Thanks for the help.It is working now :)
 
Regards,
Inderpreet

On Tuesday, 9 June 2015 17:56:46 UTC+5:30, Karl Heinz Marbaise wrote:

> Hi, 
>
> you have to configure a freestyle job and not a Maven job 
> type...otherwise you will not get it to run with such extreme old Maven 
> version... 
>
> Kind regards 
> Karl Heinz Marbaise 
> On 6/9/15 1:56 PM, inderpree...@gmail.com  wrote: 
> > I am trying to configure a project using maven version 1.1 in Jenkins 
> > 1.532.Upon firing the build, i get below error: 
> > java.lang.RuntimeException: Unable to determine Maven version 
> >   at 
> > 
> org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:157)
>  
>
> >   at 
> > 
> org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:110)
>  
>
> >   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:923) 
> >   at 
> > 
> hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) 
> >   at 
> > 
> hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) 
>
> >   at 
> > 
> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:600)
>  
>
> >   at 
> > 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) 
>
> >   at hudson.model.Run.execute(Run.java:1665) 
> >   at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509) 
> >   at hudson.model.ResourceController.execute(ResourceController.java:88) 
> >   at hudson.model.Executor.run(Executor.java:246) 
> > Caused by: org.kohsuke.stapler.framework.io.IOException2: 
> > hudson.maven.MavenEmbedderException: Couldn't find maven version 
> > information in '/path/to/my/directory'. Are you sure that this is a 
> > valid maven home? 
> >   at 
> > 
> org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:47)
>  
>
> >   at 
> > 
> org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33)
>  
>
> >   at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
> >   at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
> >   at hudson.remoting.Request$2.run(Request.java:328) 
> >   at 
> > 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>  
>
> >   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 
> >   at java.util.concurrent.FutureTask.run(FutureTask.java:138) 
> >   at 
> > 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>  
>
> >   at 
> > 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>  
>
> >   at java.lang.Thread.run(Thread.java:662) 
> > Caused by: hudson.maven.MavenEmbedderException: Couldn't find maven 
> > version information in '/path/to/my/directory'. Are you sure that this 
> > is a valid maven home? 
> >   at 
> > 
> hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:198) 
>
> >   at 
> > 
> hudson.maven.MavenEmbedderUtils.isAtLeastMavenVersion(MavenEmbedderUtils.java:215)
>  
>
> >   at 
> > 
> org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45)
>  
>
> >   ... 10 more 
> > project=hudson.maven.MavenModuleSet@212eb3a6[MyProject 
> >  > =hudson.maven.MavenModuleSet@212eb3a6[MyProject>] 
>
> > project.getModules()=[] 
> > project.getRootModule()=null 
> > FATAL: Unable to determine Maven version 
> > 
> > I have set Maven_home as well in Jenkins Configure System.Can anyone 
> > help me ? 
> > 
> > -- 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3fa8a493-078b-4654-aa3e-6aa9af9a2a9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is Maven version 1.1 compatible with Jenkins 1.532 ?

2015-06-09 Thread inderpreet . kaur8982
I am trying to configure a project using maven version 1.1 in Jenkins 
1.532.Upon firing the build, i get below error:
 
java.lang.RuntimeException: Unable to determine Maven version
 at 
org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:157)
 at 
org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:110)
 at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:923)
 at 
hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59)
 at 
hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165)
 at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:600)
 at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
 at hudson.model.Run.execute(Run.java:1665)
 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
 at hudson.model.Executor.run(Executor.java:246)
Caused by: org.kohsuke.stapler.framework.io.IOException2: 
hudson.maven.MavenEmbedderException: Couldn't find maven version 
information in '/path/to/my/directory'. Are you sure that this is a valid 
maven home?
 at 
org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:47)
 at 
org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33)
 at hudson.remoting.UserRequest.perform(UserRequest.java:118)
 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
 at hudson.remoting.Request$2.run(Request.java:328)
 at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
Caused by: hudson.maven.MavenEmbedderException: Couldn't find maven version 
information in '/path/to/my/directory'. Are you sure that this is a valid 
maven home?
 at 
hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:198)
 at 
hudson.maven.MavenEmbedderUtils.isAtLeastMavenVersion(MavenEmbedderUtils.java:215)
 at 
org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45)
 ... 10 more
project=hudson.maven.MavenModuleSet@212eb3a6[MyProject]
project.getModules()=[]
project.getRootModule()=null
FATAL: Unable to determine Maven version
 

I have set Maven_home as well in Jenkins Configure System.Can anyone help 
me ?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/919ede32-c5fd-4533-9ab2-5768aabb1924%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.