You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Richard Slade (JIRA)" <ji...@apache.org> on 2009/09/25 18:08:16 UTC
[jira] Created: (WSCOMMONS-505) Build Error when creating source
jar fie on modules that do not have source directory
Build Error when creating source jar fie on modules that do not have source directory
-------------------------------------------------------------------------------------
Key: WSCOMMONS-505
URL: https://issues.apache.org/jira/browse/WSCOMMONS-505
Project: WS-Commons
Issue Type: Bug
Components: AXIOM
Environment: Windows XP
Reporter: Richard Slade
When building axiom modules that do not have the source directory, an error occurs with the maven-source-plugin with the error
" Error creating source archive: You must set at least one file"
This occurs in the axiom-tests and axiom-osgi modules since they do not have source files.
The solution is in the maven-source-plugin configuration to indicate that the pom.xml is always to be included
<configuration>
<includePom>true</includePom>
</configuration>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WSCOMMONS-505) Build Error when creating source
jar fie on modules that do not have source directory
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen reassigned WSCOMMONS-505:
-----------------------------------------
Assignee: Andreas Veithen
> Build Error when creating source jar fie on modules that do not have source directory
> -------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-505
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-505
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Environment: Windows XP
> Reporter: Richard Slade
> Assignee: Andreas Veithen
> Attachments: diff.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When building axiom modules that do not have the source directory, an error occurs with the maven-source-plugin with the error
> " Error creating source archive: You must set at least one file"
> This occurs in the axiom-tests and axiom-osgi modules since they do not have source files.
> The solution is in the maven-source-plugin configuration to indicate that the pom.xml is always to be included
> <configuration>
> <includePom>true</includePom>
> </configuration>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WSCOMMONS-505) Build Error when creating source
jar fie on modules that do not have source directory
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759703#action_12759703 ]
Andreas Veithen commented on WSCOMMONS-505:
-------------------------------------------
The route cause of this issue is that the Axiom POMs don't specify the versions for all plugins. The super POM in Maven >= 2.0.9 will default the version of the maven-source-plugin to 2.0.4, which doesn't produce this error. Maven <= 2.0.8 will pick up the latest version of this plugin, namely 2.1, and the behavior of this version is different when there are no source files.
I will change the POMs to specify plugin versions, so that the build will be predictable with Maven <= 2.0.8, but your are strongly advised to upgrade to a more recent version of Maven.
> Build Error when creating source jar fie on modules that do not have source directory
> -------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-505
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-505
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Environment: Windows XP
> Reporter: Richard Slade
> Assignee: Andreas Veithen
> Attachments: diff.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When building axiom modules that do not have the source directory, an error occurs with the maven-source-plugin with the error
> " Error creating source archive: You must set at least one file"
> This occurs in the axiom-tests and axiom-osgi modules since they do not have source files.
> The solution is in the maven-source-plugin configuration to indicate that the pom.xml is always to be included
> <configuration>
> <includePom>true</includePom>
> </configuration>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WSCOMMONS-505) Build Error when creating source
jar fie on modules that do not have source directory
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated WSCOMMONS-505:
--------------------------------------
Priority: Minor (was: Major)
Fix Version/s: Axiom 1.2.9
Changing priority to minor because an easy workaround (upgrade Maven) exists.
> Build Error when creating source jar fie on modules that do not have source directory
> -------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-505
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-505
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Environment: Windows XP
> Reporter: Richard Slade
> Assignee: Andreas Veithen
> Priority: Minor
> Fix For: Axiom 1.2.9
>
> Attachments: diff.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When building axiom modules that do not have the source directory, an error occurs with the maven-source-plugin with the error
> " Error creating source archive: You must set at least one file"
> This occurs in the axiom-tests and axiom-osgi modules since they do not have source files.
> The solution is in the maven-source-plugin configuration to indicate that the pom.xml is always to be included
> <configuration>
> <includePom>true</includePom>
> </configuration>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WSCOMMONS-505) Build Error when creating source
jar fie on modules that do not have source directory
Posted by "Richard Slade (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Slade updated WSCOMMONS-505:
------------------------------------
Attachment: diff.txt
> Build Error when creating source jar fie on modules that do not have source directory
> -------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-505
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-505
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Environment: Windows XP
> Reporter: Richard Slade
> Attachments: diff.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When building axiom modules that do not have the source directory, an error occurs with the maven-source-plugin with the error
> " Error creating source archive: You must set at least one file"
> This occurs in the axiom-tests and axiom-osgi modules since they do not have source files.
> The solution is in the maven-source-plugin configuration to indicate that the pom.xml is always to be included
> <configuration>
> <includePom>true</includePom>
> </configuration>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WSCOMMONS-505) Build Error when creating source
jar fie on modules that do not have source directory
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved WSCOMMONS-505.
---------------------------------------
Resolution: Fixed
> Build Error when creating source jar fie on modules that do not have source directory
> -------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-505
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-505
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Environment: Windows XP
> Reporter: Richard Slade
> Assignee: Andreas Veithen
> Priority: Minor
> Fix For: Axiom 1.2.9
>
> Attachments: diff.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When building axiom modules that do not have the source directory, an error occurs with the maven-source-plugin with the error
> " Error creating source archive: You must set at least one file"
> This occurs in the axiom-tests and axiom-osgi modules since they do not have source files.
> The solution is in the maven-source-plugin configuration to indicate that the pom.xml is always to be included
> <configuration>
> <includePom>true</includePom>
> </configuration>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.