diff options
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; + } +} |