Sanjana Agarwal
Committed by Gerrit Code Review

Fixing onos-maven-plugin App Mojo

Dots in artifactId should not be replaced with slashes.

Change-Id: I7d1b2608702255a36bfffeb0ca7c2acb9f5bc076
......@@ -43,7 +43,7 @@
<onos-build-conf.version>1.3</onos-build-conf.version>
<netty4.version>4.0.36.Final</netty4.version>
<openflowj.version>0.9.4.onos</openflowj.version>
<onos-maven-plugin.version>1.9</onos-maven-plugin.version>
<onos-maven-plugin.version>1.10-SNAPSHOT</onos-maven-plugin.version>
<osgi.version>5.0.0</osgi.version>
<karaf.version>3.0.5</karaf.version>
<jersey.version>2.22.2</jersey.version>
......
......@@ -53,6 +53,9 @@
</licenses>
<modules>
<!-- FIXME remove after 1.10 is released -->
<module>tools/package/maven-plugin</module>
<module>lib</module>
<module>utils</module>
......
......@@ -368,7 +368,7 @@ public class OnosAppMojo extends AbstractMojo {
// Generates artifact directory name from the specified elements.
private String artifactDir(String gid, String aid, String version) {
return gid.replace('.', '/') + "/" + aid.replace('.', '/') + "/" + version;
return gid.replace('.', '/') + "/" + aid + "/" + version;
}
// Generates artifact file name from the specified fields.
......