Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' into release-1.0.0-m3
Browse files Browse the repository at this point in the history
  • Loading branch information
this committed May 23, 2016
2 parents eeb2ac2 + e600868 commit d684f95
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main/java/org/wso2/carbon/maven/ApplicationUUFMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,11 @@ private Assembly createApplicationAssembly(String assemblyId, String baseDirecto
try {
DependencyHolder dependencies = getDependencies(uufTempDirectory);
for (Path currentTheme : dependencies.getThemes()) {
fileSets.add(createFileSet(currentTheme.toString(), "./themes/"));
fileSets.add(createFileSet(currentTheme.toString(), "./themes/" + currentTheme.getFileName()));
}
for (Path currentComponent : dependencies.getComponents()) {
fileSets.add(createFileSet(currentComponent.toString(), "./components/"));
fileSets.add(
createFileSet(currentComponent.toString(), "./components/" + currentComponent.getFileName()));
}
} catch (IOException e) {
throw new MojoFailureException(
Expand All @@ -152,7 +153,7 @@ private Assembly createApplicationAssembly(String assemblyId, String baseDirecto
ArrayList<FileItem> fileItems = new ArrayList<>();
FileItem fileItem = new FileItem();
fileItem.setSource(uufTempDirectory.resolve(KEY_DEPENDENCY_TREE_FILE).toString());
fileItem.setOutputDirectory("/components/");
fileItem.setOutputDirectory("./components/");
fileItems.add(fileItem);
assembly.setFiles(fileItems);

Expand Down

0 comments on commit d684f95

Please sign in to comment.