Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build updatesite with maven #221

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ myimport.cfg
mysql_backup.cfg
edu\.cuny\.hunter\.streamrefactoring\.core/\.settings/org\.eclipse\.jdt\.core\.prefs
edu\.cuny\.hunter\.streamrefactoring\.eval/Stream Refactoring Evaluation\.launch
/.swo
/.swo
2 changes: 1 addition & 1 deletion edu.cuny.hunter.log.core/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Core
Bundle-SymbolicName: edu.cuny.hunter.log.core;singleton:=true
Bundle-Version: 1.2.0.qualifier
Bundle-Version: 1.4.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Import-Package: edu.cuny.citytech.refactoring.common.core,
edu.cuny.hunter.mylyngit.core.analysis,
Expand Down
4 changes: 2 additions & 2 deletions edu.cuny.hunter.log.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
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">

<version>1.2.0-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>

<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<artifactId>edu.cuny.hunter.log.core</artifactId>
<packaging>eclipse-plugin</packaging>
Expand Down
6 changes: 6 additions & 0 deletions edu.cuny.hunter.log.feature/.project
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@
<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.pde.FeatureNature</nature>
</natures>
</projectDescription>
2 changes: 1 addition & 1 deletion edu.cuny.hunter.log.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="edu.cuny.hunter.log.feature"
label="Logging Level Evolution"
version="0.4.0">
version="1.4.0.qualifier">

<description>
Developers usually choose log levels to filter information they would like to print. However, developers may not well estimate the cost and benefit for each log level, and log levels may change overtime with requirements. Our tools consist of Eclipse plugins which help developers adjust and rejuvenate log levels by using Degree of Interests (DOI) model. DOI value is a kind of real number for a program element which shows how developers are interested in it. It is computed from the interaction events between developer and element, such as developer edits the element. Transformation decision is made by analyzing the DOI values of enclosing methods for logging invocations.
Expand Down
13 changes: 13 additions & 0 deletions edu.cuny.hunter.log.feature/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<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">
khatchad marked this conversation as resolved.
Show resolved Hide resolved
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.4.0-SNAPSHOT</version>
</parent>

<artifactId>edu.cuny.hunter.log.feature</artifactId>
<version>1.4.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
8 changes: 4 additions & 4 deletions edu.cuny.hunter.log.tests.report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<version>1.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>edu.cuny.hunter.log.tests.report</artifactId>
Expand Down Expand Up @@ -43,19 +43,19 @@
<dependency>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>edu.cuny.hunter.log.core</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>edu.cuny.hunter.log.ui</artifactId>
<version>1.3.0-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>edu.cuny.hunter.log.tests</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion edu.cuny.hunter.log.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Tests
Bundle-SymbolicName: edu.cuny.hunter.log.tests
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 1.4.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Import-Package: edu.cuny.citytech.refactoring.common.core,
edu.cuny.citytech.refactoring.common.tests,
Expand Down
4 changes: 2 additions & 2 deletions edu.cuny.hunter.log.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
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">

<version>1.0.0-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>

<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<version>1.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>edu.cuny.hunter.log.tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion edu.cuny.hunter.log.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Ui
Bundle-SymbolicName: edu.cuny.hunter.log.ui;singleton:=true
Bundle-Version: 1.3.0.qualifier
Bundle-Version: 1.4.0.qualifier
Require-Bundle: org.eclipse.ui,
org.eclipse.jdt.core;bundle-version="3.13.100",
org.eclipse.core.resources;bundle-version="3.12.0",
Expand Down
4 changes: 2 additions & 2 deletions edu.cuny.hunter.log.ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
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">

<version>1.3.0-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>

<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<artifactId>edu.cuny.hunter.log.ui</artifactId>
<packaging>eclipse-plugin</packaging>
Expand Down
6 changes: 6 additions & 0 deletions edu.cuny.hunter.log.updatesite/.project
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@
<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.pde.UpdateSiteNature</nature>
</natures>
</projectDescription>
Binary file modified edu.cuny.hunter.log.updatesite/artifacts.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<description name="Logging Level Evolution Plugin Update Site">
Developers usually choose log levels to filter information they would like to print. However, developers may not well estimate the cost and benefit for each log level, and log levels may change overtime with requirements. Our tools consist of Eclipse plugins which help developers adjust and rejuvenate log levels by using Degree of Interests (DOI) model. DOI value is a kind of real number for a program element which shows how developers are interested in it. It is computed from the interaction events between developer and element, such as developer edits the element. Transformation decision is made by analyzing the DOI values of enclosing methods for logging invocations.
</description>
<feature url="features/edu.cuny.hunter.log.feature_0.4.0.jar" id="edu.cuny.hunter.log.feature" version="0.4.0">
<feature url="features/edu.cuny.hunter.log.feature_0.4.0.jar" id="edu.cuny.hunter.log.feature" version="1.4.0.qualifier">
<category name="Logging"/>
</feature>
<category-def name="Logging" label="Logging"/>
Expand Down
Binary file modified edu.cuny.hunter.log.updatesite/content.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
39 changes: 39 additions & 0 deletions edu.cuny.hunter.log.updatesite/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<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>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.4.0-SNAPSHOT</version>
</parent>
<artifactId>edu.cuny.hunter.log.updatesite</artifactId>
<version>1.4.0-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>

<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>add-to-update-site</id>
<phase>package</phase>
<goals>
<goal>mirror</goal>
</goals>
<configuration>
<source>
<repository>
<url>${project.build.directory}/repository</url>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to be a problem considering our current update site location.

</repository>
</source>
<destination>./</destination>
<append>true</append>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
2 changes: 1 addition & 1 deletion edu.cuny.hunter.mylyngit.core/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Core
Bundle-SymbolicName: edu.cuny.hunter.mylyngit.core;singleton:=true
Bundle-Version: 1.3.0.qualifier
Bundle-Version: 1.4.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.apache.log4j;bundle-version="1.2.15",
org.eclipse.core.resources;bundle-version="3.12.0",
Expand Down
4 changes: 2 additions & 2 deletions edu.cuny.hunter.mylyngit.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
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">

<version>1.3.0-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>

<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<version>1.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>edu.cuny.hunter.mylyngit.core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion edu.cuny.hunter.mylyngit.evaluation/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Evalution
Bundle-SymbolicName: edu.cuny.hunter.mylyngit.eval;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 1.4.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Import-Package: edu.cuny.hunter.mylyngit.core.analysis,
edu.cuny.hunter.mylyngit.core.utils,
Expand Down
4 changes: 2 additions & 2 deletions edu.cuny.hunter.mylyngit.evaluation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<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">
<version>1.0.0-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>

<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<version>1.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>edu.cuny.hunter.mylyngit.eval</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion edu.cuny.hunter.mylyngit.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Test
Bundle-SymbolicName: edu.cuny.hunter.mylyngit.tests;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 1.4.0.qualifier
Automatic-Module-Name: edu.cuny.hunter.mylyngit.tests
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.eclipse.jgit;bundle-version="5.1.0",
Expand Down
4 changes: 2 additions & 2 deletions edu.cuny.hunter.mylyngit.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
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">

<version>1.0.0-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>

<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<version>1.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>edu.cuny.hunter.mylyngit.tests</artifactId>
Expand Down
8 changes: 5 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.cuny.hunter.log</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<version>1.4.0-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>edu.cuny.hunter.log.ui</module>
<module>edu.cuny.hunter.log.core</module>
<module>edu.cuny.hunter.mylyngit.core</module>
<module>edu.cuny.hunter.mylyngit.tests</module>
<module>edu.cuny.hunter.mylyngit.evaluation</module>
<module>edu.cuny.hunter.mylyngit.tests</module>
<module>edu.cuny.hunter.mylyngit.evaluation</module>
<module>edu.cuny.hunter.log.feature</module>
<module>edu.cuny.hunter.log.updatesite</module>
<module>edu.cuny.hunter.log.tests</module>
<module>edu.cuny.hunter.log.tests.report</module>
</modules>
Expand Down