Just like to add a missing configuration element, that the build doesn't fail, if sources classifier are not resolvable.
<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact> Cheers, Frank 2011/12/21 Frank Gasdorf <[email protected]>: > Hello List, > > I just tried to build from sources and I'm wondering about several things: > - the version of bundles are different, from 1.2.0 to 1.2.2 and 1.3.0 > is everything to find. In other projects like geotools the versions > are in every module and submodule the same. To change the version from > all modules the tycho-versions-plugin can be used (e.g. when a release > is in the pipe). This should be used instead of the > maven-versions-plugin because the later doesn't recognize the version > numbers in feature and plugin xml files. > > command line would look like this: > mvn -Dtycho.mode=maven > org.eclipse.tycho:tycho-versions-plugin:set-version > -DnewVersion=<new-version> > > <new-version> e.g. 1.3.3 or 1.3.0-SNAPSHOT > > Can somebody explain, what the bundle net.refractions.udig.libs.source > is for. The sources, if available, can be copied with the > maven-dependencies-plugin by using classifier configuration. The > section in pom-libs.xml could look like this and was taken from the > already existing section but added the classifier element: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-dependency-plugin</artifactId> > <version>2.3</version> > <executions> > <execution> > <id>copy-dependencies-sources</id> > <phase>install</phase> > <goals> > <goal>copy-dependencies</goal> > </goals> > <configuration> > <classifier>sources</classifier> > <overWrite>true</overWrite> > > <outputDirectory>${basedir}/lib/sources</outputDirectory> > <overWriteReleases>true</overWriteReleases> > <overWriteSnapshots>true</overWriteSnapshots> > <excludeScope>provided</excludeScope> > </configuration> > </execution> > </executions> > </plugin> > > Any suggestions? > > -Frank _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
