Jérôme Joslet created MSHARED-216:
-------------------------------------

             Summary: Maven2OsgiConverter symbolic name when artifactId start 
with groupId
                 Key: MSHARED-216
                 URL: https://jira.codehaus.org/browse/MSHARED-216
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-model-converter
            Reporter: Jérôme Joslet


Using 
{code}<dependency>
        <groupId>org.apache.maven.shared</groupId>
        <artifactId>maven-osgi</artifactId>
        <version>0.2.0</version>
</dependency>{code}

compute the symbolic name of an artifact with the following group id and 
artifact id
{code}<groupId>org.apache.maven.foo</groupId>
<artifactId>org.apache.maven.foo.bar</artifactId>{code}

result in the following symbolic name: 
{{org.apache.maven.foo.org.apache.maven.foo.bar}} user should expect the 
symbolic name to be {{org.apache.maven.foo.bar}}.

Such a naming conventions for group id and artifact id is used by [Spring 
EBR|http://ebr.springsource.com/repository/app/] for example. See [Spring core 
3.1.0|http://ebr.springsource.com/repository/app/bundle/version/detail?name=org.springframework.core&version=3.1.0.RELEASE]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to