Commit ce480fec authored by michael lundquist's avatar michael lundquist
Browse files

Creating the maven repo and adding the test script.

parent 5f2e29d4
- apt-get -qq update
- apt-get -qq upgrade
- export BUILD_DIR=$PWD
- apt-get -qq install default-jre
- apt-get -qq install default-jdk
- java -version
- update-alternatives --config java
- apt-get -qq install wget
- cd /opt
- wget
- tar xvf apache-maven-3.6.0-bin.tar.gz
- export M2_HOME=/opt/apache-maven-3.6.0
- export M2=$M2_HOME/bin
- export PATH=$M2:$PATH
- cd $BUILD_DIR/fourthassignment
- mvn -version
script: mvn verify
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="" xmlns:xsi=""
<!-- FIXME change it to the project's website -->
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<!-- clean lifecycle, see -->
<!-- default lifecycle, jar packaging: see -->
<!-- site lifecycle, see -->
package com.ds.fifthassignment;
* Hello world!
public class App
public static void main( String[] args )
System.out.println( "Hello World!" );
package com.ds.fifthassignment;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
* Unit test for simple App.
public class AppTest
* Rigorous Test :-)
public void shouldAnswerWithTrue()
assertTrue( true );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment