Skip to contentSkip to conversation

Change the POM file to take all the sources from the original location

PATCH In review [email protected] 2 participants 4 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Change the POM file to take all the sources from the original location

From: Imran M Yousuf <[email protected]>

Maven POM has the option of specifying the location of source and test source codes, utilizing that the old source locations are now used to configure maven, thus keeping the old structure as it is and increasing project spectrum.

---
 jgit-maven/.gitignore                              |    1 +
 jgit-maven/jgit/pom.xml                            |   38 ++++++++++++++++++++
 ...ck-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idx |  Bin 0 -> 1256 bytes
 ...k-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.pack |  Bin 0 -> 7811 bytes
 ...ck-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.idx |  Bin 0 -> 1088 bytes
 ...k-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.pack |  Bin 0 -> 164 bytes
 ...ck-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idx |  Bin 0 -> 2696 bytes
 ...k-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.pack |  Bin 0 -> 5956 bytes
 ...ck-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.idx |  Bin 0 -> 1112 bytes
 ...k-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.pack |  Bin 0 -> 1643 bytes
 jgit-maven/jgit/tst/packed-refs                    |   13 +++++++
 11 files changed, 52 insertions(+), 0 deletions(-)
 create mode 100644 jgit-maven/.gitignore
 create mode 100644 jgit-maven/jgit/pom.xml
 create mode 100644 jgit-maven/jgit/tst/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idx
 create mode 100644 jgit-maven/jgit/tst/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.pack
 create mode 100644 jgit-maven/jgit/tst/pack-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.idx
 create mode 100644 jgit-maven/jgit/tst/pack-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.pack
 create mode 100644 jgit-maven/jgit/tst/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idx
 create mode 100644 jgit-maven/jgit/tst/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.pack
 create mode 100644 jgit-maven/jgit/tst/pack-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.idx
 create mode 100644 jgit-maven/jgit/tst/pack-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.pack
 create mode 100644 jgit-maven/jgit/tst/packed-refs
jgit-maven/.gitignore new file +1 -0
new file mode 100644
index 0000000..eb5a316
@@ -0,0 +1 @@
+target
jgit-maven/jgit/pom.xml new file +38 -0
new file mode 100644
index 0000000..281b64c
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.spearce</groupId>
+  <artifactId>jgit</artifactId>
+  <packaging>jar</packaging>
+  <version>1.0-SNAPSHOT</version>
+  <name>jgit</name>
+  <url>http://maven.apache.org</url>
+  <build>
+      <sourceDirectory>../../org.spearce.jgit/src/</sourceDirectory>
+      <testSourceDirectory>../../org.spearce.jgit.test/tst/</testSourceDirectory>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>2.0.2</version>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+            <groupId>com.jcraft</groupId>
+            <artifactId>jsch</artifactId>
+            <version>0.1.38</version>
+            <scope>compile</scope>
+        </dependency>
+  </dependencies>
+</project>
jgit-maven/jgit/tst/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idx new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..84a6c0fbeae2b03eb6f8541a168b09504fde1cba
GIT binary patch
jgit-maven/jgit/tst/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.pack new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..99f4fdf23241e246452a248e16e06fe61a25caa0
GIT binary patch
jgit-maven/jgit/tst/pack-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.idx new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..cf58d5baa11824217bb0c5eab7444fb406219885
GIT binary patch
jgit-maven/jgit/tst/pack-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.pack new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..0b0001020a4a6bab7070f8eb407d14d49358bc13
GIT binary patch
jgit-maven/jgit/tst/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idx new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..2579301b8447e4d55480f65ae6c27fe1eb99bf4d
GIT binary patch
jgit-maven/jgit/tst/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.pack new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..bb47c90d93b0b2276fc36b96bc8734085bde6007
GIT binary patch
jgit-maven/jgit/tst/pack-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.idx new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..d515f905f2c6791f9d2b78d9913f294f0f0ace85
GIT binary patch
jgit-maven/jgit/tst/pack-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.pack new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..72712b20beaf82edd5c4ff0f1630db9f24b45ba0
GIT binary patch
jgit-maven/jgit/tst/packed-refs new file +13 -0
new file mode 100644
index 0000000..f67a3ef
@@ -0,0 +1,13 @@
+# pack-refs with: peeled 
+6db9c2ebf75590eef973081736730a9ea169a0c4 refs/heads/a
+7f822839a2fe9760f386cbbbcb3f92c5fe81def7 refs/heads/b
+6e1475206e57110fcef4b92320436c1e9872a322 refs/heads/c
+f73b95671f326616d66b2afb3bdfcdbbce110b44 refs/heads/d
+d0114ab8ac326bab30e3a657a0397578c5a1af88 refs/heads/e
+d86a2aada2f5e7ccf6f11880bfb9ab404e8a8864 refs/heads/pa
+49322bb17d3acc9146f98c97d078513228bbf3c0 refs/heads/master
+6db9c2ebf75590eef973081736730a9ea169a0c4 refs/tags/A
+17768080a2318cd89bba4c8b87834401e2095703 refs/tags/B
+^d86a2aada2f5e7ccf6f11880bfb9ab404e8a8864
+8bbde7aacf771a9afb6992434f1ae413e010c6d8 refs/tags/spearce-gpg-pub
+^fd608fbe625a2b456d9f15c2b1dc41f252057dd7
Signature · 1 line
1.5.5.GIT
#1 lore raw

fredagen den 6 juni 2008 07.49.40 skrev [email protected]:

Quoted 6 lines

From: Imran M Yousuf <[email protected]>

Maven POM has the option of specifying the location of source and test source codes, utilizing that the old source locations are now used to configure maven, thus keeping the old structure as it is and increasing project spectrum.

You could make the patches more readble using -C -C. That would tell people you are copying a whole directory. Maybe someone else could tell my why double -C is needed. It's a 100% failtful copy of those files. Even the base names are the same.

I posted another comment in the original maven thread.

-- robin

#2 lore raw
Quoted 6 lines · Robin Rosenberg

fredagen den 6 juni 2008 07.49.40 skrev [email protected]:

Quoted 2 lines

From: Imran M Yousuf <[email protected]>

You could make the patches more readble using -C -C. That would tell people you are copying a whole directory. Maybe someone else could tell my why double -C is needed. It's a 100% failtful copy of those files. Even the base names are the same.

Is the -C -C option for the binary files?

Quoted 2 lines

I posted another comment in the original maven thread.

Replied to that :).

Thanks,

Imran

Quoted 3 lines

-- robin

Signature · 7 lines
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: [email protected]
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557
#3 lore raw

fredagen den 6 juni 2008 14.45.04 skrev Imran M Yousuf:

Quoted 10 lines
Quoted 6 lines · Robin Rosenberg

fredagen den 6 juni 2008 07.49.40 skrev [email protected]:

Quoted 2 lines

From: Imran M Yousuf <[email protected]>

You could make the patches more readble using -C -C. That would tell people you are copying a whole directory. Maybe someone else could tell my why double -C is needed. It's a 100% failtful copy of those files. Even the base names are the same.

Is the -C -C option for the binary files?

No, it's the --find-copies-harder. Reading the man page I understand why. The copied file was not changed in the patch.

-- robin