You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jérôme Joslet (JIRA)" <ji...@codehaus.org> on 2011/12/13 09:52:02 UTC

[jira] (MSHARED-216) Maven2OsgiConverter symbolic name when artifactId start with groupId

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

       

[jira] (MSHARED-216) Maven2OsgiConverter symbolic name when artifactId start with groupId

Posted by "Jérôme Joslet (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSHARED-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285729#comment-285729 ] 

Jérôme Joslet commented on MSHARED-216:
---------------------------------------

Can't edit the bug, I've done a mistake in components, it's {{maven-osgi}} not {{maven-model-converter}}. Sorry
                
> 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