2
0
Эх сурвалжийг харах

Make Attributes sample use Maven's commons-attributes plugin.

Ben Alex 20 жил өмнө
parent
commit
e8bfa37218

+ 8 - 0
samples/attributes/maven.xml

@@ -0,0 +1,8 @@
+<project xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:util="jelly:util">
+    
+    <goal name="install-plugin">
+        <get src="http://cvs.apache.org/~leosutic/commons-attributes-plugin-2.1.jar"
+            dest="${maven.home}/plugins/commons-attributes-plugin-2.1.jar"/>
+    </goal>
+    
+</project>

+ 8 - 11
samples/attributes/project.properties

@@ -1,13 +1,10 @@
-# Ant properties for building the Attributes sample application.
 # $Id$
 
-name=attributes
-src.dir=src
-src.generated.dir=generated
-lib.dir=${basedir}/../../lib
-dist.lib.dir=${basedir}/../../dist
-build.dir=classes
-jalopy.xml=${basedir}/../../jalopy.xml
-reports.dir=reports
-test.includes=**/*TestSuite.class **/*Tests.class
-test.excludes=**/Abstract*
+######################################################################
+# Commons-Attributes
+######################################################################
+org.apache.commons.attributes.enable=true
+org.apache.commons.attributes.index.enable=true
+
+# Having difficulty? Try executing "maven install-plugin" from the
+# attributes directory. See the maven.xml for what this goal does.