Re: No sources to compile
Hi, mvn builds fine, if command is run from "cez" directory: C:\CI_server\Jenkins\jobs\eCez\workspace\cez>mvn clean package [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cez --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ cez --- [INFO] Compiling 53 source files to C:\CI_server\Jenkins\jobs\eCez\workspace\cez \target\classes .. [INFO] [INFO] BUILD SUCCESS [INFO] If I run command in "workspace" directory, I hit same problem as in jenkins: C:\CI_server\Jenkins\jobs\eCez\workspace>mvn clean package [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cez --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\CI_server\Jenkins\jobs\eCez\worksp ace\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ cez --- [INFO] No sources to compile Regards, mitja Dne četrtek, 12. september 2013 18:09:36 UTC+2 je oseba Baptiste Mathus napisala: > > Re reading your original message you actually seem more to have a Maven > issue than a Jenkins one. > > What happens if you run your build in command line directly outside > Jenkins? > > Src directory should be located at the same level as the pom.xml. > Is it the case? > Le 12 sept. 2013 14:07, "Mitja" > a écrit : > >> What plugins have you installed? Maybe some plugin provides such >> configuration...? >> >> >> >> Dne četrtek, 12. september 2013 08:55:46 UTC+2 je oseba Mitja napisala: >>> >>> and GIT for repo. >>> >>> Dne četrtek, 12. september 2013 08:53:03 UTC+2 je oseba Mitja napisala: >>>> >>>> Apache Maven 3.1.0. >>>> >>>> Dne četrtek, 12. september 2013 08:43:59 UTC+2 je oseba Baptiste Mathus >>>> napisala: >>>>> >>>>> Which SCM are you using? >>>>> Le 12 sept. 2013 08:27, "Mitja" a écrit : >>>>> >>>>>> I cant find that configuration in maven2/3 project job. >>>>>> Can you point me, where this option is? >>>>>> Thanks, Mitja >>>>>> >>>>>> >>>>>> -- >> 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-use...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: No sources to compile
What plugins have you installed? Maybe some plugin provides such configuration...? Dne četrtek, 12. september 2013 08:55:46 UTC+2 je oseba Mitja napisala: > > and GIT for repo. > > Dne četrtek, 12. september 2013 08:53:03 UTC+2 je oseba Mitja napisala: >> >> Apache Maven 3.1.0. >> >> Dne četrtek, 12. september 2013 08:43:59 UTC+2 je oseba Baptiste Mathus >> napisala: >>> >>> Which SCM are you using? >>> Le 12 sept. 2013 08:27, "Mitja" a écrit : >>> >>>> I cant find that configuration in maven2/3 project job. >>>> Can you point me, where this option is? >>>> Thanks, Mitja >>>> >>>> >>>> -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: No sources to compile
and GIT for repo. Dne četrtek, 12. september 2013 08:53:03 UTC+2 je oseba Mitja napisala: > > Apache Maven 3.1.0. > > Dne četrtek, 12. september 2013 08:43:59 UTC+2 je oseba Baptiste Mathus > napisala: >> >> Which SCM are you using? >> Le 12 sept. 2013 08:27, "Mitja" a écrit : >> >>> I cant find that configuration in maven2/3 project job. >>> Can you point me, where this option is? >>> Thanks, Mitja >>> >>> >>> -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: No sources to compile
Apache Maven 3.1.0. Dne četrtek, 12. september 2013 08:43:59 UTC+2 je oseba Baptiste Mathus napisala: > > Which SCM are you using? > Le 12 sept. 2013 08:27, "Mitja" > a écrit : > >> I cant find that configuration in maven2/3 project job. >> Can you point me, where this option is? >> Thanks, Mitja >> >> >> -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: No sources to compile
I cant find that configuration in maven2/3 project job. Can you point me, where this option is? Thanks, Mitja Dne sreda, 11. september 2013 18:14:39 UTC+2 je oseba Baptiste Mathus napisala: > > Update your job configuration to point to that subdirectory directly. > Cheers > Le 11 sept. 2013 12:18, "Mitja" > a écrit : > >> Hello, >> >> I'm testing CI with Jenkins+Git+maven on windows 8. >> >> I have problem with "No source to compile" for my java project "cez". >> >> Jenkins checks for java sources in workspace\src ... but sources are >> located in workspace\*cez*\src ... >> Jenkins copies java sources from GIT server to workspace\*cez*\src. >> >> How to fix this problem? >> >> INFO] >> >> [INFO] Building CEZ 0.0.1-SNAPSHOT >> [INFO] >> >> [INFO] >> [INFO] *--- maven-clean-plugin:2.5:clean (default-clean) @ cez ---*[INFO] >> Deleting C:\CI_server\Jenkins\jobs\eCez\workspace\target >> [INFO] >> [INFO] *--- maven-resources-plugin:2.6:resources (default-resources) @ cez >> ---*[INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] skip non existing resourceDirectory >> C:\CI_server\Jenkins\jobs\eCez\workspace\src\main\resources >> [INFO] >> [INFO] *--- maven-compiler-plugin:2.3.1:compile (default-compile) @ cez >> ---*[INFO] No sources to compile >> >> >> >> C:\CI_server\Jenkins\jobs\eCez\workspace>dir >> Volume in drive C has no label. >> Volume Serial Number is 5631-9BFD >> >> Directory of C:\CI_server\Jenkins\jobs\eCez\workspace >> >> 11.09.2013 12:14 . >> 11.09.2013 12:14 .. >> 11.09.2013 08:23 cez >> 10.09.2013 15:1718.222 pom.xml >> 11.09.2013 12:14 target >>1 File(s) 18.222 bytes >>4 Dir(s) 112.904.847.360 bytes free >> >> C:\CI_server\Jenkins\jobs\eCez\workspace>cd cez >> >> C:\CI_server\Jenkins\jobs\eCez\workspace\cez>dir >> Volume in drive C has no label. >> Volume Serial Number is 5631-9BFD >> >> Directory of C:\CI_server\Jenkins\jobs\eCez\workspace\cez >> >> 11.09.2013 08:23 . >> 11.09.2013 08:23 .. >> 09.09.2013 12:07 1.515 .classpath >> 09.09.2013 12:07 9 .gitignore >> 09.09.2013 12:07 2.001 .project >> 09.09.2013 12:07 .settings >> 10.09.2013 17:3518.217 pom.xml >> 09.09.2013 12:07 789 README.md >> 11.09.2013 08:23 src >> 09.09.2013 12:07 Users >>5 File(s) 22.531 bytes >>5 Dir(s) 112.904.847.360 bytes free >> >> C:\CI_server\Jenkins\jobs\eCez\workspace\cez> >> >> >> Regards, >> >> Mitja >> >> -- >> 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-use...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: No sources to compile
Hi, Where can I configure that subdirectory? pom.xml ? Regards, Mitja Dne sreda, 11. september 2013 18:14:39 UTC+2 je oseba Baptiste Mathus napisala: > > Update your job configuration to point to that subdirectory directly. > Cheers > Le 11 sept. 2013 12:18, "Mitja" > a écrit : > >> Hello, >> >> I'm testing CI with Jenkins+Git+maven on windows 8. >> >> I have problem with "No source to compile" for my java project "cez". >> >> Jenkins checks for java sources in workspace\src ... but sources are >> located in workspace\*cez*\src ... >> Jenkins copies java sources from GIT server to workspace\*cez*\src. >> >> How to fix this problem? >> >> INFO] >> >> [INFO] Building CEZ 0.0.1-SNAPSHOT >> [INFO] >> >> [INFO] >> [INFO] *--- maven-clean-plugin:2.5:clean (default-clean) @ cez ---*[INFO] >> Deleting C:\CI_server\Jenkins\jobs\eCez\workspace\target >> [INFO] >> [INFO] *--- maven-resources-plugin:2.6:resources (default-resources) @ cez >> ---*[INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] skip non existing resourceDirectory >> C:\CI_server\Jenkins\jobs\eCez\workspace\src\main\resources >> [INFO] >> [INFO] *--- maven-compiler-plugin:2.3.1:compile (default-compile) @ cez >> ---*[INFO] No sources to compile >> >> >> >> C:\CI_server\Jenkins\jobs\eCez\workspace>dir >> Volume in drive C has no label. >> Volume Serial Number is 5631-9BFD >> >> Directory of C:\CI_server\Jenkins\jobs\eCez\workspace >> >> 11.09.2013 12:14 . >> 11.09.2013 12:14 .. >> 11.09.2013 08:23 cez >> 10.09.2013 15:1718.222 pom.xml >> 11.09.2013 12:14 target >>1 File(s) 18.222 bytes >>4 Dir(s) 112.904.847.360 bytes free >> >> C:\CI_server\Jenkins\jobs\eCez\workspace>cd cez >> >> C:\CI_server\Jenkins\jobs\eCez\workspace\cez>dir >> Volume in drive C has no label. >> Volume Serial Number is 5631-9BFD >> >> Directory of C:\CI_server\Jenkins\jobs\eCez\workspace\cez >> >> 11.09.2013 08:23 . >> 11.09.2013 08:23 .. >> 09.09.2013 12:07 1.515 .classpath >> 09.09.2013 12:07 9 .gitignore >> 09.09.2013 12:07 2.001 .project >> 09.09.2013 12:07 .settings >> 10.09.2013 17:3518.217 pom.xml >> 09.09.2013 12:07 789 README.md >> 11.09.2013 08:23 src >> 09.09.2013 12:07 Users >>5 File(s) 22.531 bytes >>5 Dir(s) 112.904.847.360 bytes free >> >> C:\CI_server\Jenkins\jobs\eCez\workspace\cez> >> >> >> Regards, >> >> Mitja >> >> -- >> 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-use...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- 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. For more options, visit https://groups.google.com/groups/opt_out.
No sources to compile
Hello, I'm testing CI with Jenkins+Git+maven on windows 8. I have problem with "No source to compile" for my java project "cez". Jenkins checks for java sources in workspace\src ... but sources are located in workspace\*cez*\src ... Jenkins copies java sources from GIT server to workspace\*cez*\src. How to fix this problem? INFO] [INFO] Building CEZ 0.0.1-SNAPSHOT [INFO] [INFO] [INFO] *--- maven-clean-plugin:2.5:clean (default-clean) @ cez ---*[INFO] Deleting C:\CI_server\Jenkins\jobs\eCez\workspace\target [INFO] [INFO] *--- maven-resources-plugin:2.6:resources (default-resources) @ cez ---*[INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\CI_server\Jenkins\jobs\eCez\workspace\src\main\resources [INFO] [INFO] *--- maven-compiler-plugin:2.3.1:compile (default-compile) @ cez ---*[INFO] No sources to compile C:\CI_server\Jenkins\jobs\eCez\workspace>dir Volume in drive C has no label. Volume Serial Number is 5631-9BFD Directory of C:\CI_server\Jenkins\jobs\eCez\workspace 11.09.2013 12:14 . 11.09.2013 12:14 .. 11.09.2013 08:23 cez 10.09.2013 15:1718.222 pom.xml 11.09.2013 12:14 target 1 File(s) 18.222 bytes 4 Dir(s) 112.904.847.360 bytes free C:\CI_server\Jenkins\jobs\eCez\workspace>cd cez C:\CI_server\Jenkins\jobs\eCez\workspace\cez>dir Volume in drive C has no label. Volume Serial Number is 5631-9BFD Directory of C:\CI_server\Jenkins\jobs\eCez\workspace\cez 11.09.2013 08:23 . 11.09.2013 08:23 .. 09.09.2013 12:07 1.515 .classpath 09.09.2013 12:07 9 .gitignore 09.09.2013 12:07 2.001 .project 09.09.2013 12:07 .settings 10.09.2013 17:3518.217 pom.xml 09.09.2013 12:07 789 README.md 11.09.2013 08:23 src 09.09.2013 12:07 Users 5 File(s) 22.531 bytes 5 Dir(s) 112.904.847.360 bytes free C:\CI_server\Jenkins\jobs\eCez\workspace\cez> Regards, Mitja -- 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. For more options, visit https://groups.google.com/groups/opt_out.