mvn install

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.axis2.maven2:axis2-aar-maven-plugin' does
not exist or no valid version could be
found
[INFO]
------------------------------------------------------------------------

I'm wondering from where does "maven2" string came into the above
command? Is it because the above plugin is registered in m2 against the
aar packaging? If that is so, how can I make it point to
org.apache.axis2:axis2-aar-maven-plugin?

The plugin is working only when the mvn instruction is as follows

mvn org.apache.axis2:axis2-aar-maven-plugin:1.2:aar


The pom (it is a parent pom) entry is

        <plugins>
                <plugin>
                        <groupId>org.apache.axis2</groupId>
                        <artifactId>axis2-aar-maven-plugin</artifactId>
                        <version>1.2</version>
                        <extensions>true</extensions>

                        <configuration>
        
<servicesXmlFile>${axis2-wsdl2code-m2-serviceXml}</servicesXmlFile>
        
<includeDependencies>true</includeDependencies>
                                <fileSets>
                                    <fileSet>
        
<directory>${basedir}/src/main/resources/META-INF</directory>
        
<outputDirectory>META-INF</outputDirectory>
                                      <includes>
                                        <include>**/*.wsdl</include>
                                        <include>**/*.xsd</include>
                                      </includes>
                                    </fileSet>                      
                                </fileSets>
                        </configuration>                        
                </plugin>
        </plugins>


Even after using the execution entry for aar (shown below), the result
is same

                    <executions>
                            <execution>
                            <goals>
                                 <goal>aar</goal>
                            </goals>
                            </execution>  
                    </executions>
                    <configuration>
                        ......
                    <configuration>


It is not a burning issue....but would like to get it right.

Regards,
Vijesh











Reply via email to