I have tried with Sculptor and done the necessary adjustments in trunk.

I changed fornax-parent to version 3-SNAPSHOT.
Thorsten, can't we have release versions of all fornax stuff? I don't feel
comfortable using snapshot in a released product. Others have also
complained about this.

I had to add fornax-buildhelper explicitly, since the version number was
missing in fornax-parent.

                        <plugin>
                                <groupId>org.fornax.maven.plugin</groupId>
                                <artifactId>fornax-buildhelper</artifactId>
                                <version>1.0.0-SNAPSHOT</version>
                                <executions>
                                        <execution>
                                                <id>add-source</id>
                                                <phase>site</phase>
                                                <goals>
                                                        <goal>add-source</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        <cpatterns>
                                                
<cpattern>src/generated/java</cpattern>
                                                
<cpattern>src/main/java</cpattern>
                                                
<cpattern>src/protected/java</cpattern>
                                        </cpatterns>
                                        <tpatterns>
                                                
<tpattern>src/test/java</tpattern>
                                                
<tpattern>src/test/generated/java</tpattern>
                                                
<tpattern>src/test/protected/java</tpattern>
                                        </tpatterns>
                                </configuration>
                        </plugin>

I have used the following repository settings in sculptor parent pom.xml
Note that in addition to archiva I had to add
http://www.openarchitectureware.org/m2/ and http://download.java.net/maven/1

<repositories>
                <repository>
                        <id>releases.archiva.fornax-platform.org</id>
                        <name>Archiva Managed Release Repository</name>
                        <url>
                                
http://www.fornax-platform.org/archiva/repository/releases/
                        </url>
                        <releases>
                                <enabled>true</enabled>
                        </releases>
                        <snapshots>
                                <enabled>false</enabled>
                        </snapshots>
                </repository>
                <repository>
                        <id>openarchitectureware.org</id>
                        <name>Openarchitectureware Release Repository</name>
                        <url>
                                http://www.openarchitectureware.org/m2/
                        </url>
                        <releases>
                                <enabled>true</enabled>
                        </releases>
                        <snapshots>
                                <enabled>false</enabled>
                        </snapshots>
                </repository>
                <repository>
                        <id>snapshots.archiva.fornax-platform.org</id>
                        <name>Archiva Managed Snapshot Repository</name>
                        <url>
                                
http://www.fornax-platform.org/archiva/repository/snapshots/
                        </url>
                        <releases>
                                <enabled>false</enabled>
                        </releases>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                </repository>
                <repository>
                        <id>java.net</id>
                        <url>http://download.java.net/maven/1</url>
                        <layout>legacy</layout>
                </repository>
        </repositories>

        <pluginRepositories>
                <pluginRepository>
                        <id>releases.archiva.fornax-platform.org</id>
                        <name>Archiva Managed Release Repository</name>
                        <url>
                                
http://www.fornax-platform.org/archiva/repository/releases/
                        </url>
                        <releases>
                                <enabled>true</enabled>
                        </releases>
                        <snapshots>
                                <enabled>false</enabled>
                        </snapshots>
                </pluginRepository>
                <pluginRepository>
                        <id>snapshots.archiva.fornax-platform.org</id>
                        <name>Archiva Managed Snapshot Repository</name>
                        <url>
                                
http://www.fornax-platform.org/archiva/repository/snapshots/
                        </url>
                        <releases>
                                <enabled>false</enabled>
                        </releases>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                </pluginRepository>
        </pluginRepositories>


I have verified by removing my local repo and rebuilt sculptor and its
reference projects.

/Patrik

-- 
View this message in context: 
http://www.nabble.com/Move-the-Maven-Repository-to-Maven-Archiva-tp18349570s17564p18355330.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to