[ 
http://jira.codehaus.org/browse/MRMIC-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124284
 ] 

Marc Brugger commented on MRMIC-19:
-----------------------------------

What i meant is that if the class to be used my.stub.class.to.Use.class is 
defined within the includes it will work, unless the class itself uses the 
classes of the provided artifact. 

{code:xml} <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>rmic-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>rmic-process-classes</id>
            <goals>
              <goal>rmic</goal>
            </goals>
            <configuration>
              <includes>
                <include>my.stub.class.to.Use.class</include>
              </includes>
              <excludes>
                <exclude>**/*</exclude>
              </excludes>
            </configuration>
          </execution>
        </executions>
      </plugin>

{code} 

> dependencies with scope provided are not considered within rmic
> ---------------------------------------------------------------
>
>                 Key: MRMIC-19
>                 URL: http://jira.codehaus.org/browse/MRMIC-19
>             Project: Maven 2.x RMIC Plugin
>          Issue Type: Bug
>            Reporter: Marc Brugger
>
> In my project i use the following dependency.
>               <dependency>
>                       <groupId>org.apache.geronimo.specs</groupId>
>                       <artifactId>geronimo-j2ee_1.4_spec</artifactId>
>                       <scope>provided</scope>
>               </dependency>
> since I configured the rmic plugin to run in phase compile i get a class not 
> found exception of a class that is within the provided plugin. 
> It should be possible that provided dependencies could also be accessed from 
> the plugin.
> it works fine if I define my stub classes within the includes and exclude all 
> others.

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to