[
http://issues.ops4j.org/browse/PAXCONSTRUCT-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12285#action_12285
]
Olaf Otto commented on PAXCONSTRUCT-106:
----------------------------------------
Hi Alin,
I tested this today (2 hours ago) with the scripts obtained from
http://repo1.maven.org/maven2/org/ops4j/pax/construct/scripts/[1.4|1.3].
Here is the pom from the runner subdirectory:
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.aperto.osgi.test.build</groupId>
<artifactId>deployment</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>com.aperto.osgi.test (OSGi project)</name>
<description>Generated using Pax-Construct</description>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
</repositories>
<properties>
<org.osgi.service.http.port>8080</org.osgi.service.http.port>
<org.osgi.service.http.port.secure>8443</org.osgi.service.http.port.secure>
</properties>
</project>
Best,
Olaf
> Running under Windows: pax-provision fails to load profile using
> scan-composite:mvn:org.ops4j.pax.runner.profiles/minimal//composite
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: PAXCONSTRUCT-106
> URL: http://issues.ops4j.org/browse/PAXCONSTRUCT-106
> Project: Pax Construct
> Issue Type: Bug
> Components: scripts
> Affects Versions: 1.3, 1.4
> Environment: Windows xp 32 SP3 / JDK 1.6
> Reporter: Olaf Otto
> Assignee: Stuart McCulloch
>
> When running pax-provision in a newly created project (using
> pax-create-project), starting felix fails when attempting to load the profile
> bundle:
> Pax Runner (0.18.0) from OPS4J - http://www.ops4j.org
> -----------------------------------------------------
> -> Using config [classpath:META-INF/runner.properties]
> -> Using only arguments from command line
> -> Scan bundles from [C:\Dokumente und
> Einstellungen\[myUsername]\Desktop\osgi-test\runner\deploy-pom.xml]
> -> Scan bundles from [scan-pom:file:/C:/Dokumente und
> Einstellungen/[myUsername]/Desktop/osgi-test/runner/deploy-pom.xml]
> -> Using property [org.osgi.service.http.port=8080]
> -> Using property [org.osgi.service.http.port.secure=8443]
> -> Scan bundles from
> [scan-composite:mvn:org.ops4j.pax.runner.profiles/minimal//composite]
> ___
> / /
> / / Oops, there has been a problem!
> / /
> /__/ URL [mvn:org.ops4j.pax.runner.profiles/minimal//composite] could
> not be resolved.
> ___
> /__/ Use --log=debug to see details.
> It appears the configuration is missing the profile bundles repository.
> Adding it to the pax-runner parameters project's root pom.xml solves this
> issue:
> ...
> <provision>
> <param>--platform=felix</param>
> <param>--profiles=minimal</param>
>
> <param>--repositories=+http://scm.ops4j.org/repos/ops4j/projects/pax/runner-repository/</param>
> </provision>
> ...
> This problem does not seem to occur when running under linux.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general