You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2011/07/27 10:46:09 UTC

[jira] [Created] (FELIX-3058) maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)

maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)
----------------------------------------------------------------------------

                 Key: FELIX-3058
                 URL: https://issues.apache.org/jira/browse/FELIX-3058
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
            Reporter: Konrad Windszus


Since version 2.3.5 the maven-bundle-plugin is incompatible with the maven-source-plugin. I get the following error message during the maven-sources-plugin:jar goal:
[WARNING] NOT adding sources to artifacts with classifier as Maven only supports one classifier per artifact. Current artifact [<GroupId>:<ArtifactId>:<Version>] has a [] classifier.

The problem does not occur with maven-bundle-plugin in version 2.3.4.

You can easily reproduce by creating a project with packaging "bundle" and just configuring the maven-source-plugin like this:

<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-source-plugin</artifactId>
					<version>2.1.2</version>
					<executions>
						<execution>
							<id>attach-sources</id>
							<goals>
								<goal>jar</goal>
							</goals>
						</execution>
					</executions>
				</plugin>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (FELIX-3058) maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)

Posted by "Stuart McCulloch (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch resolved FELIX-3058.
-------------------------------------

    Resolution: Fixed
      Assignee: Stuart McCulloch

Fixed in r1166847 (empty classifier also caused an issue with the assembly plugin)
                
> maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-3058
>                 URL: https://issues.apache.org/jira/browse/FELIX-3058
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.5
>            Reporter: Konrad Windszus
>            Assignee: Stuart McCulloch
>         Attachments: patch
>
>
> Since version 2.3.5 the maven-bundle-plugin is incompatible with the maven-source-plugin. I get the following error message during the maven-sources-plugin:jar goal:
> [WARNING] NOT adding sources to artifacts with classifier as Maven only supports one classifier per artifact. Current artifact [<GroupId>:<ArtifactId>:<Version>] has a [] classifier.
> The problem does not occur with maven-bundle-plugin in version 2.3.4.
> You can easily reproduce by creating a project with packaging "bundle" and just configuring the maven-source-plugin like this:
> <plugin>
> 					<groupId>org.apache.maven.plugins</groupId>
> 					<artifactId>maven-source-plugin</artifactId>
> 					<version>2.1.2</version>
> 					<executions>
> 						<execution>
> 							<id>attach-sources</id>
> 							<goals>
> 								<goal>jar</goal>
> 							</goals>
> 						</execution>
> 					</executions>
> 				</plugin>

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

        

[jira] [Updated] (FELIX-3058) maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)

Posted by "Arik Kfir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arik Kfir updated FELIX-3058:
-----------------------------

    Attachment: patch

Hi,

The problem is that the plugin sets an empty classifier ("") instead of a null classifier. This can be easily solved by removing the "<classifier></classifier>" line from components.xml - I've attached a patch.

> maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-3058
>                 URL: https://issues.apache.org/jira/browse/FELIX-3058
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.5
>            Reporter: Konrad Windszus
>         Attachments: patch
>
>
> Since version 2.3.5 the maven-bundle-plugin is incompatible with the maven-source-plugin. I get the following error message during the maven-sources-plugin:jar goal:
> [WARNING] NOT adding sources to artifacts with classifier as Maven only supports one classifier per artifact. Current artifact [<GroupId>:<ArtifactId>:<Version>] has a [] classifier.
> The problem does not occur with maven-bundle-plugin in version 2.3.4.
> You can easily reproduce by creating a project with packaging "bundle" and just configuring the maven-source-plugin like this:
> <plugin>
> 					<groupId>org.apache.maven.plugins</groupId>
> 					<artifactId>maven-source-plugin</artifactId>
> 					<version>2.1.2</version>
> 					<executions>
> 						<execution>
> 							<id>attach-sources</id>
> 							<goals>
> 								<goal>jar</goal>
> 							</goals>
> 						</execution>
> 					</executions>
> 				</plugin>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (FELIX-3058) maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)

Posted by "Arik Kfir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092533#comment-13092533 ] 

Arik Kfir edited comment on FELIX-3058 at 8/28/11 6:47 PM:
-----------------------------------------------------------

Hi,

The problem is that the plugin sets an empty classifier ("") instead of a null classifier. This can be easily solved by removing the "<classifier></classifier>" line from components.xml - I've attached a patch (apply at the "bundleplugin" dir, *not* the felix trunk dir)

      was (Author: arikkfir):
    Hi,

The problem is that the plugin sets an empty classifier ("") instead of a null classifier. This can be easily solved by removing the "<classifier></classifier>" line from components.xml - I've attached a patch.
  
> maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-3058
>                 URL: https://issues.apache.org/jira/browse/FELIX-3058
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.5
>            Reporter: Konrad Windszus
>         Attachments: patch
>
>
> Since version 2.3.5 the maven-bundle-plugin is incompatible with the maven-source-plugin. I get the following error message during the maven-sources-plugin:jar goal:
> [WARNING] NOT adding sources to artifacts with classifier as Maven only supports one classifier per artifact. Current artifact [<GroupId>:<ArtifactId>:<Version>] has a [] classifier.
> The problem does not occur with maven-bundle-plugin in version 2.3.4.
> You can easily reproduce by creating a project with packaging "bundle" and just configuring the maven-source-plugin like this:
> <plugin>
> 					<groupId>org.apache.maven.plugins</groupId>
> 					<artifactId>maven-source-plugin</artifactId>
> 					<version>2.1.2</version>
> 					<executions>
> 						<execution>
> 							<id>attach-sources</id>
> 							<goals>
> 								<goal>jar</goal>
> 							</goals>
> 						</execution>
> 					</executions>
> 				</plugin>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-3058) maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)

Posted by "Wolfgang Glas (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134218#comment-13134218 ] 

Wolfgang Glas commented on FELIX-3058:
--------------------------------------

Please rol our a 2.3.6 version, because this problem affects all my bundle builds.

TIA, Wolfagng
                
> maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-3058
>                 URL: https://issues.apache.org/jira/browse/FELIX-3058
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.5
>            Reporter: Konrad Windszus
>            Assignee: Stuart McCulloch
>             Fix For: maven-bundle-plugin-2.3.6
>
>         Attachments: patch
>
>
> Since version 2.3.5 the maven-bundle-plugin is incompatible with the maven-source-plugin. I get the following error message during the maven-sources-plugin:jar goal:
> [WARNING] NOT adding sources to artifacts with classifier as Maven only supports one classifier per artifact. Current artifact [<GroupId>:<ArtifactId>:<Version>] has a [] classifier.
> The problem does not occur with maven-bundle-plugin in version 2.3.4.
> You can easily reproduce by creating a project with packaging "bundle" and just configuring the maven-source-plugin like this:
> <plugin>
> 					<groupId>org.apache.maven.plugins</groupId>
> 					<artifactId>maven-source-plugin</artifactId>
> 					<version>2.1.2</version>
> 					<executions>
> 						<execution>
> 							<id>attach-sources</id>
> 							<goals>
> 								<goal>jar</goal>
> 							</goals>
> 						</execution>
> 					</executions>
> 				</plugin>

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

        

[jira] [Updated] (FELIX-3058) maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)

Posted by "Konrad Windszus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus updated FELIX-3058:
-----------------------------------

        Fix Version/s:     (was: maven-bundle-plugin-2.3.5)
    Affects Version/s: maven-bundle-plugin-2.3.5

> maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-3058
>                 URL: https://issues.apache.org/jira/browse/FELIX-3058
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.5
>            Reporter: Konrad Windszus
>
> Since version 2.3.5 the maven-bundle-plugin is incompatible with the maven-source-plugin. I get the following error message during the maven-sources-plugin:jar goal:
> [WARNING] NOT adding sources to artifacts with classifier as Maven only supports one classifier per artifact. Current artifact [<GroupId>:<ArtifactId>:<Version>] has a [] classifier.
> The problem does not occur with maven-bundle-plugin in version 2.3.4.
> You can easily reproduce by creating a project with packaging "bundle" and just configuring the maven-source-plugin like this:
> <plugin>
> 					<groupId>org.apache.maven.plugins</groupId>
> 					<artifactId>maven-source-plugin</artifactId>
> 					<version>2.1.2</version>
> 					<executions>
> 						<execution>
> 							<id>attach-sources</id>
> 							<goals>
> 								<goal>jar</goal>
> 							</goals>
> 						</execution>
> 					</executions>
> 				</plugin>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FELIX-3058) maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)

Posted by "Konrad Windszus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus updated FELIX-3058:
-----------------------------------

    Fix Version/s: maven-bundle-plugin-2.3.5

> maven-bundle-plugin 2.3.5 incompatible with maven-source-plugin (regression)
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-3058
>                 URL: https://issues.apache.org/jira/browse/FELIX-3058
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.5
>            Reporter: Konrad Windszus
>
> Since version 2.3.5 the maven-bundle-plugin is incompatible with the maven-source-plugin. I get the following error message during the maven-sources-plugin:jar goal:
> [WARNING] NOT adding sources to artifacts with classifier as Maven only supports one classifier per artifact. Current artifact [<GroupId>:<ArtifactId>:<Version>] has a [] classifier.
> The problem does not occur with maven-bundle-plugin in version 2.3.4.
> You can easily reproduce by creating a project with packaging "bundle" and just configuring the maven-source-plugin like this:
> <plugin>
> 					<groupId>org.apache.maven.plugins</groupId>
> 					<artifactId>maven-source-plugin</artifactId>
> 					<version>2.1.2</version>
> 					<executions>
> 						<execution>
> 							<id>attach-sources</id>
> 							<goals>
> 								<goal>jar</goal>
> 							</goals>
> 						</execution>
> 					</executions>
> 				</plugin>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira