Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDT4250
2023
Examples
Commits
8f901831
Commit
8f901831
authored
1 year ago
by
Leonardo Montecchi
Browse files
Options
Downloads
Patches
Plain Diff
Adding Maven configuration with Tycho
parent
86762fa2
No related branches found
No related tags found
No related merge requests found
Pipeline
#239354
failed
1 year ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.mvn/extensions.xml
+7
-0
7 additions, 0 deletions
.mvn/extensions.xml
pom.xml
+150
-0
150 additions, 0 deletions
pom.xml
with
157 additions
and
0 deletions
.mvn/extensions.xml
0 → 100644
+
7
−
0
View file @
8f901831
<extensions>
<extension>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
tycho-build
</artifactId>
<version>
3.0.5
</version>
</extension>
</extensions>
This diff is collapsed.
Click to expand it.
pom.xml
0 → 100644
+
150
−
0
View file @
8f901831
<project>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
org.montex.researchcv
</groupId>
<artifactId>
parent
</artifactId>
<version>
0.1.0-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<properties>
<tycho.version>
3.0.5
</tycho.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<eclipse-repo.url>
http://download.eclipse.org/releases/2023-06
</eclipse-repo.url>
</properties>
<modules>
<module>
no.ntnu.tdt4250.sm
</module>
</modules>
<repositories>
<repository>
<id>
eclipse-release
</id>
<url>
${eclipse-repo.url}
</url>
<layout>
p2
</layout>
</repository>
<repository>
<id>
emfjson-jackson
</id>
<url>
https://download.eclipse.org/emfcloud/emfjson-jackson/p2/releases/2.1.0
</url>
<layout>
p2
</layout>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
tycho-maven-plugin
</artifactId>
<version>
${tycho.version}
</version>
<extensions>
true
</extensions>
</plugin>
<!--Enable the replacement of the SNAPSHOT version in the final product configuration -->
<plugin>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
tycho-packaging-plugin
</artifactId>
<version>
${tycho.version}
</version>
<executions>
<execution>
<phase>
package
</phase>
<id>
package-feature
</id>
<configuration>
<finalName>
${project.artifactId}_${unqualifiedVersion}.${buildQualifier}
</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
target-platform-configuration
</artifactId>
<version>
${tycho.version}
</version>
<configuration>
<environments>
<environment>
<os>
linux
</os>
<ws>
gtk
</ws>
<arch>
x86_64
</arch>
</environment>
<environment>
<os>
win32
</os>
<ws>
win32
</ws>
<arch>
x86_64
</arch>
</environment>
<environment>
<os>
macosx
</os>
<ws>
cocoa
</ws>
<arch>
x86_64
</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>
org.eclipse.acceleo
</groupId>
<artifactId>
org.eclipse.acceleo.maven
</artifactId>
<version>
3.6.4
</version>
<executions>
<execution>
<id>
acceleo-compile
</id>
<phase>
compile
</phase>
<goals>
<goal>
acceleo-compile
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-dependency-plugin
</artifactId>
<version>
3.1.2
</version>
<executions>
<execution>
<id>
copy-dependencies
</id>
<phase>
package
</phase>
<goals>
<goal>
copy-dependencies
</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.directory}/alternateLocation
</outputDirectory>
<overWriteReleases>
false
</overWriteReleases>
<overWriteSnapshots>
false
</overWriteSnapshots>
<overWriteIfNewer>
true
</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.eclipse.xtend
</groupId>
<artifactId>
xtend-maven-plugin
</artifactId>
<version>
2.22.0
</version>
<executions>
<execution>
<phase>
generate-sources
</phase>
<goals>
<goal>
compile
</goal>
</goals>
<configuration>
<outputDirectory>
xtend-gen
</outputDirectory>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>
org.eclipse.jdt
</groupId>
<artifactId>
org.eclipse.jdt.core
</artifactId>
<version>
3.12.2
</version>
</dependency>
<dependency>
<groupId>
org.eclipse.platform
</groupId>
<artifactId>
org.eclipse.core.runtime
</artifactId>
<version>
3.12.0
</version>
</dependency>
<dependency>
<groupId>
org.eclipse.platform
</groupId>
<artifactId>
org.eclipse.equinox.common
</artifactId>
<version>
3.8.0
</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment