I have a very basic pom 
 
<?xml version="1.0" encoding="UTF-8"?> 
<project> 
  <modelVersion>4.0.0</modelVersion> 
  <groupId>enterra</groupId> 
  <artifactId>enterra-templates</artifactId> 
  <version>0.0.1-SNAPSHOT</version> 
  <name>Enterra Templates</name> 
  <description> 
    Coerced templates for the hibernate and spring cartridges 
  </description> 
  <packaging>jar</packaging> 

  <distributionManagement> 
    <repository> 
      <id>enterra-plugin-snapshot-distro</id> 
     
<url>http://intranet.enterrasolutions.com/artifactory/enterra-plugins-snapshots</url>
 
      <uniqueVersion>false</uniqueVersion> 
    </repository> 
  </distributionManagement> 

  <build> 
    <plugins> 
      <plugin> 
        <groupId>org.apache.maven.plugins</groupId> 
        <artifactId>maven-resources-plugin</artifactId> 
        <version>2.2</version> 
        <configuration> 
          <sourceDirectory>src/main/resources</sourceDirectory> 
          <outputDirectory> 
            ${env.M2_REPO}/${pom.groupId}/${pom.artifactId}/${pom.version} 
          </outputDirectory> 
        </configuration> 
      </plugin> 
    </plugins> 
  </build> 
</project> 


When I run mvn install it builds the following into my local repository
(M2_REPO): 

M2_REPO 
        enterra 
                enterra-templates 
                        0.0.1-PLUGIN 
                                (enterra-templates-0.0.1-PLUGIN.jar) 
                                (enterra-templates-0.0.1-PLUGIN.pom) 
                                templates 
                                        hibernate 
                                                (HibernateEntity.vsl) 
                                        spring 
                                                (SpringDao.vsl) 
                                                (SpringGlobals.vm) 
                                                hibernate 
                                                       
(HibernateSearchProperties.vsl) 
                                                       
(SpringHibernateDaoBase.vsl) 
                                                       
(SpringHibernateDaoImpl.vsl) 
                                                       
(SpringHibernateDaoImplManual.vsl 

When I run mvn deploy none of the templates directory structure is copied to
the deployment repository but the pom and jar are copied? What am I missing?
-- 
View this message in context: 
http://www.nabble.com/deploy-goal-not-copying-resources-to-deployment-repository-tf4964701s177.html#a14221441
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to