PluginGroup

Hi I'm proting some of my plugins vom MacOS X to Windows.
Now I have a big problem with code witch makes use of the PluginGroup Suite
After the folowing code.
sAIArt->NewArt( kPluginArt, kPlaceInsideOnTop, parentArt, &pluginArt );
sAIPluginGroup-> UseAIPluginGroup( pluginArt, g->handleToMyPlugin );
no matter witch API function I'm calling I end up directly in the Illustrator. This means I'm steping through the code with the debugger Step over the to lines above next time I step over an API function it leaves the debugger and jumps to Illustrator without executing any code
after the API Call (jumps from within the API function to Ilustrator and doesn't return to the debugger)
all code works if I create a kGroupArt instead of a kPluginArt or if
I use SetPluginArtPluginGroup instead of UseAIPluginGroup (but this causes problems when the file is saved and reopend)
Any ideas what is wrong?

> no matter witch API function I'm calling I end up directly in the
> Illustrator. This means I'm steping through the code with the debugger
> Step over the to lines above next time I step over an API function it
> leaves the debugger and jumps to Illustrator without executing any
> code after the API Call (jumps from within the API function to
> Ilustrator and doesn't return to the debugger)
Well, whenever that happens it means something so bad has gone wrong that Illustrator has given up on your code and returned. I inherited a code base that had this happen quite often years ago but it's much less common in my stuff now. A big part of that is constant vigilance on the return values, and ASSERT()s on the states of various things.
If it's constantly dying on a particular call, the it's usually because something you're feeding that call is just plain wrong. E.g. if you didn't initialize the handle you were expecting to get filled with a new art handle in that NewArt() call and NewArt() failed for some reason, you'd end up passing a handle with a bogus value. That might very well cause the behaviour you're seeing. I'm not saying that's what your problem is, but that's kind of thing that causes the API to barf sometimes.
At any rate, we use a few PluginGroups in our MAPublisher product and I just checked our code -- that's pretty much exactly what we do so I don't know why it would complain. I'd stick in a whole whack load of test code and query very carefully all the variables you use there to verify they're okay (maybe the custom art registration failed for some reason?) If any of THOSE fail unexpectedly, that should give you a pretty strong indication of where the problem lies.
Hope that helps, but let me know if you can't get it working and uncover anything else.

Similar Messages

  • Maven giving "annotations are not supported in -source 1.3" for  @Entity

    I m using maven for spring, hibernate with jpa . When i m running comman "mvn clean install" ,it is giving error in compilation of a bean class which is using jpa annotations.The error is :
    annotations are not supported in -source 1.3
    (use -source 5 or higher to enable annotations)
    @Entity
    Pom.xml is as below :
    <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>
    <groupId>com.niit.core</groupId>
    <artifactId>Spring3Example</artifactId>
    <packaging>jar</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>Spring3Example</name>
    <url>http://maven.apache.org</url>
    <properties>
    <org.springframework-version>3.1.2.RELEASE</org.springframework-version>
    </properties>
    <repositories>
    <repository>
    <id>JBoss Repo</id>
    <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases</url>
    </repository>
    </repositories>
    <build>
    <plugins>
    <plugin>
    <artifactId>maven-war-plugin</artifactId>
    <version>2.0</version>
    </plugin>
    </plugins>
    </build>
    <dependencies>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
    <version>${org.springframework-version}</version>
    </dependency>
    <!-- <dependency>
    <groupId>hsqldb</groupId>
    <artifactId>hsqldb</artifactId>
    <version>1.8.0.2</version>
    </dependency>
    -->
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-core</artifactId>
    <version>${org.springframework-version}</version>
    </dependency>
    <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>3.8.1</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>6.0</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-core</artifactId>
    <version>3.6.10.Final</version>
    </dependency>
    <dependency>
    <groupId>org.hibernate.java-persistence</groupId>
    <artifactId>jpa-api</artifactId>
    <version>2.0-cr-1</version>
    </dependency>
    <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-entitymanager</artifactId>
    <version>3.5.0-Beta-2</version>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>servlet-api</artifactId>
    <version>2.5</version>
    </dependency>
    </dependencies>
    </project>
    And class is as below :
    package com.niit.form;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.Id;
    import javax.persistence.Table;
    @Entity
    @Table(name="CONTACTS")
    public class Contact {
    @Id
    @Column(name="ID")
    @GeneratedValue
    private Integer id;
    @Column(name="FIRSTNAME")
    private String firstname;
    public String getFirstname() {
    return firstname;
    public void setFirstname(String firstname) {
    this.firstname = firstname;
    public void setLastname(String lastname) {
    this.lastname = lastname;
    public Integer getId() {
    return id;
    public void setId(Integer id) {
    this.id = id;
    }

    java version is 1.6.0_24
    There is no settings.xml in users/.m2
    I think , maven is using default settings.xml which is in M2_HOME\conf which has everything commented as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements. See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership. The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License. You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied. See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    <!--
    | This is the configuration file for Maven. It can be specified at two levels:
    |
    | 1. User Level. This settings.xml file provides configuration for a single user,
    | and is normally provided in $HOME/.m2/settings.xml.
    |
    | NOTE: This location can be overridden with the system property:
    |
    | -Dorg.apache.maven.user-settings=/path/to/user/settings.xml
    |
    | 2. Global Level. This settings.xml file provides configuration for all maven
    | users on a machine (assuming they're all using the same maven
    | installation). It's normally provided in
    | ${maven.home}/conf/settings.xml.
    |
    | NOTE: This location can be overridden with the system property:
    |
    | -Dorg.apache.maven.global-settings=/path/to/global/settings.xml
    |
    | The sections in this sample file are intended to give you a running start at
    | getting the most out of your Maven installation. Where appropriate, the default
    | values (values used when the setting is not specified) are provided.
    |
    |-->
    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <!-- localRepository
    | The path to the local repository maven will use to store artifacts.
    |
    | Default: ~/.m2/repository
    <localRepository>/path/to/local/repo</localRepository>
    -->
    <!-- interactiveMode
    | This will determine whether maven prompts you when it needs input. If set to false,
    | maven will use a sensible default value, perhaps based on some other setting, for
    | the parameter in question.
    |
    | Default: true
    <interactiveMode>true</interactiveMode>
    -->
    <!-- offline
    | Determines whether maven should attempt to connect to the network when executing a build.
    | This will have an effect on artifact downloads, artifact deployment, and others.
    |
    | Default: false
    <offline>false</offline>
    -->
    <!-- pluginGroups
    | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
    | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
    | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
    |-->
    <pluginGroups>
    <!-- pluginGroup
    | Specifies a further group identifier to use for plugin lookup.
    <pluginGroup>com.your.plugins</pluginGroup>
    -->
    </pluginGroups>
    <!-- proxies
    | This is a list of proxies which can be used on this machine to connect to the network.
    | Unless otherwise specified (by system property or command-line switch), the first proxy
    | specification in this list marked as active will be used.
    |-->
    <proxies>
    <!-- proxy
    | Specification for one proxy, to be used in connecting to the network.
    |
    <proxy>
    <id>optional</id>
    <active>true</active>
    <protocol>http</protocol>
    <username>proxyuser</username>
    <password>proxypass</password>
    <host>proxy.host.net</host>
    <port>80</port>
    <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
    </proxy>
    -->
    </proxies>
    <!-- servers
    | This is a list of authentication profiles, keyed by the server-id used within the system.
    | Authentication profiles can be used whenever maven must make a connection to a remote server.
    |-->
    <servers>
    <!-- server
    | Specifies the authentication information to use when connecting to a particular server, identified by
    | a unique name within the system (referred to by the 'id' attribute below).
    |
    | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
    | used together.
    |
    <server>
    <id>deploymentRepo</id>
    <username>repouser</username>
    <password>repopwd</password>
    </server>
    -->
    <!-- Another sample, using keys to authenticate.
    <server>
    <id>siteServer</id>
    <privateKey>/path/to/private/key</privateKey>
    <passphrase>optional; leave empty if not used.</passphrase>
    </server>
    -->
    </servers>
    <!-- mirrors
    | This is a list of mirrors to be used in downloading artifacts from remote repositories.
    |
    | It works like this: a POM may declare a repository to use in resolving certain artifacts.
    | However, this repository may have problems with heavy traffic at times, so people have mirrored
    | it to several places.
    |
    | That repository definition will have a unique id, so we can create a mirror reference for that
    | repository, to be used as an alternate download site. The mirror site will be the preferred
    | server for that repository.
    |-->
    <mirrors>
    <!-- mirror
    | Specifies a repository mirror site to use instead of a given repository. The repository that
    | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
    | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
    |
    <mirror>
    <id>mirrorId</id>
    <mirrorOf>repositoryId</mirrorOf>
    <name>Human Readable Name for this Mirror.</name>
    <url>http://my.repository.com/repo/path</url>
    </mirror>
    -->
    </mirrors>
    <!-- profiles
    | This is a list of profiles which can be activated in a variety of ways, and which can modify
    | the build process. Profiles provided in the settings.xml are intended to provide local machine-
    | specific paths and repository locations which allow the build to work in the local environment.
    |
    | For example, if you have an integration testing plugin - like cactus - that needs to know where
    | your Tomcat instance is installed, you can provide a variable here such that the variable is
    | dereferenced during the build process to configure the cactus plugin.
    |
    | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
    | section of this document (settings.xml) - will be discussed later. Another way essentially
    | relies on the detection of a system property, either matching a particular value for the property,
    | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
    | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
    | Finally, the list of active profiles can be specified directly from the command line.
    |
    | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
    | repositories, plugin repositories, and free-form properties to be used as configuration
    | variables for plugins in the POM.
    |
    |-->
    <profiles>
    <!-- profile
    | Specifies a set of introductions to the build process, to be activated using one or more of the
    | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
    | or the command line, profiles have to have an ID that is unique.
    |
    | An encouraged best practice for profile identification is to use a consistent naming convention
    | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
    | This will make it more intuitive to understand what the set of introduced profiles is attempting
    | to accomplish, particularly when you only have a list of profile id's for debug.
    |
    | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
    <profile>
    <id>jdk-1.4</id>
    <activation>
    <jdk>1.4</jdk>
    </activation>
    <repositories>
    <repository>
    <id>jdk14</id>
    <name>Repository for JDK 1.4 builds</name>
    <url>http://www.myhost.com/maven/jdk14</url>
    <layout>default</layout>
    <snapshotPolicy>always</snapshotPolicy>
    </repository>
    </repositories>
    </profile>
    -->
    <!--
    | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
    | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
    | might hypothetically look like:
    |
    | ...
    | <plugin>
    | <groupId>org.myco.myplugins</groupId>
    | <artifactId>myplugin</artifactId>
    |
    | <configuration>
    | <tomcatLocation>${tomcatPath}</tomcatLocation>
    | </configuration>
    | </plugin>
    | ...
    |
    | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
    | anything, you could just leave off the <value/> inside the activation-property.
    |
    <profile>
    <id>env-dev</id>
    <activation>
    <property>
    <name>target-env</name>
    <value>dev</value>
    </property>
    </activation>
    <properties>
    <tomcatPath>/path/to/tomcat/instance</tomcatPath>
    </properties>
    </profile>
    -->
    </profiles>
    <!-- activeProfiles
    | List of profiles that are active for all builds.
    |
    <activeProfiles>
    <activeProfile>alwaysActiveProfile</activeProfile>
    <activeProfile>anotherAlwaysActiveProfile</activeProfile>
    </activeProfiles>
    -->
    </settings>

  • Viewing the art while the anchor is being moving

    Hello people,
    In Flash, when the user holds the anchor and moves it, he is seeing how the art looks.
    In AI, when the user holds an anchor, he only sees the basic path of the art and nothing more; the art is repaint only after the user releases the anchor.
    In my case I use PluginGroup plugin and the anchor effects a lot of other art object.
    Is there a possibility to view the art while the anchor is being held? I want my Update function to be called not only when the user releases the anchor, but also when he's holding and moving the anchor.
    I hope I'm clear enough
    Thanks in advanced.

    Its interesting how many plugin group questions are suddenly showing up -- I thought we were one of the only ones wrestling with that interesting part of the API! Maybe if more of us show up Adobe will fix some of the bugs in it
    In Flash, when the user holds the anchor and moves it, he is seeing how the art looks.
    In AI, when the user holds an anchor, he only sees the basic path of the art and nothing more; the art is repaint only after the user releases the anchor.
    In my case I use PluginGroup plugin and the anchor effects a lot of other art object.
    Is there a possibility to view the art while the anchor is being held? I want my Update function to be called not only when the user releases the anchor, but also when he's holding and moving the anchor.
    I hope I'm clear enough
    I think it's clear enough -- you just don't want to have to wait until they're done dragging before it draws what they're doing.
    The first thing you could try is invoking AIPluginGroupSuite::MarkPluginArtDirty() while you're dragging. You pass it the handle of the art and supposedly this sends an update message.
    The second thing is: do you actually modify the edit group while they're dragging the anchor? If not, try doing that on the fly, since that should theoretically invoke update messages too.

  • Some libs can not found

    Hello, I'm new  to CQ5 and I'm following the "cq5_guide_developer" to practice my first project. It's very smooth until I want to download "cq5libs" from my local CQ5.5 server.
    Here are the content of the guide I'm following:
    Proceed as follows:
    In your file system, create a CQ5 libraries folder called cq5libs. This folder can be created anywhere.
    Under cq5libs, create the folders: cq, sling and wcm.
    From the system command line go to .../cq5libs/cq and execute vlt co http://localhost:4502/crx /libs/cq/install . to export the libraries stored under /libs/cq/install from the CQ5 server.
    From the system command line go to .../cq5libs/sling and execute vlt co http://localhost:4502/crx /libs/sling/install . to export the libraries stored under /libs/sling/install from the CQ5 server.
    From the system command line go to .../cq5libs/wcm and execute vlt co http://localhost:4502/crx /libs/wcm/install . to export the libraries stored under /libs/wcm/install from the CQ5 server.
    In Eclipse, right-click the ui project, select Build Path, then Configure Build Path. In the dialog select the Libraries tab.
    Click Add External JARS..., navigate to .../cq5libs/cq/jcr_root, select all the jar files and click Open.
    Click Add External JARS..., navigate to .../cq5libs/sling/jcr_root, select all the jar files and click Open.
    Click Add External JARS..., navigate to .../cq5libs/wcm/jcr_root, select all the jar files and click Open.
    Click Add External JARS..., navigate to <cq-installation-dir>/crx-quickstart/server/lib/container, select all the jar files and click Open.
    Click OK.
    I got a error message when I tried to execute "vlt co http://localhost:4502/crx /libs/cq/install " with username and password, but server reponsed like this:
    Connecting via JCR remoting to http://localhost:4502/crx/libs/cq
    [WARN ] Authentication required to access repository descriptors
    [ERROR] checkout: com.day.jcr.vault.vlt.VltException: Unable to mount filesystem
    caused by: javax.jcr.ItemNotFoundException: Not Found
      caused by: org.apache.jackrabbit.webdav.DavException: Not Found
    Dose anybody have any idea about it?

    settings.xml you need to place this in your .m2 folder which might be creaetd under your profile /name/.m2/
    <?xml version="1.0" encoding="UTF-8"?>
    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
        <pluginGroups>
        </pluginGroups>
        <proxies>
            <!--
                        If you are connected be hid the proxy
                        then do below configuration otherwise leave it.
                        proxy
             | Specification for one proxy, to be used in connecting to the network.
             |
             <proxy>
             <id>optional</id>
             <active>true</active>
             <protocol>http</protocol>
             <username>proxyuser</username>
             <password>proxypass</password>
             <host>proxy.host.net</host>
             <port>80</port>
             <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
             </proxy>
             -->
        </proxies>
        <servers>
        </servers>
        <mirrors>
        </mirrors>
        <profiles>
            <profile>
                <id>adobe-public</id>
                <activation>
                    <activeByDefault>true</activeByDefault>
                </activation>
                <properties>
                    <releaseRepository-Id>adobe-public-releases</releaseRepository-Id>
                    <releaseRepository-Name>Adobe Public
                        Releases</releaseRepository-Name>
                    <releaseRepository-URL>http://repo.adobe.com/nexus/content/groups/public</releaseRepository-URL>
                </properties>
                <repositories>
                    <repository>
                        <id>adobe-public-releases</id>
                        <name>Adobe Basel Public Repository</name>
                        <url>http://repo.adobe.com/nexus/content/groups/public</url>
                        <releases>
                            <enabled>true</enabled>
                            <updatePolicy>never</updatePolicy>
                        </releases>
                        <snapshots>
                            <enabled>false</enabled>
                        </snapshots>
                    </repository>
                </repositories>
                <pluginRepositories>
                    <pluginRepository>
                        <id>adobe-public-releases</id>
                        <name>Adobe Basel Public Repository</name>
                        <url>http://repo.adobe.com/nexus/content/groups/public</url>
                        <releases>
                            <enabled>true</enabled>
                            <updatePolicy>never</updatePolicy>
                        </releases>
                        <snapshots>
                            <enabled>false</enabled>
                        </snapshots>
                    </pluginRepository>
                </pluginRepositories>
            </profile>
        </profiles>
        <!-- activeProfiles
         | List of profiles that are active for all builds.
         |
         <activeProfiles>
         <activeProfile>alwaysActiveProfile</activeProfile>
         <activeProfile>anotherAlwaysActiveProfile</activeProfile>
         </activeProfiles>
         -->
    </settings>
    Regarding dependencies what is you are trying to build based on that you can add dependencies like
            <dependency>
                <groupId>com.day.cq.wcm</groupId>
                <artifactId>cq-wcm-api</artifactId>
                <version>5.5.0</version>
            </dependency>
    Thanks,
    Maruthi

  • Maven plugin for managing CQ5 packages

    Hi,
    Here's some new documentation that explains how to use the Content Package Maven plugin. You can package and install content from your maven build...for example, in your POM, add goals for package creation and installation to automatically deploy the OSGi bundle that was built. You can perform other package management tasks on remote servers, like rebuild packages,  and list, uninstall, and remove them.
    http://dev.day.com/docs/en/cq/current/core/how_to/how_to_use_the_vlttool/vlt-mavenplugin.h tml
    scott

    Thank you so much for prompt reply!!
    I am new to this so I am bit confused.
    Would it be possible for you to check my pom file? And let me know if the configuration looks Ok?
    Command used: mvn clean package content-package:install -P felix-deploy
    Setting.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
        <pluginGroups>
            <pluginGroup>content-package-maven-plugin</pluginGroup>
        </pluginGroups>
        <proxies />
        <servers>
            <server>
                <id>snapshots</id>
                <username>cqadmin</username>
                <password>internal1</password>
            </server>
            <server>
                <id>internal</id>
                <username>cqadmin</username>
                <password>internal1</password>
            </server>
        </servers>
        <mirrors>
            <mirror>
                <id>internal</id>
                <url>http://localhost:9090/archiva/repository/internal/</url>
                <mirrorOf>*</mirrorOf>
            </mirror>
        </mirrors>
        <profiles>
            <profile>
                <id>adobe-public</id>
                <activation>
                    <activeByDefault>false</activeByDefault>
                </activation>
                <properties>
                    <releaseRepository-Id>adobe-public-releases</releaseRepository-Id>
                    <releaseRepository-Name>Adobe Public Releases</releaseRepository-Name>
                    <releaseRepository-URL>
                        http://repo.adobe.com/nexus/content/groups/public/com/day/cq/wcm/cq-content/</releaseRepository-URL>
                </properties>
                <repositories>
                    <repository>
                        <id>adobe-public-releases</id>
                        <name>Adobe Public Repository</name>
                        <url>http://repo.adobe.com/nexus/content/groups/public</url>
                        <releases>
                            <enabled>true</enabled>
                            <updatePolicy>never</updatePolicy>
                        </releases>
                        <snapshots>
                            <enabled>false</enabled>
                        </snapshots>
                    </repository>
                </repositories>
                <pluginRepositories>
                    <pluginRepository>
                        <id>adobe-public-releases</id>
                        <name>Adobe Public Repository</name>
                        <url> http://repo.adobe.com/nexus/content/groups/public/com/day/cq/wcm/cq-content/</url>
                        <releases>
                            <enabled>true</enabled>
                            <updatePolicy>never</updatePolicy>
                        </releases>
                        <snapshots>
                            <enabled>false</enabled>
                        </snapshots>
                    </pluginRepository>
                </pluginRepositories>
            </profile>
        </profiles>
    </settings>
    POM.xml
    <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/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>common</groupId>
        <artifactId>common-ui</artifactId>
        <version>0.0.1</version>
        <name>common-ui</name>
        <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
            <!-- timestamp property used when filtering files from META-INF path -->
            <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss.SZ</maven.build.timestamp.format>
            <timestamp>${maven.build.timestamp}</timestamp>
            <cq5.package.group>Common UI</cq5.package.group>
            <cq5.app.name>common-ui</cq5.app.name>
        </properties>
        <profiles>
            <profile>
                <id>felix-deploy</id>
                <build>
                    <plugins>
                        <plugin>
                            <groupId>com.day.jcr.vault</groupId>
                            <artifactId>content-package-maven-plugin</artifactId>
                            <version>0.0.19</version>
                            <configuration>
                                <name>common-ui</name>
                                <failOnError>true</failOnError>
                                <packageFile>
                                    ${project.artifactId}-${project.version}-cq5-package.zip
                                </packageFile>
                                <targetURL>http://localhost:4502/crx/packmgr/service.jsp</targetURL>
                            </configuration>
                            <executions>
                                <execution>
                                    <goals>
                                        <goal>package</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </build>
            </profile>
        </profiles>
        <build>
            <plugins>
                <plugin>
                    <!-- Assembly plugin used to make cq5 package zip file -->
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>2.3</version>
                    <configuration>
                        <builtContentDirectory>jcr_root</builtContentDirectory>
                        <targetURL>http://localhost:4502/crx/packmgr/service.jsp</targetURL>
                    </configuration>
                    <executions>
                        <execution>
                            <id>make-assembly</id>
                            <phase>package</phase>
                            <goals>
                                <goal>single</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
            <resources>
                <resource>
                    <directory>src/main/content</directory>
                    <includes>
                        <include>**/*.*</include>
                    </includes>
                </resource>
            </resources>
        </build>
    </project>
    ERROR:
    C:\workspace-aaa-eris\wms-cms-common-ui>mvn clean package content-package:install -P felix-deploy
    [INFO] Scanning for projects...
    [WARNING] Failed to retrieve plugin descriptor for com.day.jcr.vault:content-package-maven-plugin:0.0.19: Invalid plugin descriptor for com.day.jcr.vault:content-package-maven-plug
    in:0.0.19  (C:\Users\gxoshre\.m2\repository\com\day\jcr\vault\content-package-maven-plugin\0.0.19\co ntent-package-maven-plugin-0.0.19.jar), Plugin's descriptor contains the wrong ve
    rsion: 0.0.16
    Downloading: http://localhost:9090/archiva/repository/internal/org/codehaus/mojo/maven-metadata.xml
    Downloading: http://localhost:9090/archiva/repository/internal/content-package-maven-plugin/maven-metad ata.xml
    Downloading: http://localhost:9090/archiva/repository/internal/org/apache/maven/plugins/maven-metadata. xml
    Downloaded: http://localhost:9090/archiva/repository/internal/org/apache/maven/plugins/maven-metadata. xml (11 KB at 0.7 KB/sec)
    Downloaded: http://localhost:9090/archiva/repository/internal/org/codehaus/mojo/maven-metadata.xml (21 KB at 1.4 KB/sec)
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 15.148s
    [INFO] Finished at: Wed Oct 03 12:34:25 MST 2012
    [INFO] Final Memory: 4M/15M
    [INFO] ------------------------------------------------------------------------
    [ERROR] No plugin found for prefix 'content-package' in the current project and in the plugin groups [content-package-maven-plugin, org.apache.maven.plugins, org.codehaus.mojo] ava
    ilable from the repositories [local (C:\Users\gxoshre\.m2\repository), internal (http://localhost:9090/archiva/repository/internal/)] -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
    C:\workspace-aaa-eris\wms-cms-common-ui

Maybe you are looking for

  • Report of radiobutton

    dear friends i have created two radio buttons 1- material 2- sales document and below that ther is a list box..when i click on radio buton one itshould show sattement regarding material and when i click on sales document  it should show statement reg

  • Can no longer send email from my pop accounts or my .mac from iPhone

    My phone won't send any email anymore. In fact, when I compose a message and hit send it just disappears. No record of it anywhere. All my mail accounts used to work perfectly! I've checked all my settings and have tried from both wifi and the ATT Ed

  • How can I add and remove items from the bookmarks toolbar?

    I want to remove items from the bookmarks toolbar and add ones that I use on a regular basis. How can I do this?

  • How to add new class in modified template...

    Finally I have encourage myself to scratch to (for me deepest darkwood) templates... I have modified original Theme 2 to My theme 2 and added in some tempaltes region my parts-looks promising. Now I want to create sidebar region that is 450 px wide.

  • Is it possible to Remote Enable Classes in ABAP

    Hi, I am exploring options on the possibility of remote calls for Classes, like we have RFC for FM's. I found a category value - 30 Proxy class for remote interface in the class properties in se24, however i was not able to select this option while c