Skip to main content


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 14:49 Go to next message
d. hartford is currently offline d. hartfordFriend
Messages: 27
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 14: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 20:12 Go to previous message
d. hartford is currently offline d. hartfordFriend
Messages: 27
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 12: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: Sat Apr 27 05:10:33 GMT 2024

Powered by FUDForum. Page generated in 0.03237 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top