maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Slowikowski (JIRA)" <>
Subject [jira] Commented: (DOXIA-36) Clean main pom file - remove <build> section
Date Thu, 10 Nov 2005 09:26:06 GMT
    [ ] 

Grzegorz Slowikowski commented on DOXIA-36:

After reading source code of (plexus-maven-plugin) and
(plexus-cdc) I thing that we can avoid creating empty "target/classes/META-INF/plexus" directories
and warnings like this:

[WARNING] Specified source directory isn't a directory: 'E:\apache-svn.copy\repos\asf\maven\doxia\trunk\src\main\java'.

when there are no Plexus components in the project (in parent and doxia-sink-api projects)

by changing code order in processSources() method of

removing lines:

        if ( !outputDirectory.exists() )
            if ( !outputDirectory.mkdirs() )
                throw new ComponentDescriptorCreatorException(
                    "Could not make output directory: '" + outputDirectory.getAbsolutePath()
+ "'." );

from  (line 86) and placing them 
right before:

        File outputFile = new File( outputDirectory, "components.xml" );

(line 172)

I do not include patch because I did not tested this.

> Clean main pom file - remove <build> section
> --------------------------------------------
>          Key: DOXIA-36
>          URL:
>      Project: doxia
>         Type: Task
>     Versions: 1.0-alpha-6
>     Reporter: Grzegorz Slowikowski
>     Assignee: Brett Porter
>     Priority: Trivial

> This section should be removed. It has nothing to do in this parent module. There are
no errors, but there are side effects - unneeded artifacts downloaded and dummy messages in
log file while building doxia. This pom is added here by Bret Porter. I don't know, where
it comes from (copy-pasted?). Maybe there are more things to remove.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message