Hi,

i'm new to maven, i need maven to build a jar with this structure for my
project: 

_____________________________
ProjectName.jar-->
                    META-INF
                    com.project

classes folder
____________________________

am using the following pom.xml but am getting "maven" folder with src inside
META-INF.

<build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-invoker-plugin</artifactId>
            <version>1.4</version>
            <configuration>
              <projectsDirectory>src\com\</projectsDirectory>
              <cloneProjectsTo>C:\MavenProjects\\target</cloneProjectsTo>
              <pomIncludes>
                <pomInclude>*\pom.xml</pomInclude>
              </pomIncludes>
              <postBuildHookScript>verify</postBuildHookScript>
              <localRepositoryPath>C:\Documents and
Settings\Saffarini\.m2\repository\</localRepositoryPath>
              <goals>
                <goal>clean</goal>
                <goal>package</goal>
              </goals>
              <settingsFile>C:\Program Files\Apache Software
Foundation\apache-maven-2.2.1\conf\settings.xml</settingsFile>
              <debug>true</debug>
            </configuration>
        </plugin>
        </plugins>
        </build>


and am getting the following message:

INFO] [jar:jar {execution: resources_common}] 
[WARNING] JAR will be empty - no content was marked for inclusion! 

-- 
View this message in context: 
http://old.nabble.com/Need-maven-to-build-my-project-to-a-specific-structure-tp26691891p26691891.html
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