private void scheduleJobs( Configuration configuration )
throws ParseException, SchedulerException
{
- // TODO! would be nice to queue jobs that are triggered so we could avoid two running at the same time (so have a queue for discovery based jobs so they didn't thrash the repo)
+ // TODO: would be nice to queue jobs that are triggered so we could avoid two running at the same time (so have a queue for discovery based jobs so they didn't thrash the repo)
if ( configuration.getIndexPath() != null )
{
JobDetail jobDetail = createJobDetail( INDEXER_JOB, indexerTask );
new CronTrigger( INDEXER_JOB + "Trigger", DISCOVERER_GROUP, configuration.getIndexerCronExpression() );
scheduler.scheduleJob( jobDetail, trigger );
- // TODO: run as a job so it doesn't block startup/configuration saving!
+ // TODO: run as a job so it doesn't block startup/configuration saving
try
{
indexerTask.executeNowIfNeeded();
File versionsDir =
new File( repository.getBasedir(), repository.pathOfRemoteRepositoryMetadata( metadata ) ).getParentFile();
- // TODO! I don't know how this condition can happen, but it was seen on the main repository.
+ // TODO: I don't know how this condition can happen, but it was seen on the main repository.
// Avoid hard failure
if ( versionsDir.exists() )
{
<ww:url action="proxy">
<%-- TODO! create a tag for this, include classifier for javadoc, sources below --%>
<%-- TODO: what about other repositories? --%>
- <%-- TODO! extension probably doesn't match type --%>
+ <%-- TODO! extension probably doesn't match type. Use artifact handler instead. --%>
<ww:param name="path"
value="%{'${model.groupId}/${model.artifactId}/${model.version}/${model.artifactId}-${model.version}.${model.packaging}'}"/>
</ww:url>