[janino-parent] Initial import

mef mef at fedoraproject.org
Wed Mar 21 16:11:16 UTC 2012


commit 09afdc4bf62ed2e47007142508e1eb451a658f0a
Author: Mary Ellen Foster <mefoster at gmail.com>
Date:   Wed Mar 21 16:11:03 2012 +0000

    Initial import

 janino-parent-2.6.1.pom            |  265 ++++++++++++++++++++++++++++++++++++
 janino-parent-remove-modules.patch |   15 ++
 janino-parent.spec                 |   57 ++++++++
 new_bsd_license.txt                |   30 ++++
 4 files changed, 367 insertions(+), 0 deletions(-)
---
diff --git a/janino-parent-2.6.1.pom b/janino-parent-2.6.1.pom
new file mode 100644
index 0000000..4d0c455
--- /dev/null
+++ b/janino-parent-2.6.1.pom
@@ -0,0 +1,265 @@
+<?xml version="1.0"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.codehaus</groupId>
+    <artifactId>codehaus-parent</artifactId>
+    <version>4</version>
+  </parent>
+
+  <groupId>org.codehaus.janino</groupId>
+  <artifactId>janino-parent</artifactId>
+  <version>2.6.1</version>
+  <packaging>pom</packaging>
+
+  <name>Janino Parent</name>
+  <description>
+    Janino is a compiler that reads a JavaTM expression, block, class body, source file or a set of source files, and
+    generates JavaTM bytecode that is loaded and executed directly. Janino is not intended to be a development tool,
+    but an embedded compiler for run-time compilation purposes, e.g. expression evaluators or "server pages" engines
+    like JSP.
+  </description>
+  <url>http://docs.codehaus.org/display/JANINO/Home</url>
+  <inceptionYear>2001</inceptionYear>
+  <licenses>
+    <license>
+      <name>New BSD License</name>
+      <url>http://dist.codehaus.org/janino/new_bsd_license.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <mailingLists>
+    <mailingList>
+      <name>Development List</name>
+      <subscribe>dev-subscribe at janino.codehaus.org</subscribe>
+      <unsubscribe>dev-unsubscribe at janino.codehaus.org</unsubscribe>
+      <post>dev at janino.codehaus.org</post>
+      <archive>http://archive.janino.codehaus.org/dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>User List</name>
+      <subscribe>user-subscribe at janino.codehaus.org</subscribe>
+      <unsubscribe>user-unsubscribe at janino.codehaus.org</unsubscribe>
+      <post>user at janino.codehaus.org</post>
+      <archive>http://archive.janino.codehaus.org/user/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Commits List</name>
+      <subscribe>scm-subscribe at janino.codehaus.org</subscribe>
+      <unsubscribe>scm-unsubscribe at janino.codehaus.org</unsubscribe>
+      <archive>http://archive.janino.codehaus.org/scm/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <developers>
+    <developer>
+      <id>aunkrig</id>
+      <name>Arno Unkrig</name>
+      <roles>
+        <role>Despot</role>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>matt.fowles</id>
+      <name>Matt Fowles</name>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+  </developers>
+
+  <modules>
+    <module>commons-compiler</module>
+    <module>commons-compiler-jdk</module>
+    <module>janino</module>
+  </modules>
+
+  <scm>
+    <connection>scm:svn:http://svn.codehaus.org/janino/tags/V_2_6_1/</connection>
+    <developerConnection>scm:svn:https://svn.codehaus.org/janino/tags/V_2_6_1/</developerConnection>
+    <url>http://fisheye.codehaus.org/browse/janino/tags/V_2_6_1/</url>
+  </scm>
+  <issueManagement>
+    <system>Jira</system>
+    <url>http://jira.codehaus.org/browse/JANINO</url>
+  </issueManagement>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.codehaus.janino</groupId>
+        <artifactId>commons-compiler</artifactId>
+        <version>2.6.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.codehaus.janino</groupId>
+        <artifactId>commons-compiler-jdk</artifactId>
+        <version>2.6.1</version>
+      </dependency>
+
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>4.7</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.ant</groupId>
+        <artifactId>ant-nodeps</artifactId>
+        <version>1.7.1</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <build>
+    <sourceDirectory>src</sourceDirectory>
+    <testSourceDirectory>tests</testSourceDirectory>
+
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3</version>
+        <configuration>
+          <source>1.2</source>
+          <target>1.1</target>
+          <testSource>1.6</testSource>
+          <testTarget>1.6</testTarget>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.4.3</version>
+        <configuration>
+          <test>**/*Tests</test>
+          <failIfNoTests>false</failIfNoTests>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>buildnumber-maven-plugin</artifactId>
+        <version>1.0-beta-2</version>
+        <configuration>
+          <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
+          <items>
+            <item>timestamp</item>
+          </items>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>validate</phase>
+            <goals>
+              <goal>create</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clean-plugin</artifactId>
+        <version>2.4</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.4.2</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-install-plugin</artifactId>
+        <version>2.3</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <version>2.5</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>2.0.1</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.1.1</version>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.3</version>
+      </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.1.2</version>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <profiles>
+    <profile>
+      <id>reporting</id>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.5</version>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-pmd-plugin</artifactId>
+            <version>2.4</version>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-report-plugin</artifactId>
+            <version>2.4.3</version>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jxr-plugin</artifactId>
+            <version>2.1</version>
+            <configuration>
+              <inputEncoding>${project.build.sourceEncoding}</inputEncoding><!-- not needed in 2.2 -->
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>findbugs-maven-plugin</artifactId>
+            <version>1.1.1</version>
+          </plugin>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>jdepend-maven-plugin</artifactId>
+            <version>2.0-beta-2</version>
+          </plugin>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>javancss-maven-plugin</artifactId>
+            <version>2.0</version>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+  </profiles>
+</project>
diff --git a/janino-parent-remove-modules.patch b/janino-parent-remove-modules.patch
new file mode 100644
index 0000000..a7ea551
--- /dev/null
+++ b/janino-parent-remove-modules.patch
@@ -0,0 +1,15 @@
+--- pom.xml.orig	2012-03-20 13:15:23.487200948 +0000
++++ pom.xml	2012-03-20 13:15:34.670159164 +0000
+@@ -73,12 +73,6 @@
+     </developer>
+   </developers>
+ 
+-  <modules>
+-    <module>commons-compiler</module>
+-    <module>commons-compiler-jdk</module>
+-    <module>janino</module>
+-  </modules>
+-
+   <scm>
+     <connection>scm:svn:http://svn.codehaus.org/janino/tags/V_2_6_1/</connection>
+     <developerConnection>scm:svn:https://svn.codehaus.org/janino/tags/V_2_6_1/</developerConnection>
diff --git a/janino-parent.spec b/janino-parent.spec
new file mode 100644
index 0000000..53d0f3a
--- /dev/null
+++ b/janino-parent.spec
@@ -0,0 +1,57 @@
+Name:           janino-parent
+Version:        2.6.1
+Release:        2%{?dist}
+Summary:        Parent POM for Janino
+
+License:        BSD
+URL:            http://docs.codehaus.org/display/JANINO/Home
+Source0:        http://repo1.maven.org/maven2/org/codehaus/janino/janino-parent/2.6.1/janino-parent-2.6.1.pom
+Source1:        http://dist.codehaus.org/janino/new_bsd_license.txt
+
+# Remove sub-modules from the POM; they are built as
+# separate RPMs that depend on this one
+Patch0:         %{name}-remove-modules.patch
+
+BuildRequires:  codehaus-parent
+BuildRequires:  maven
+BuildRequires:  jpackage-utils
+BuildRequires:  java-devel >= 1:1.6.0
+
+BuildArch:      noarch
+
+Requires:       jpackage-utils
+Requires:       java >= 1:1.6.0
+
+%description
+%{summary}.
+
+
+%prep
+%setup -q -c -T
+cp %{SOURCE0} ./pom.xml
+%patch0 -p0
+cp %{SOURCE1} ./
+
+%build
+mvn-rpmbuild install
+
+%install
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom
+
+
+%files
+%doc new_bsd_license.txt
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+
+
+%changelog
+* Wed Mar 21 2012 Mary Ellen Foster <mefoster at gmail.com> - 2.6.1-2
+- Add proper jpackage-utils requires
+- Rename patch file
+- Add upstream license
+
+* Tue Mar 20 2012 Mary Ellen Foster <mefoster at gmail.com> - 2.6.1-1
+- Initial package
\ No newline at end of file
diff --git a/new_bsd_license.txt b/new_bsd_license.txt
new file mode 100644
index 0000000..f906e86
--- /dev/null
+++ b/new_bsd_license.txt
@@ -0,0 +1,30 @@
+Janino - An embedded Java[TM] compiler
+
+Copyright (c) 2001-2010, Arno Unkrig
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+   2. Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials
+      provided with the distribution.
+   3. The name of the author may not be used to endorse or promote
+      products derived from this software without specific prior
+      written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


More information about the scm-commits mailing list