Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354221 - tycho-source-plugin fails when no sources
Summary: tycho-source-plugin fails when no sources
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Igor Fedorenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 04:36 EDT by Igor Fedorenko CLA
Modified: 2021-04-28 16:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Fedorenko CLA 2011-08-09 04:36:51 EDT
Originally reported as https://issues.sonatype.org/browse/TYCHO-562

<quote>
Actually this is more a show stopper than a bug.

For simplicity I added the the maven-osgi-source-plugin to my parent pom. Unfortunately, we have some plugins that just contributes 3rd party libraries to our product and doesn't contain any source folders (e.g. a stub plugin for log4j).

Current behaviour:

The maven-osgi-source-plugin fails on these kind of plugins because it requires at least one source folder.

Expected behaviour:

The maven-osgi-source-plugin just skips these plugins (maybe it should be configurable).
</quote>
Comment 1 Igor Fedorenko CLA 2011-08-09 05:13:56 EDT
Should be implemented now. https://github.com/sonatype/sonatype-tycho/commit/f2ac53153ca28e9b408269d8a7cfef67b46a9ba5