debian/0000755000000000000000000000000012247262420007167 5ustar debian/maven.rules0000644000000000000000000000006712247262001011347 0ustar junit junit jar s/3\..*/3.x/ * asm asm jar s/.*/3.x/ * debian/libmvel-java-doc.doc-base.api0000644000000000000000000000042312247262001014444 0ustar Document: libmvel-java Title: API Javadoc for MVEL Author: MVEL developers Abstract: This is the API Javadoc provided for the libmvel-java library. Section: Programming Format: HTML Index: /usr/share/doc/libmvel-java/api/index.html Files: /usr/share/doc/libmvel-java/api/* debian/watch0000644000000000000000000000007712247262001010217 0ustar version=3 http://svn.codehaus.org/mvel/tags/ mvel2-([\d\.]+)/ debian/rules0000755000000000000000000000032312247262001010240 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk JAVA_HOME := /usr/lib/jvm/default-java get-orig-source: sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION) debian/changelog0000644000000000000000000000237312247262001011041 0ustar mvel (2.0.18-3) unstable; urgency=low * Team upload. * Use the default Maven plugins instead of a fixed version to avoid build failures when a plugin is upgraded (Closes: #730939) * debian/control: - Standards-Version updated to 3.9.5 (no changes) - Use canonical URLs for the Vcs-* fields * Switch to debhelper level 9 * debian/copyright: Updated to the Copyright Format 1.0 -- Emmanuel Bourg Mon, 02 Dec 2013 18:18:35 +0100 mvel (2.0.18-2) unstable; urgency=low * Team upload. * Explicitly give encoding to fix FTBFS with Java7. * Remove duplicate fields in d/copyright. * Add missing --java-lib in d/libmvel-java.poms. -- Niels Thykier Wed, 20 Jun 2012 21:19:28 +0200 mvel (2.0.18-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.9.0: no changes needed. -- Damien Raude-Morvan Thu, 01 Jul 2010 01:08:25 +0200 mvel (2.0.17-1) unstable; urgency=low * New upstream release. - Refresh patches -- Damien Raude-Morvan Mon, 05 Apr 2010 23:34:18 +0200 mvel (2.0.16-1) unstable; urgency=low * Initial release (Closes: #571260) -- Damien Raude-Morvan Mon, 01 Mar 2010 23:20:39 +0100 debian/patches/0000755000000000000000000000000012247262274010625 5ustar debian/patches/pom.diff0000644000000000000000000000610712247262001012242 0ustar Description: Disable some maven plugins and add dependency on asm 3.x Forwarded: no Author: Damien Raude-Morvan Last-Update: 2010-02-24 --- a/pom.xml +++ b/pom.xml @@ -24,6 +24,8 @@ + + org.apache.maven.plugins maven-compiler-plugin - 2.0.1 1.5 1.5 @@ -90,19 +91,18 @@ + false - clean install true +--> maven-jar-plugin @@ -112,11 +112,11 @@ - + + + @@ -162,14 +165,14 @@ junit junit - 3.8.1 + 3.x test com.thoughtworks.xstream xstream - 1.3.1 + debian test @@ -179,6 +182,13 @@ + + + asm + asm + 3.x + + debian/patches/use_system_asm.diff0000644000000000000000000000327012247262001014505 0ustar Description: Use system ASM 3.x instead of bundled (stripped) one Forwarded: no Author: Damien Raude-Morvan Last-Update: 2010-02-24 --- a/src/main/java/org/mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java +++ b/src/main/java/org/mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java @@ -24,13 +24,13 @@ import static org.mvel2.MVEL.eval; import static org.mvel2.MVEL.isAdvancedDebugging; -import org.mvel2.asm.ClassWriter; -import org.mvel2.asm.Label; -import org.mvel2.asm.MethodVisitor; -import org.mvel2.asm.Opcodes; +import org.objectweb.asm.ClassWriter; +import org.objectweb.asm.Label; +import org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.Opcodes; -import static org.mvel2.asm.Opcodes.*; -import static org.mvel2.asm.Type.*; +import static org.objectweb.asm.Opcodes.*; +import static org.objectweb.asm.Type.*; import org.mvel2.ast.Function; import org.mvel2.ast.TypeDescriptor; @@ -582,7 +582,7 @@ mv = cw.visitMethod(ACC_PUBLIC, "getKnownEgressType", "()Ljava/lang/Class;", null, null); mv.visitCode(); - mv.visitLdcInsn(org.mvel2.asm.Type.getType(returnType != null ? returnType : Object.class)); + mv.visitLdcInsn(org.objectweb.asm.Type.getType(returnType != null ? returnType : Object.class)); mv.visitInsn(ARETURN); mv.visitMaxs(1, 1); --- a/src/main/java/org/mvel2/optimizers/impl/asm/ProducesBytecode.java +++ b/src/main/java/org/mvel2/optimizers/impl/asm/ProducesBytecode.java @@ -18,7 +18,7 @@ package org.mvel2.optimizers.impl.asm; -import org.mvel2.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; import org.mvel2.integration.VariableResolverFactory; /** debian/patches/series0000644000000000000000000000003512247262001012024 0ustar pom.diff use_system_asm.diff debian/maven.properties0000644000000000000000000000007712247262001012412 0ustar maven.test.skip=true project.build.sourceEncoding=ISO-8859-1 debian/libmvel-java.poms0000644000000000000000000000320512247262001012433 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install. [mh_install] # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar. # It will be installed with mh_install. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # pom.xml --has-package-version --java-lib debian/orig-tar.sh0000644000000000000000000000065412247262001011247 0ustar #!/bin/sh -e # $1 version TAR=../mvel_$1.orig.tar.gz DIR=mvel-$1.orig VERSION=`echo $1 | sed -e 's/[+~].*//g'` TAG=mvel2-$VERSION SVN_ROOT=http://svn.codehaus.org/mvel/tags/ svn export $SVN_ROOT/$TAG $DIR GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR rm -rf $DIR # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi exit 0 debian/source/0000755000000000000000000000000012247262274010476 5ustar debian/source/format0000644000000000000000000000001412247262001011670 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000035112247262001011340 0ustar This package was debianized using the mh_make command from the maven-debian-helper package. The build system uses Maven but prevents it from downloading anything from the Internet, making the build compliant with the Debian policy. debian/orig-tar.exclude0000644000000000000000000000006412247262001012261 0ustar ASM-LICENSE.txt src/main/java/org/mvel2/asm/* lib/* debian/compat0000644000000000000000000000000212247262001010360 0ustar 9 debian/libmvel-java-doc.install0000644000000000000000000000006112247262001013663 0ustar target/apidocs/* usr/share/doc/libmvel-java/api debian/copyright0000644000000000000000000000123612247262001011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MVEL Upstream-Contact: Mike Brock Source: http://mvel.codehaus.org Files: * Copyright: 2007 The Codehaus, Mike Brock, Dhanji Prasanna, John Graham, Mark Proctor 2007-2008 The Codehaus, Christopher Brock 2007 MVFLEX/Valhalla Project 2005 JBoss Inc License: Apache-2.0 Files: debian/* Copyright: Copyright 2010, Damien Raude-Morvan License: Apache-2.0 License: Apache-2.0 On Debian GNU/Linux system you can find the complete text of the Apache-2.0 license in '/usr/share/common-licenses/Apache-2.0' debian/control0000644000000000000000000000346112247262001010571 0ustar Source: mvel Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan Build-Depends: cdbs, debhelper (>= 9), default-jdk, maven-debian-helper Build-Depends-Indep: default-jdk-doc, junit, libasm3-java, libmaven-compiler-plugin-java (>= 2.0.2), libmaven-jar-plugin-java (>= 2.2), libmaven-javadoc-plugin-java, libsurefire-java (>= 2.4.3), libxstream-java Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/mvel/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/mvel/ Homepage: http://mvel.codehaus.org Package: libmvel-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Description: expression language for Java-based applications - Library MVEL may be useful as an extension to anything from use in JSP Tag Libraries, to the configuration facilities of your library/framework. . In addition to being an expression language, MVEL also comes packaged with an templating system similar to Velocity and FreeMarker. Package: libmvel-java-doc Architecture: all Section: doc Depends: ${maven:DocDepends}, ${misc:Depends} Recommends: ${maven:DocOptionalDepends} Suggests: libmvel-java Description: expression language for Java-based applications - Javadoc MVEL may be useful as an extension to anything from use in JSP Tag Libraries, to the configuration facilities of your library/framework. . In addition to being an expression language, MVEL also comes packaged with an templating system similar to Velocity and FreeMarker. . This package provides the API documentation for libmvel-java.