Committed by
Gerrit Code Review
Fixing onos-maven-plugin App Mojo
Dots in artifactId should not be replaced with slashes. Change-Id: I7d1b2608702255a36bfffeb0ca7c2acb9f5bc076
Showing
3 changed files
with
5 additions
and
2 deletions
| ... | @@ -43,7 +43,7 @@ | ... | @@ -43,7 +43,7 @@ |
| 43 | <onos-build-conf.version>1.3</onos-build-conf.version> | 43 | <onos-build-conf.version>1.3</onos-build-conf.version> |
| 44 | <netty4.version>4.0.36.Final</netty4.version> | 44 | <netty4.version>4.0.36.Final</netty4.version> |
| 45 | <openflowj.version>0.9.4.onos</openflowj.version> | 45 | <openflowj.version>0.9.4.onos</openflowj.version> |
| 46 | - <onos-maven-plugin.version>1.9</onos-maven-plugin.version> | 46 | + <onos-maven-plugin.version>1.10-SNAPSHOT</onos-maven-plugin.version> |
| 47 | <osgi.version>5.0.0</osgi.version> | 47 | <osgi.version>5.0.0</osgi.version> |
| 48 | <karaf.version>3.0.5</karaf.version> | 48 | <karaf.version>3.0.5</karaf.version> |
| 49 | <jersey.version>2.22.2</jersey.version> | 49 | <jersey.version>2.22.2</jersey.version> | ... | ... |
| ... | @@ -53,6 +53,9 @@ | ... | @@ -53,6 +53,9 @@ |
| 53 | </licenses> | 53 | </licenses> |
| 54 | 54 | ||
| 55 | <modules> | 55 | <modules> |
| 56 | + <!-- FIXME remove after 1.10 is released --> | ||
| 57 | + <module>tools/package/maven-plugin</module> | ||
| 58 | + | ||
| 56 | <module>lib</module> | 59 | <module>lib</module> |
| 57 | 60 | ||
| 58 | <module>utils</module> | 61 | <module>utils</module> | ... | ... |
| ... | @@ -368,7 +368,7 @@ public class OnosAppMojo extends AbstractMojo { | ... | @@ -368,7 +368,7 @@ public class OnosAppMojo extends AbstractMojo { |
| 368 | 368 | ||
| 369 | // Generates artifact directory name from the specified elements. | 369 | // Generates artifact directory name from the specified elements. |
| 370 | private String artifactDir(String gid, String aid, String version) { | 370 | private String artifactDir(String gid, String aid, String version) { |
| 371 | - return gid.replace('.', '/') + "/" + aid.replace('.', '/') + "/" + version; | 371 | + return gid.replace('.', '/') + "/" + aid + "/" + version; |
| 372 | } | 372 | } |
| 373 | 373 | ||
| 374 | // Generates artifact file name from the specified fields. | 374 | // Generates artifact file name from the specified fields. | ... | ... |
-
Please register or login to post a comment