Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Issue with tycho and the maven-source-plugin

the minerva wiki page is outdated. source template folder is no longer necessary for source features since 


and reference docs


-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Nick Boldt
Sent: Mittwoch, 18. Dezember 2013 16:35
To: Tycho user list
Subject: Re: [tycho-user] Issue with tycho and the maven-source-plugin

Here's my heavily bookmarked checklist for using source plugin / source 
feature generation in Tycho builds:


On 12/17/2013 01:40 PM, wendy_haley@xxxxxxxxxxxx wrote:
> I have the following in a parent pom which is used by a tycho repository
> 			<plugin>
> 				<groupId>org.apache.maven.plugins</groupId>
> 				<artifactId>maven-source-plugin</artifactId>
> 				<!-- ensure source jar and test source jar are
> created with the compiled
> 					artifacts -->
> 				<executions>
> 					<execution>
> 						<goals>
> 							<goal>jar</goal>
> 							<goal>test-jar</goal>
> 						</goals>
> 					</execution>
> 				</executions>
> 			</plugin>
> When I run this from the parent that builds the plugins and then the
> repository I get the following error on a mvn install
>     [INFO]
>     ------------------------------------------------------------------------
>     [INFO]
>     ------------------------------------------------------------------------
>     [INFO] Total time: 1:46.438s
>     [INFO] Finished at: Tue Dec 17 13:32:16 EST 2013
>     [INFO] Final Memory: 91M/365M
>     [INFO]
>     ------------------------------------------------------------------------
>     [ERROR] Failed to execute goal
>     org.apache.maven.plugins:maven-install-plugin:2.3.1:install
>     (default-install) on project desktop-repository: Failed to install
>     artifact
>   C:\projects\Workspace\vanguard-extras-tycho\desktop-parent
>     \desktop-repository\target\p2content.xml (The system cannot find the
>     path specified) -> [Help 1]
>     [ERROR]
>     [ERROR] To see the full stack trace of the errors, re-run Maven with the
>     -e switch.
>     [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>     [ERROR]
>     [ERROR] For more information about the errors and possible solutions,
>     please read the following articles:
>     [ERROR] [Help 1]
>     [ERROR]
>     [ERROR] After correcting the problems, you can resume the build with the
>     command
>     [ERROR]   mvn <goals> -rf :desktop-repository
> If I remove the maven-source-plugin the build works fine.  Has anyone had
> issues with the maven-source-plugin?
> Wendy Haley
> e: wendy_haley@xxxxxxxxxxxx
> p: ext. 36528
> m: 40 Liberty #172A
> ----------------------------------------------------------------------
> CONFIDENTIALITY STATEMENT. The information contained in this e-mail message, including attachments, is the confidential information of, and/or is the property of, Vanguard. The information is intended for use solely by the individual or entity named in the message. If you are not an intended recipient or you received this in error, then any review, printing, copying, or distribution of any such information is prohibited, and please notify the sender immediately by reply e-mail and then delete this e-mail from your system.
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx

Nick Boldt ::
tycho-user mailing list

Back to the top