Browse Source

added in a main class to set up the src folder because git doesn't check in empty dir

Nhu Nguyen 6 years ago
parent
commit
1e7c0749c5
5 changed files with 22 additions and 3 deletions
  1. 1
    1
      .idea/ZCW-Fido-URLFetch.iml
  2. 1
    1
      .idea/compiler.xml
  3. 1
    0
      .idea/misc.xml
  4. 12
    1
      pom.xml
  5. 7
    0
      src/main/java/Main.java

+ 1
- 1
.idea/ZCW-Fido-URLFetch.iml View File

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
2
 <module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
3
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
4
     <output url="file://$MODULE_DIR$/target/classes" />
4
     <output url="file://$MODULE_DIR$/target/classes" />
5
     <output-test url="file://$MODULE_DIR$/target/test-classes" />
5
     <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
     <content url="file://$MODULE_DIR$">
6
     <content url="file://$MODULE_DIR$">

+ 1
- 1
.idea/compiler.xml View File

10
       </profile>
10
       </profile>
11
     </annotationProcessing>
11
     </annotationProcessing>
12
     <bytecodeTargetLevel>
12
     <bytecodeTargetLevel>
13
-      <module name="ZCW-Fido-URLFetch" target="1.5" />
13
+      <module name="ZCW-Fido-URLFetch" target="1.8" />
14
     </bytecodeTargetLevel>
14
     </bytecodeTargetLevel>
15
   </component>
15
   </component>
16
 </project>
16
 </project>

+ 1
- 0
.idea/misc.xml View File

7
       </list>
7
       </list>
8
     </option>
8
     </option>
9
   </component>
9
   </component>
10
+  <component name="ProjectRootManager" version="2" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
10
 </project>
11
 </project>

+ 12
- 1
pom.xml View File

7
     <groupId>zipcode.rocks.fido</groupId>
7
     <groupId>zipcode.rocks.fido</groupId>
8
     <artifactId>ZCW-Fido-URLFetch</artifactId>
8
     <artifactId>ZCW-Fido-URLFetch</artifactId>
9
     <version>1.0-SNAPSHOT</version>
9
     <version>1.0-SNAPSHOT</version>
10
-
10
+    <build>
11
+        <plugins>
12
+            <plugin>
13
+                <groupId>org.apache.maven.plugins</groupId>
14
+                <artifactId>maven-compiler-plugin</artifactId>
15
+                <configuration>
16
+                    <source>1.8</source>
17
+                    <target>1.8</target>
18
+                </configuration>
19
+            </plugin>
20
+        </plugins>
21
+    </build>
11
     
22
     
12
 </project>
23
 </project>

+ 7
- 0
src/main/java/Main.java View File

1
+public class Main {
2
+    public static void main(String[] args) {
3
+        //ask for a url
4
+        // fetch the url
5
+        // print the url
6
+    }
7
+}