You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Freeman Fang <fr...@gmail.com> on 2008/09/11 09:37:30 UTC

Re: Namespaces in sources of test-resources

Hi Ivan,

It's from the xbean plugin configuration in the pom.xml

<plugin>
        <groupId>org.apache.xbean</groupId>
        <artifactId>maven-xbean-plugin</artifactId>
        <version>${xbean-version}</version>
        <executions>
          <execution>
            <goals>
              <goal>mapping</goal>
            </goals>
            <configuration>
              <namespace>http://servicemix.apache.org/file/1.0</namespace>
            </configuration>
          </execution>
        </executions>
      </plugin>

Regards
Freeman

ivan wrote:
>     Hi!
>
> In sources of servicemix-file component: for example 
> src/test/resources/spring-no-endpoints.xml:
>
> <beans xmlns:sm="http://servicemix.apache.org/config/1.0"
>          xmlns:file="http://servicemix.apache.org/file/1.0"
>        xmlns:test="urn:test">
>
>
> Where is taken this namespace: 
> xmlns:file="http://servicemix.apache.org/file/1.0"?
>
> In sources of component I can find only annotation
>
> @org.apache.xbean.XBean element="component" description="File Component"
>
> in javadoc of class.
>
>
>   Truly yours,
>   Ivan Pryvalov.
>