Status: New
Owner: ----

New issue 612 by [email protected]: Problematic profile activation in extensions-parent
http://code.google.com/p/google-guice/issues/detail?id=612

Within the extensions-parent there is a profile defined, that seems to be activated by default. At least I get an error () when calling "mvn bundle:bundleall" in a project that has a dependency to guice-multibindings (3.0-rc2):

[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.4:bundleall (default-cli) on project bundle2: Artifact was not found in the repocom.google.inject:guice:jar:no_deps:3.0-rc2:compile: Failure to find com.google.inject:guice:jar:no_deps:3.0-rc2 in http://nexus.cedarsoft.com/content/repositories/central was cached in the local repository, resolution will not be reattempted until the update interval of Nexus central has elapsed or updates are forced


 <profiles>
    <profile>
      <!--
| JarJar build profile: re-package ASM and CGLIB references under the Guice namespace
      -->
      <id>guice.with.jarjar</id>
      <activation>
        <property>
          <name>guice.with.jarjar</name>
          <value>!false</value>
        </property>
      </activation>
      <dependencies>
        <!--
| Extensions compile first against the non-JarJar'd core - and are then JarJar'd themselves | (optional dependency so it doesn't leak to client projects that depend on Guice artifacts)
        -->
        <dependency>
          <groupId>com.google.inject</groupId>
          <artifactId>guice</artifactId>
          <version>${project.version}</version>
          <classifier>no_deps</classifier>
          <optional>true</optional>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
            <groupId>org.sonatype.plugins</groupId>
            <artifactId>jarjar-maven-plugin</artifactId>
            <configuration>
              <excludes>
                <exclude>*:*</exclude>
              </excludes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to