diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-12-15 22:53:33 +0100 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-12-15 22:53:33 +0100 |
commit | 54c4c84888b840be561565f79654e59f80766ecc (patch) | |
tree | bcf346d5dc996fa77e840e30f643ceb47dac3b00 /src/main/java/org/apache/maven/plugin/nar/NarFileLayout10.java | |
parent | 8c046e79b56e71bd0a9f3787712963bc2523d8f1 (diff) | |
download | maven-nar-plugin-54c4c84888b840be561565f79654e59f80766ecc.tar.gz maven-nar-plugin-54c4c84888b840be561565f79654e59f80766ecc.tar.bz2 maven-nar-plugin-54c4c84888b840be561565f79654e59f80766ecc.tar.xz maven-nar-plugin-54c4c84888b840be561565f79654e59f80766ecc.zip |
Fixed NAR-90 and NAR-118
Diffstat (limited to 'src/main/java/org/apache/maven/plugin/nar/NarFileLayout10.java')
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/NarFileLayout10.java | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarFileLayout10.java b/src/main/java/org/apache/maven/plugin/nar/NarFileLayout10.java new file mode 100644 index 0000000..e4c8979 --- /dev/null +++ b/src/main/java/org/apache/maven/plugin/nar/NarFileLayout10.java @@ -0,0 +1,57 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.maven.plugin.nar; + +import java.io.File; + +/** + * @author Mark Donszelmann (Mark.Donszelmann@gmail.com) + */ +public class NarFileLayout10 + implements NarFileLayout +{ + + /* + * (non-Javadoc) + * @see org.apache.maven.plugin.nar.NarFileLayout#getIncludeDirectory() + */ + public String getIncludeDirectory() + { + return "include"; + } + + /* + * (non-Javadoc) + * @see org.apache.maven.plugin.nar.NarFileLayout#getLibDirectory(java.lang.String, java.lang.String) + */ + public String getLibDirectory( String aol, String type ) + { + return "lib" + File.separator + aol + File.separator + type; + } + + /* + * (non-Javadoc) + * @see org.apache.maven.plugin.nar.NarFileLayout#getBinDirectory(java.lang.String) + */ + public String getBinDirectory( String aol ) + { + return "bin" + File.separator + aol; + } +} |