I unzipped the scripts and ran pax-create-project, which gave me the previous error ...
Anyway, when I run pax-validate in the bin directory it seems to works. Is there an env var that needs to be set? I am running this under cygwin Kind regards, Peter Kriens SM> On 23/11/2007, Peter Kriens <[EMAIL PROTECTED]> wrote: I SM> wanted to use the pax-construct but creating a dummy project gives SM> the following error: SM> Hi Peter, SM> did you use the scripts to create the project? ie. either SM> pax-create-project or pax-create-bundle? SM> the pax scripts download the plugin from the OPS4J repository SM> (pax-validate does the grunt work) SM> and the generated POMs will automatically contain the right repository settings. SM> if you want to use the plugin separately in an existing project SM> you need the following in your POM: SM> <pluginRepositories> SM> <pluginRepository> SM> <id>ops4j-repository</id> SM> <url>http://repository.ops4j.org/maven2</url> SM> <snapshots> SM> <enabled>false</enabled> SM> </snapshots> SM> </pluginRepository> SM> </pluginRepositories> SM> or you can use the pax-add-repository script to add it in your existing project: SM> pax-add-repository -i ops4j-repository -u SM> http://repository.ops4j.org/maven2 -- -DpluginRepo SM> the maven-pax-plugin is documented here: SM> SM> http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/usage.html SM> the scripts are documented on the main site: SM> http://www.ops4j.org/projects/pax/construct/index.html SM> when using the scripts you shouldn't need extra repository SM> settings, only if you use the pax plugin SM> HTH SM> [INFO] Failed to resolve artifact. SM> GroupId: org.ops4j SM> ArtifactId: maven-pax-plugin SM> Version: 0.6.1 SM> Reason: Unable to download the artifact from any repository SM> org.ops4j:maven-pax-plugin:pom:0.6.1 SM> from the specified remote repositories: SM> central (http://repo1.maven.org/maven2) SM> How can I add the ops4j repo? SM> Kind regards, SM> Peter Kriens SM> -- SM> Peter Kriens Tel +33467542167 SM> 9C, Avenue St. Drézéry AOL,Yahoo: pkriens SM> 34160 Beaulieu, France ICQ 255570717 SM> Skype pkriens Fax +1 8153772599 SM> _______________________________________________ SM> general mailing list SM> general@lists.ops4j.org SM> http://lists.ops4j.org/mailman/listinfo/general -- Peter Kriens Tel +33467542167 9C, Avenue St. Drézéry AOL,Yahoo: pkriens 34160 Beaulieu, France ICQ 255570717 Skype pkriens Fax +1 8153772599 _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general