avatar
Rosa has added 23942f9fb1
Automatic import for version 1-3.redhat_3.ep6.el6
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,3 @@
1
sources:
2
  "javax.inject-1-redhat-3-patches.zip": 9edcdc521ea0eae18e7a8aff5bb601ba3e34befb
3
  "javax.inject-1-redhat-3-sources.zip": d8f3b69dd32a253124fd340a94160f872d0aeabb
view file @ 23942f9fb1
... ... --- /dev/null
... ... +++ b/atinject-eap6.spec
... ... @@ -0,0 +1,73 @@
1
%bcond_without mead
2
3
%define reltag .redhat_3
4
%define namedreltag -redhat-3
5
%global namedversion %{version}%{?namedreltag}
6
7
%define maven_version 1-9.redhat_3.ep6.el6
8
9
Name:           atinject-eap6
10
Version:        1
11
Release:        3%{?reltag}%{?dist}
12
Epoch:          0
13
Summary:        Dependency injection specification for Java (JSR-330)
14
License:        ASL 2.0
15
Group:          Development/Java
16
17
%if %with mead
18
Source102: javax.inject-tck-1-redhat-3.pom
19
Source103: javax.inject-tck-1-redhat-3.jar
20
Source104: javax.inject-tck-1-redhat-3-sources.jar
21
Source105: javax.inject-tck-1-redhat-3-javadoc.jar
22
Source106: javax.inject-1-redhat-3.pom
23
Source107: javax.inject-1-redhat-3.jar
24
Source108: javax.inject-1-redhat-3-sources.zip
25
Source109: javax.inject-1-redhat-3-sources.jar
26
Source110: javax.inject-1-redhat-3-patches.zip
27
Source111: javax.inject-1-redhat-3-javadoc.jar
28
%endif
29
30
URL:            http://code.google.com/p/atinject/
31
Requires:       jpackage-utils
32
BuildRequires:  jpackage-utils
33
BuildArch:      noarch
34
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
35
36
%description
37
This package specifies a means for obtaining objects in such a way as
38
to maximize reusability, testability and maintainability compared to
39
traditional approaches such as constructors, factories, and service
40
locators (e.g., JNDI). This process, known as dependency injection, is
41
beneficial to most nontrivial applications.
42
43
%prep
44
45
%build
46
47
%install
48
%{__rm} -rf %{buildroot}
49
50
# jar files
51
%{__mkdir_p} %{buildroot}%{_javadir}/%{name}
52
%{__cp} -p %{_sourcedir}/javax.inject-%{namedversion}.jar %{buildroot}%{_javadir}/%{name}/javax.inject-%{namedversion}.jar
53
(cd %{buildroot}%{_javadir}/%{name} && for jar in *-%{namedversion}*; do %{__ln_s} ${jar} `/bin/echo ${jar} | %{__sed} "s|-%{namedversion}||g"`; done)
54
55
%clean
56
%{__rm} -rf %{buildroot}
57
58
%files
59
%defattr(0644,root,root,0755)
60
%dir %{_javadir}/%{name}
61
%{_javadir}/%{name}/javax.inject-%{namedversion}.jar
62
%{_javadir}/%{name}/javax.inject.jar
63
64
%changelog
65
* Fri Feb 01 2013 Fernando Nasser <fnasser@redhat.com> 0:1-3.redhat-3
66
- Wrap build that deploys sources
67
68
* Tue Jan 29 2013 Fernando Nasser <fnasser@redhat.com> 0:1-2.redhat-2
69
- Fix release tag
70
- Make it a wrapper
71
72
* Tue Jan 29 2013 David Walluck <dwalluck@redhat.com> 0:1-1
73
- release
view file @ 23942f9fb1
view file @ 23942f9fb1
view file @ 23942f9fb1
view file @ 23942f9fb1
... ... --- /dev/null
... ... +++ b/javax.inject-1-redhat-3.pom
... ... @@ -0,0 +1,9 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
  <modelVersion>4.0.0</modelVersion>
5
  <groupId>javax.inject</groupId>
6
  <artifactId>javax.inject</artifactId>
7
  <version>1-redhat-3</version>
8
  <packaging>zip</packaging>
9
</project>
view file @ 23942f9fb1
view file @ 23942f9fb1
view file @ 23942f9fb1
view file @ 23942f9fb1
... ... --- /dev/null
... ... +++ b/javax.inject-tck-1-redhat-3.pom
... ... @@ -0,0 +1,137 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
3
    <modelVersion>4.0.0</modelVersion>
4
    <groupId>javax.inject</groupId>
5
    <parent>
6
    <artifactId>jboss-parent</artifactId>
7
    <groupId>org.jboss</groupId>
8
    <version>10-redhat-1</version>
9
  </parent>
10
    <artifactId>javax.inject-tck</artifactId>
11
    <packaging>jar</packaging>
12
    <name>javax.inject-tck</name>
13
    <version>1-redhat-3</version>
14
    <description>The javax.inject API - TCK</description>
15
    <url>http://code.google.com/p/atinject/</url>
16
    <licenses>
17
        <license>
18
            <name>The Apache Software License, Version 2.0</name>
19
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
20
            <distribution>repo</distribution>
21
        </license>
22
    </licenses>
23
    <scm>
24
        <connection>scm:svn:http://atinject.googlecode.com/svn/tags/javax.inject-tck-1</connection>
25
        <developerConnection>scm:svn:https://atinject.googlecode.com/svn/tags/javax.inject-tck-1</developerConnection>
26
        <url>http://code.google.com/p/atinject/source/checkout/tags/javax.inject-tck-1</url>
27
    </scm>
28
    <dependencies>
29
        <dependency>
30
            <groupId>${pom.groupId}</groupId>
31
            <artifactId>javax.inject</artifactId>
32
            <version>1-redhat-3</version>
33
        </dependency>
34
        <dependency>
35
            <groupId>junit</groupId>
36
            <artifactId>junit</artifactId>
37
        </dependency>
38
    </dependencies>
39
    <build>
40
        <sourceDirectory>tck</sourceDirectory>
41
        <resources>
42
            <resource>
43
                <directory>tck</directory>
44
                <excludes>
45
                    <exclude>**/*.java</exclude>
46
                    <exclude>tck.iml</exclude>
47
                </excludes>
48
            </resource>
49
        </resources>
50
        <pluginManagement>
51
            <plugins>
52
                <plugin>
53
                    <groupId>org.apache.maven.plugins</groupId>
54
                    <artifactId>maven-compiler-plugin</artifactId>
55
                    <configuration>
56
                        <source>1.5</source>
57
                        <target>1.5</target>
58
                        <encoding>UTF-8</encoding>
59
                        <optimize>false</optimize>
60
                        <debug>true</debug>
61
                        <showDeprecation>true</showDeprecation>
62
                    </configuration>
63
                </plugin>
64
            </plugins>
65
        </pluginManagement>
66
        <plugins>
67
            <plugin>
68
                <groupId>org.apache.maven.plugins</groupId>
69
                <artifactId>maven-release-plugin</artifactId>
70
                <configuration>
71
                    <mavenExecutorId>forked-path</mavenExecutorId>
72
                </configuration>
73
            </plugin>
74
        </plugins>
75
    </build>
76
    <dependencyManagement>
77
    <dependencies>
78
      <dependency>
79
        <groupId>org.jboss.component.management</groupId>
80
        <artifactId>jboss-dependency-management-all</artifactId>
81
        <version>6.1.0-redhat-1</version>
82
        <type>pom</type>
83
        <scope>import</scope>
84
      </dependency>
85
    </dependencies>
86
  </dependencyManagement>
87
    <developers>
88
        <developer>
89
            <id>various</id>
90
            <name>Various</name>
91
            <email>atinject-observer@googlegroups.com</email>
92
            <url>http://groups.google.com/group/atinject-observer?pli=1</url>
93
            <roles>
94
                <role>developer</role>
95
            </roles>
96
            <timezone>-8</timezone>
97
        </developer>
98
    </developers>
99
    <distributionManagement>
100
        <repository>
101
            <id>sonatype-nexus-staging</id>
102
            <name>Nexus Release Repository</name>
103
            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
104
        </repository>
105
    </distributionManagement>
106
107
    <profiles>
108
        <profile>
109
            <id>release-sign-artifacts</id>
110
            <activation>
111
                <property>
112
                    <name>performRelease</name>
113
                    <value>true</value>
114
                </property>
115
            </activation>
116
            <build>
117
                <plugins>
118
                    <plugin>
119
                        <groupId>org.apache.maven.plugins</groupId>
120
                        <artifactId>maven-gpg-plugin</artifactId>
121
                        <version>1.0</version>
122
                        <executions>
123
                            <execution>
124
                                <id>sign-artifacts</id>
125
                                <phase>verify</phase>
126
                                <goals>
127
                                    <goal>sign</goal>
128
                                </goals>
129
                            </execution>
130
                        </executions>
131
                    </plugin>
132
                </plugins>
133
            </build>
134
        </profile>
135
    </profiles>
136
<!-- Modified by POM Artifact-Version Manipulator version 1.2.3-redhat-1-eap (a887592) -->
137
</project>

Comments