Pārlūkot izejas kodu

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

Nhu Nguyen 6 gadus atpakaļ
vecāks
revīzija
1e7c0749c5
5 mainītis faili ar 22 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

@@ -1,6 +1,6 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 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 4
     <output url="file://$MODULE_DIR$/target/classes" />
5 5
     <output-test url="file://$MODULE_DIR$/target/test-classes" />
6 6
     <content url="file://$MODULE_DIR$">

+ 1
- 1
.idea/compiler.xml Parādīt failu

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

+ 1
- 0
.idea/misc.xml Parādīt failu

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

+ 12
- 1
pom.xml Parādīt failu

@@ -7,6 +7,17 @@
7 7
     <groupId>zipcode.rocks.fido</groupId>
8 8
     <artifactId>ZCW-Fido-URLFetch</artifactId>
9 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 23
 </project>

+ 7
- 0
src/main/java/Main.java Parādīt failu

@@ -0,0 +1,7 @@
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
+}