Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Tycho » Using Tycho to automate plugin builds w/ Maven
Using Tycho to automate plugin builds w/ Maven [message #549384] Mon, 26 July 2010 10:49 Go to next message
dhartford  is currently offline dhartford
Messages: 26
Registered: July 2010
Junior Member
Hey all,
Looking through many sites and processes, it seems the problem of doing automated PDE builds still isn't solved -- has Tycho solved it?

For example, there is a very small plugin here that I would love to have automated with Maven (maven2, or maven3 only?) (via Hudson) and auto-update a local DEV update site/repository.

However, this doesn't seem trivial, am I incorrect?

plugin discussion: http://www.eclipse.org/forums/index.php?t=msg&th=171931& amp; amp; amp;start=0&


reference to one such blogpost by someone I trust: http://www.screaming-penguin.com/node/7728



[Updated on: Mon, 26 July 2010 10:58]

Report message to a moderator

Re: Using Tycho to automate plugin builds w/ Maven [message #549490 is a reply to message #549384] Mon, 26 July 2010 16:12 Go to previous message
dhartford  is currently offline dhartford
Messages: 26
Registered: July 2010
Junior Member
To save people a LOT of issues --

<plugin>
  			<groupId>org.sonatype.tycho</groupId>
<!--        WRONG ARTIFACT TYPE (i.e. don't follow assumed convention)
  			<artifactId>maven-tycho-plugin</artifactId>
-->

  			<artifactId>tycho-maven-plugin</artifactId>
  			<version>${tycho-version}</version>
  			<extensions>true</extensions>
</plugin>


And requires Maven 3.0.X or greater (even if alpha/beta state).

Not sure if I got the range right, but something like this may help people:

 <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>enforce-versions</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <requireMavenVersion>
                  <version>[3.0-beta, 3)</version>
                </requireMavenVersion>
              </rules>
            </configuration>
          </execution>
        </executions>
      </plugin>

[Updated on: Tue, 27 July 2010 08:43]

Report message to a moderator

Previous Topic:Can you clarify "competes with"
Next Topic:Using Tycho to automate plugin builds w/ Maven
Goto Forum:
  


Current Time: Mon Jul 28 16:43:11 EDT 2014

Powered by FUDForum. Page generated in 0.01669 seconds