[cle-release-team] jobscheduler build fun

Aaron Zeckoski azeckoski at unicon.net
Mon Feb 25 09:27:52 PST 2013


Especially since the deploy project depends on those 2 test modules.
So, I am not hearing any objections so far so I am thinking I will
open a ticket for this and correct it unless someone says nay.
:-)
-AZ


On Mon, Feb 25, 2013 at 11:51 AM, Matthew Jones <matthew at longsight.com> wrote:
> These changes were added by duffy at rsmart.com
> https://source.sakaiproject.org/viewsvn?view=revision&revision=84467
>
> Comment is
>
> SAK-14293,SAK-18876,SAK-19178
>
> Created unit tests and jobs to facilitate scripted UI testing for QA of
> improvements to the job scheduler.
>
> Moved test jobs and test job configurations out of the default build
> products and into appropriate testing locations
>
> I'm not sure what the point of it is though, to avoid including these test
> jobs if "skip test" is set to true? Those seem like completely unrelated
> options, skipping maven build tests verses including demo test quartz jobs?
>
>
> On Mon, Feb 25, 2013 at 8:28 AM, Aaron Zeckoski <azeckoski at unicon.net>
> wrote:
>>
>> Anyone know anything about the way the jobscheduler build is setup?
>> It has an odd profile in place which only builds when tests are
>> enabled however deploy depends on these and therefore fails to build
>> if they are not there. This happens to work out OK if you have the
>> sakai maven repo (or other repo with the artifacts) available to your
>> build but if you are building offline with a repo with no sakai
>> artifacts, it simply fails like so:
>>
>> ERROR] Failed to execute goal on project scheduler-assembly: Could not
>> resolve dependencies for project
>> org.sakaiproject.scheduler:scheduler-assembly:pom:2.9: The following
>> artifacts could not be resolved:
>> org.sakaiproject.scheduler:scheduler-test-component:war:2.9,
>> org.sakaiproject.scheduler:scheduler-test-component-shared:jar:2.9:
>> The repository system is offline but the artifact
>> org.sakaiproject.scheduler:scheduler-test-component:war:2.9 is not
>> available in the local repository. -> [Help 1]
>>
>> As far as I can tell, there should be no profiles here are all and the
>> default should be the second one.
>>
>>     <profiles>
>>         <profile>
>>             <id>default</id>
>>             <activation>
>>                 <activeByDefault>true</activeByDefault>
>>             </activation>
>>             <modules>
>>                 <module>scheduler-api</module>
>>                 <module>scheduler-deploy</module>
>>                 <module>scheduler-component</module>
>>                 <module>scheduler-component-shared</module>
>>                 <module>scheduler-events-model</module>
>>                 <module>scheduler-tool</module>
>>             </modules>
>>          </profile>
>>          <profile>
>>             <id>testing</id>
>>             <activation>
>>                 <property>
>>                     <name>!maven.test.skip</name>
>>                 </property>
>>             </activation>
>>             <modules>
>>                 <module>scheduler-api</module>
>>                 <module>scheduler-deploy</module>
>>                 <module>scheduler-component</module>
>>                 <module>scheduler-component-shared</module>
>>                 <module>scheduler-test-component</module>
>>                 <module>scheduler-test-component-shared</module>
>>                 <module>scheduler-events-model</module>
>>                 <module>scheduler-tool</module>
>>             </modules>
>>          </profile>
>>     </profiles>
>>
>> If no one disagrees, I plan to remove the profiles later today (or
>> just make them both identical).
>> -AZ
>>
>>
>> --
>> Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
>> _______________________________________________
>> cle-release-team mailing list
>> cle-release-team at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>
>
>
> _______________________________________________
> cle-release-team mailing list
> cle-release-team at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile



More information about the cle-release-team mailing list