IDEMPIERE-3531:setup target file to use both place, maven build and eclipse development
for maven build, taget just need to define url to repository for eclipse 1. deselect lower version of singleton bundle in case have multi version 2. Some bunlde have multi version, lancher will auto pickup latest version, but dependency need older version, so deselect all new version 3. sourceforge.net is got trouble nowaday, so can't test remote repository
This commit is contained in:
parent
75262231c8
commit
689276e473
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
|
||||
<classpathentry kind="output" path="target/classes"/>
|
||||
</classpath>
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>org.idempiere.p2.targetplatform</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -0,0 +1,2 @@
|
|||
eclipse.preferences.version=1
|
||||
encoding/<project>=UTF-8
|
|
@ -0,0 +1,11 @@
|
|||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
|
@ -0,0 +1,4 @@
|
|||
activeProfiles=
|
||||
eclipse.preferences.version=1
|
||||
resolveWorkspaceProjects=true
|
||||
version=1
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,12 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.idempiere</groupId>
|
||||
<artifactId>org.idempiere.parent</artifactId>
|
||||
<version>5.1.0-SNAPSHOT</version>
|
||||
<relativePath>../org.idempiere.parent/pom.xml</relativePath>
|
||||
</parent>
|
||||
<artifactId>org.idempiere.p2.targetplatform</artifactId>
|
||||
<packaging>eclipse-target-definition</packaging>
|
||||
</project>
|
|
@ -271,6 +271,11 @@
|
|||
<artifactId>copy-rename-maven-plugin</artifactId>
|
||||
<version>1.0.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
|
@ -305,7 +310,112 @@
|
|||
</requirement>
|
||||
</extraRequirements>
|
||||
</dependency-resolution>
|
||||
<target>
|
||||
<artifact>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>org.idempiere.p2.targetplatform</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</artifact>
|
||||
</target>
|
||||
<filters>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>com.ibm.icu</id>
|
||||
<restrictTo>
|
||||
<versionRange>[60.2.0,61.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>ch.qos.logback.classic</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
1.1.2.v20160208-0839,2.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>ch.qos.logback.core</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
1.1.2.v20160208-0839,2.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>ch.qos.logback.slf4j</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
1.1.2.v20160301-0943,2.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>com.fasterxml.jackson.core.jackson-annotations</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
2.6.2.v20161117-2150,3.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>com.fasterxml.jackson.core.jackson-core</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
2.6.2.v20161117-2150,3.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>com.fasterxml.jackson.core.jackson-databind</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
2.6.2.v20161117-2150,3.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>com.google.gson</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
2.7.0.v20170129-0911,3.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>com.google.guava</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
21.0.0.v20170206-1425,22.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>com.ibm.icu.base</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
58.2.0.v20170418-1837,61.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>org.apache.lucene.core</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
3.5.0,4.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
<filter>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>
|
||||
groovy-all</id>
|
||||
<restrictTo>
|
||||
<versionRange>[
|
||||
2.4.7,3.0.0)</versionRange>
|
||||
</restrictTo>
|
||||
</filter>
|
||||
|
||||
</filters>
|
||||
<!-- configure the p2 target environments for multi-platform build -->
|
||||
<environments>
|
||||
<environment>
|
||||
|
|
Loading…
Reference in New Issue