You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Daniel Durette (JIRA)" <ji...@codehaus.org> on 2006/02/07 10:16:47 UTC

[jira] Created: (MANTRUN-42) Ant task for the optional package are not found by maven

Ant task for the optional package are not found by maven
--------------------------------------------------------

         Key: MANTRUN-42
         URL: http://jira.codehaus.org/browse/MANTRUN-42
     Project: Maven 2.x Antrun Plugin
        Type: Bug

    Versions: 1.1    
    Reporter: Daniel Durette
    Priority: Minor
 Attachments: maven-antrun-plugin-1.1.pom

We are using VSS for our source repository and we are currently setting maven for the first time.  Since there is no plugin currently available for vss in maven, we decided to use the ant task vssget to get our files from vss.

The following is our plugin configuration:

          <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <vssget
                                    localPath="C:\Data\projects\test"
                                    recursive="true"
                                    login="?,?" vsspath="\"
                                    serverPath="w:" writable="true" />
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

The antrun plugin can't find the task vssget.  I modified the file maven-antrun-plugin-1.1.pom to add the dependency for ant-optional.  This way, the task vssget is now found by the plugin.  The new .pom is attached to this bug.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MANTRUN-42) Ant task for the optional package are not found by maven

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-42?page=all ]
     
Carlos Sanchez closed MANTRUN-42:
---------------------------------

     Assign To: Carlos Sanchez
    Resolution: Won't Fix

Check http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html for "Using optional ant tasks"

> Ant task for the optional package are not found by maven
> --------------------------------------------------------
>
>          Key: MANTRUN-42
>          URL: http://jira.codehaus.org/browse/MANTRUN-42
>      Project: Maven 2.x Antrun Plugin
>         Type: Bug

>     Versions: 1.1
>     Reporter: Daniel Durette
>     Assignee: Carlos Sanchez
>     Priority: Minor
>  Attachments: maven-antrun-plugin-1.1.pom
>
>
> We are using VSS for our source repository and we are currently setting maven for the first time.  Since there is no plugin currently available for vss in maven, we decided to use the ant task vssget to get our files from vss.
> The following is our plugin configuration:
>           <plugin>
>                 <artifactId>maven-antrun-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <phase>generate-sources</phase>
>                         <goals>
>                             <goal>run</goal>
>                         </goals>
>                         <configuration>
>                             <tasks>
>                                 <vssget
>                                     localPath="C:\Data\projects\test"
>                                     recursive="true"
>                                     login="?,?" vsspath="\"
>                                     serverPath="w:" writable="true" />
>                             </tasks>
>                         </configuration>
>                     </execution>
>                 </executions>
>             </plugin>
> The antrun plugin can't find the task vssget.  I modified the file maven-antrun-plugin-1.1.pom to add the dependency for ant-optional.  This way, the task vssget is now found by the plugin.  The new .pom is attached to this bug.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org