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

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

http://wiki.eclipse.org/Minerva#Source

Nick

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] BUILD FAILURE
    [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
    com.vanguard.eclipse.desktop:desktop-repository:xml:p2metadata:1.5.0-SNAPSHOT:
  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]
    http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    [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
TIP-NGSA
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
https://dev.eclipse.org/mailman/listinfo/tycho-user


--
Nick Boldt :: http://nick.divbyzero.com


Back to the top