File: pom.xml

package info (click to toggle)
plexus-resources 1.0~alpha7-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 236 kB
  • ctags: 143
  • sloc: java: 1,015; xml: 166; sh: 11; makefile: 5
file content (127 lines) | stat: -rw-r--r-- 4,703 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="UTF-8"?>
<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.plexus</groupId>
    <artifactId>plexus-components</artifactId>
    <version>1.1.17</version>
  </parent>

  <artifactId>plexus-resources</artifactId>
  <version>1.0-alpha-7</version>

  <name>Plexus Resource Component</name>
  <description>A component to transparently retrieve resources from the filesystem, classpath or internet.</description>

  <scm>
    <connection>scm:svn:http://svn.codehaus.org/plexus/plexus-components/tags/plexus-resources-1.0-alpha-7</connection>
    <developerConnection>scm:svn:https://svn.codehaus.org/plexus/plexus-components/tags/plexus-resources-1.0-alpha-7</developerConnection>
    <url>http://fisheye.codehaus.org/browse/plexus/plexus-components/tags/plexus-resources-1.0-alpha-7</url>
  </scm>

  <properties>
    <configs.path>target/config</configs.path>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
    </dependency>
  </dependencies>

  <build>
    <resources>
        <resource>
                <directory>${configs.path}</directory>
                <targetPath>META-INF</targetPath>
        </resource>
    </resources>
    <plugins>
        <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.6</version>
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <configuration>
              <target>
                <mkdir dir="${configs.path}/plexus"/>
                <echo file="${configs.path}/plexus/components.xml"><![CDATA[<component-set>
  <components>
    <component>
      <role>org.codehaus.plexus.resource.loader.ResourceLoader</role>
      <role-hint>url</role-hint>
      <implementation>org.codehaus.plexus.resource.loader.URLResourceLoader</implementation>
      <instantiation-strategy>per-lookup</instantiation-strategy>
      <description></description>
      <isolated-realm>false</isolated-realm>
    </component>
    <component>
      <role>org.codehaus.plexus.resource.ResourceManager</role>
      <role-hint>default</role-hint>
      <implementation>org.codehaus.plexus.resource.DefaultResourceManager</implementation>
      <instantiation-strategy>per-lookup</instantiation-strategy>
      <description></description>
      <isolated-realm>false</isolated-realm>
      <requirements>
        <requirement>
          <role>org.codehaus.plexus.resource.loader.ResourceLoader</role>
          <field-name>resourceLoaders</field-name>
        </requirement>
      </requirements>
    </component>
    <component>
      <role>org.codehaus.plexus.resource.loader.ResourceLoader</role>
      <role-hint>jar</role-hint>
      <implementation>org.codehaus.plexus.resource.loader.JarResourceLoader</implementation>
      <instantiation-strategy>per-lookup</instantiation-strategy>
      <description></description>
      <isolated-realm>false</isolated-realm>
    </component>
    <component>
      <role>org.codehaus.plexus.resource.loader.ResourceLoader</role>
      <role-hint>classloader</role-hint>
      <implementation>org.codehaus.plexus.resource.loader.ThreadContextClasspathResourceLoader</implementation>
      <description></description>
      <isolated-realm>false</isolated-realm>
    </component>
    <component>
      <role>org.codehaus.plexus.resource.loader.ResourceLoader</role>
      <role-hint>file</role-hint>
      <implementation>org.codehaus.plexus.resource.loader.FileResourceLoader</implementation>
      <instantiation-strategy>per-lookup</instantiation-strategy>
      <description></description>
      <isolated-realm>false</isolated-realm>
    </component>
  </components>
</component-set>]]>
                </echo>
              </target>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
            <addClasspath>true</addClasspath>
            </manifest>
          </archive>
        </configuration>
        <version>2.2</version>
      </plugin>
    </plugins>
  </build>
</project>