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" <[email protected] <javascript:>> 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" <[email protected]> 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 [email protected] <javascript:>.
>> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to