Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354221

Summary: tycho-source-plugin fails when no sources
Product: z_Archived Reporter: Igor Fedorenko <igor>
Component: TychoAssignee: Igor Fedorenko <igor>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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