Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Why the building of ODL HelloWorld produce big tar.gz and zip?

Hi, everyone!

I am new to ODL. I followed these steps to build a HelloWorld project. 1. Use command: mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeRepository=https://nexus.opendaylight.org/content/repositories/public/ -DarchetypeCatalog=https://nexus.opendaylight.org/content/repositories/public/archetype-catalog.xml

Then my working directory is like this: drwxrwxr-x 8 sdn sdn 4096 5月 10 16:04 ./ drwxrwxr-x 14 sdn sdn 4096 5月 11 10:24 ../ drwxrwxr-x 5 sdn sdn 4096 5月 11 14:46 api/ drwxrwxr-x 3 sdn sdn 4096 5月 10 16:04 artifacts/ drwxrwxr-x 5 sdn sdn 4096 5月 10 16:05 features/ drwxrwxr-x 5 sdn sdn 4096 5月 11 14:46 impl/ drwxrwxr-x 4 sdn sdn 4096 5月 10 16:05 karaf/ -rw-rw-r-- 1 sdn sdn 1959 5月 10 14:53 pom.xml -rw-rw-r-- 1 sdn sdn 379 5月 10 16:04 .project drwxrwxr-x 2 sdn sdn 4096 5月 10 16:05 .settings/

  1. Use command: mvn clean install -D skipTests

Then a very long building process. Usually take more than 3 minutes. In that period, a info show for very long time. [INFO] --- karaf-maven-plugin:3.0.1:instance-create-archive (package) @ hello-karaf --- And, when building finished, I found hello-karaf-1.0-SNAPSHOT.tar.gz and hello-karaf-1.0-SNAPSHOT.zip in the <working-dir>/karaf/target/. Each about 160MB.

My question is how can I prevent mvn clean install producing the big tar.gz and zip? Thank you!

Why the building of ODL HelloWorld produce big tar.gz and zip?

Hi, everyone!

I am new to ODL. I followed these steps to build a HelloWorld project. 1. project.
1
Use command: command:
mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeRepository=https://nexus.opendaylight.org/content/repositories/public/ -DarchetypeCatalog=https://nexus.opendaylight.org/content/repositories/public/archetype-catalog.xml

Then my working directory is like this: this:
drwxrwxr-x 8 sdn sdn 4096 5月 10 16:04 ./ ./
drwxrwxr-x 14 sdn sdn 4096 5月 11 10:24 ../ ../
drwxrwxr-x 5 sdn sdn 4096 5月 11 14:46 api/ api/
drwxrwxr-x 3 sdn sdn 4096 5月 10 16:04 artifacts/ artifacts/
drwxrwxr-x 5 sdn sdn 4096 5月 10 16:05 features/ features/
drwxrwxr-x 5 sdn sdn 4096 5月 11 14:46 impl/ impl/
drwxrwxr-x 4 sdn sdn 4096 5月 10 16:05 karaf/ karaf/
-rw-rw-r-- 1 sdn sdn 1959 5月 10 14:53 pom.xml pom.xml
-rw-rw-r-- 1 sdn sdn 379 5月 10 16:04 .project .project
drwxrwxr-x 2 sdn sdn 4096 5月 10 16:05 .settings/


  1. 2 Use command: command:
    mvn clean install -D skipTests

Then a very long building process. Usually take more than 3 minutes. minutes.
In that period, a info show for very long time. time.
[INFO] --- karaf-maven-plugin:3.0.1:instance-create-archive (package) @ hello-karaf --- ---
And, when building finished, I found hello-karaf-1.0-SNAPSHOT.tar.gz and hello-karaf-1.0-SNAPSHOT.zip in the <working-dir>/karaf/target/. Each about 160MB.

My question is how can I prevent mvn clean install producing the big tar.gz and zip? Thank you!