Untitled
Kantee
java
7 months ago
8.6 kB
3
Indexable
Never
PS E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler> mvn test [INFO] Scanning for projects... [INFO] [INFO] -------------< com.udacity.webcrawler:udacity-webcrawler >-------------- [INFO] Building udacity-webcrawler 1.0 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ udacity-webcrawler --- [INFO] skip non existing resourceDirectory E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler\src\main\resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ udacity-webcrawler --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ udacity-webcrawler --- [INFO] skip non existing resourceDirectory E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler\src\test\resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ udacity-webcrawler --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- surefire:3.0.0-M5:test (default-test) @ udacity-webcrawler --- [WARNING] Parameter 'systemProperties' is deprecated: Use systemPropertyVariables instead. [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.udacity.webcrawler.json.ConfigurationLoaderTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 s - in com.udacity.webcrawler.json.ConfigurationLoaderTest [INFO] Running com.udacity.webcrawler.json.CrawlResultWriterTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in com.udacity.webcrawler.json.CrawlResultWriterTest [INFO] Running com.udacity.webcrawler.ParallelWebCrawlerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.161 s - in com.udacity.webcrawler.ParallelWebCrawlerTest [INFO] Running com.udacity.webcrawler.parser.PageParserImplTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s - in com.udacity.webcrawler.parser.PageParserImplTest [INFO] Running com.udacity.webcrawler.profiler.ProfilerImplTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 s - in com.udacity.webcrawler.profiler.ProfilerImplTest [INFO] Running com.udacity.webcrawler.SequentialWebCrawlerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in com.udacity.webcrawler.SequentialWebCrawlerTest [INFO] Running com.udacity.webcrawler.WebCrawlerTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 s - in com.udacity.webcrawler.WebCrawlerTest [INFO] Running com.udacity.webcrawler.WordCountsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.udacity.webcrawler.WordCountsTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 38, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.635 s [INFO] Finished at: 2024-02-28T09:26:08+07:00 [INFO] ------------------------------------------------------------------------ PS E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler> mvn package [INFO] Scanning for projects... [INFO] [INFO] -------------< com.udacity.webcrawler:udacity-webcrawler >-------------- [INFO] Building udacity-webcrawler 1.0 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ udacity-webcrawler --- [INFO] skip non existing resourceDirectory E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler\src\main\resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ udacity-webcrawler --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ udacity-webcrawler --- [INFO] skip non existing resourceDirectory E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler\src\test\resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ udacity-webcrawler --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- surefire:3.0.0-M5:test (default-test) @ udacity-webcrawler --- [WARNING] Parameter 'systemProperties' is deprecated: Use systemPropertyVariables instead. [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.udacity.webcrawler.json.ConfigurationLoaderTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122 s - in com.udacity.webcrawler.json.ConfigurationLoaderTest [INFO] Running com.udacity.webcrawler.json.CrawlResultWriterTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in com.udacity.webcrawler.json.CrawlResultWriterTest [INFO] Running com.udacity.webcrawler.ParallelWebCrawlerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 s - in com.udacity.webcrawler.ParallelWebCrawlerTest [INFO] Running com.udacity.webcrawler.parser.PageParserImplTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 s - in com.udacity.webcrawler.parser.PageParserImplTest [INFO] Running com.udacity.webcrawler.profiler.ProfilerImplTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in com.udacity.webcrawler.profiler.ProfilerImplTest [INFO] Running com.udacity.webcrawler.SequentialWebCrawlerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.udacity.webcrawler.SequentialWebCrawlerTest [INFO] Running com.udacity.webcrawler.WebCrawlerTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.218 s - in com.udacity.webcrawler.WebCrawlerTest [INFO] Running com.udacity.webcrawler.WordCountsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.udacity.webcrawler.WordCountsTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 38, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jar:2.4:jar (default-jar) @ udacity-webcrawler --- [INFO] [INFO] --- assembly:3.6.0:single (default) @ udacity-webcrawler --- [WARNING] Artifact: com.udacity.webcrawler:udacity-webcrawler:jar:1.0 references the same file as the assembly destination file. Moving it to a temporary location for inclusion. [INFO] Building jar: E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler\target\udacity-webcrawler-1.0.jar [WARNING] Configuration option 'appendAssemblyId' is set to false. Instead of attaching the assembly file: E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler\target\udacity-webcrawler-1.0.jar, it will become the file for main project artifact. NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic! [WARNING] Replacing pre-existing project main-artifact file: E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler\target\archive-tmp\udacity-webcrawler-1.0.jar with assembly file: E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler\target\udacity-webcrawler-1.0.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.999 s [INFO] Finished at: 2024-02-28T09:26:26+07:00 [INFO] ------------------------------------------------------------------------ PS E:\Projects\udacity\cd0381-advanced-java-programming-techniques-projectstarter\starter\webcrawler> java -cp target/udacity-webcrawler-1.0.jar com.udacity.webcrawler.main.WebCrawlerMain src/main/config/sample_config.json {"wordCounts":{"data":221,"udacity":157,"with":155,"business":114,"online":112},"urlsVisited":21}
Leave a Comment