Thanks for trying.  

I did figure it out

there is a distribution target in maven 2.0.2

this is how you do this.

<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/maven-v4_0_0.xsd";>
    <modelVersion>4.0.0</modelVersion>
    
<parent>
<groupId>com.netiq</groupId>
<artifactId>micro-services</artifactId>
<version>1.0</version>
</parent>

    <artifactId>db</artifactId>
    <packaging>pom</packaging>
    <name>Assets DB</name>

<build>
<plugins>
 <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.10</version>
        <executions>
          <execution>
            <id>copy</id>
            <phase>package</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>com.orientechnologies</groupId>
                  <artifactId>orientdb-community</artifactId>
                  <version>2.0.2</version>
                  <type>zip</type>
                  <classifier>distribution</classifier>
                  <overWrite>true</overWrite>
                  <!-- outputDirectory>[ output directory 
]</outputDirectory -->
                  <!-- destFileName>[ filename ]</destFileName -->
                </artifactItem>
              </artifactItems>
              <!-- other configurations here -->
            </configuration>
          </execution>
        </executions>
      </plugin>
</plugins>
</build>

</project>

This will download if from nexus.  I 'll use my build script to unzip it.



On Monday, March 9, 2015 at 2:57:55 AM UTC-5, Luigi Dell'Aquila wrote:
>
> Hi Alexander,
>
> AFAIK you cannot create a full distribution from maven repositories.
> If you want a particular Git branch or tag, I suggest  you to clone it 
> locally (see https://github.com/orientechnologies/orientdb ) and then 
> launch 
>
> ant clean install
>
> you will have a full distribution in 
> ../releases/orientdb-comunity-<version-number>/
>
> Regards
>
> Luigi
>
>
> 2015-03-07 0:51 GMT+01:00 alexander anguiano <[email protected] 
> <javascript:>>:
>
>>
>> How do I create the distribution from the maven repository.
>>
>> when i build my project i need to pull the jars from maven and create the 
>> same structure as the distribution
>>
>>
>>
>> orientdb
>>       bin
>>       config
>>       databases
>>       lib
>>          orientdb-core-2.0.2.jar
>>          ...
>>       plugins
>>       www
>>       license.txt
>>
>>
>>            
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to