Visitar URL original
use tycho for building, add poms, fix dependencies · cppchecksolutions/cppcheclipse@546588b · GitHub
Skip to content

Commit 546588b

Browse files
committed
use tycho for building, add poms, fix dependencies
1 parent 8672949 commit 546588b

13 files changed

Lines changed: 70 additions & 80 deletions

File tree

‎com.googlecode.cppcheclipse.core/META-INF/MANIFEST.MF‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Bundle-Activator: com.googlecode.cppcheclipse.core.CppcheclipsePlugin
77
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.5.0",
88
org.eclipse.ui;bundle-version="3.5.0",
99
org.eclipse.core.resources;bundle-version="3.5.0",
10-
com.googlecode.cppcheclipse.lib;bundle-version="1.0.2",
11-
org.eclipse.core.net;bundle-version="1.2.0"
10+
org.eclipse.core.net;bundle-version="1.2.0",
11+
com.googlecode.cppcheclipse.lib;bundle-version="0.9.8"
1212
Bundle-ActivationPolicy: lazy
1313
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
1414
Export-Package: com.googlecode.cppcheclipse.core,

‎com.googlecode.cppcheclipse.core/eclipse3.5cdtp2.target‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎com.googlecode.cppcheclipse.core/eclipse3.6cdtp2.target‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎com.googlecode.cppcheclipse.core/eclipse3.7cdtp2.target‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎com.googlecode.cppcheclipse.core/eclipse3.8cdtp2.target‎

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4+
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<artifactId>com.googlecode.cppcheclipse.parent</artifactId>
8+
<groupId>com.googlecode.cppcheclipse</groupId>
9+
<version>0.9.8-SNAPSHOT</version>
10+
<relativePath>../com.googlecode.cppcheclipse.parent/pom.xml</relativePath>
11+
</parent>
12+
<artifactId>com.googlecode.cppcheclipse.core</artifactId>
13+
<packaging>eclipse-plugin</packaging>
14+
</project>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4+
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<artifactId>com.googlecode.cppcheclipse.parent</artifactId>
8+
<groupId>com.googlecode.cppcheclipse</groupId>
9+
<version>0.9.8-SNAPSHOT</version>
10+
<relativePath>../com.googlecode.cppcheclipse.parent/pom.xml</relativePath>
11+
</parent>
12+
<artifactId>com.googlecode.cppcheclipse.feature</artifactId>
13+
<packaging>eclipse-feature</packaging>
14+
</project>

‎com.googlecode.cppcheclipse.lib/META-INF/MANIFEST.MF‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: cppcheclipse Libraries
44
Bundle-SymbolicName: com.googlecode.cppcheclipse.lib;singleton:=true
5-
Bundle-Version: 1.0.2.qualifier
5+
Bundle-Version: 0.9.8.qualifier
66
Bundle-ClassPath: commons-collections-3.2.1.jar,
77
commons-exec-1.1.jar,
88
commons-codec-1.4.jar,
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4+
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<artifactId>com.googlecode.cppcheclipse.parent</artifactId>
8+
<groupId>com.googlecode.cppcheclipse</groupId>
9+
<version>0.9.8-SNAPSHOT</version>
10+
<relativePath>../com.googlecode.cppcheclipse.parent/pom.xml</relativePath>
11+
</parent>
12+
<artifactId>com.googlecode.cppcheclipse.lib</artifactId>
13+
<packaging>eclipse-plugin</packaging>
14+
</project>

‎com.googlecode.cppcheclipse.lib/readme.txt‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ Apache Commons Exec 1.1
66
Apache Commons Codec 1.4
77

88
== TODO ==
9-
check if changing to Google-Collections might improve quality: http://code.google.com/p/google-collections/
10-
11-
9+
- check if changing to Google-Collections might improve quality: http://code.google.com/p/google-collections/
10+
- use POM first approach to download those dependencies from maven (only if the limitation in [1] are solved or
11+
- use a P2 repository which does already provide those libraries as OSGi bundles
1212

1313
== Links ==
1414
http://wiki.eclipse.org/Eclipse_Plug-in_Development_FAQ#I.27m_using_third_party_jar_files_and_my_plug-in_is_not_working...
1515
http://wiki.eclipse.org/FAQ_How_can_I_share_a_JAR_among_various_plug-ins%3F
1616

1717
You have to recreate the plug-in to add further dependencies, with "File-> New -> Project...-> Plug-in Development -> Plug-in from existing JAR archives",
18-
otherwise the MANIFEST.MF must be updated manually which is really not that easy.
18+
otherwise the MANIFEST.MF must be updated manually which is really not that easy.
19+
20+
21+
[1] https://docs.sonatype.org/display/TYCHO/Dependency+on+pom-first+artifacts

0 commit comments

Comments
 (0)