[ 
http://jira.codehaus.org/browse/MECLIPSE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87521
 ] 

Vlad Skarzhevskyy commented on MECLIPSE-230:
--------------------------------------------

Tried to clone old problem did not work well sorry.   Original  MECLIPSE-95 
Transitive classpath entries need to be marked exported

This is actual Request for feature.
To have in plugin configuration with new list:
<exported>
   <exported>artifact1</exported>
   <exported>artifact2</exported>
</exported>


The reason for this is creation EclipseME nature
Only the exported  artifacts would be added to  MIDlet Suite
http://eclipseme.org/docs/faq.html#addJar
or http://eclipseme.org/docs/advJarFiles.html



This is what I do now to create EclipseME:
            <!-- Add EclipseME nature to the generated project-->
            <!--
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-eclipse-plugin</artifactId>
                <configuration>
                    <buildcommands>
                        
<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
                        <buildcommand>eclipseme.core.preverifier</buildcommand>
                    </buildcommands>
                    <projectnatures>
                        
<projectnature>org.eclipse.jdt.core.javanature</projectnature>
                        <projectnature>eclipseme.core.nature</projectnature>
                    </projectnatures>
                    <classpathContainers>
                        <classpathContainer>J2MELIB</classpathContainer>
                        
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
                    </classpathContainers>
                </configuration>
            </plugin>
            -->

> Classpath entries to be marked exported
> ---------------------------------------
>
>                 Key: MECLIPSE-230
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-230
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Improvement
>          Components: dependency resolution
>    Affects Versions: 2.1
>            Reporter: Vlad Skarzhevskyy
>         Assigned To: fabrizio giustina
>             Fix For: 2.3
>
>
> Generated .classpath entries of kind "var" need to be marked exported by 
> default so that referenced projects have visibility to them.  Or provide an 
> option to specifiy that that entries should be exported.
> Example: <classpathentry kind="var" 
> path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>
> should me made...
> <classpathentry exported="true" kind="var" 
> path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>

-- 
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

        

Reply via email to