ObjetTrouveService is refering to SapiensCommonsCore, SapiensCommonsCore 
artifact is in my local repo.

I had already executed "mvn install" command for SapiensCommonsCore project, is 
that what you meant by doing a "manual install" ? anyway executing "mvn 
install" on SapiensCommonsCore has not solved the warning.


In my local repository you can find this files : 

- sapiens/SapiensCommonsCore
  - 2.6.0
    - SapiensCommonsCore-2.6.0.jar
    - SapiensCommonsCore-2.6.0.pom
  - maven-metadata-local.xml

I have already put the content of SapiensCommonsCore-2.6.0.pom.

Here's the content of maven-metadata-local.xml

<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>sapiens</groupId>
  <artifactId>SapiensCommonsCore</artifactId>
  <version>2.6.0</version>
  <versioning>
    <versions>
      <version>2.6.0</version>
    </versions>
    <lastUpdated>20070712081818</lastUpdated>
  </versioning>
</metadata>



-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 12 juillet 2007 11:05
À : [email protected]; [email protected]
Objet : RE: Failed to validate POM warning



Hi,


There can be two reasons for the scenario:


1. If you are working with the global repo; then your specific 
(SapiensCommonsCore) dependencies which might not be found by the POM  
(ObjetTrouveService).
So you can provide a relative path for the same in your ObjetTrouveService POM 
file.


2. Otherwise, if you are referring to your local repo then do a manual install 
for your project dependency so that while executing the ObjetTrouveService POM 
the dependency and thence the POM will be validated.


Try this out if it works.





        

                thanks,
                vaishali pande
                Cognizant Technology Solutions Pvt Ltd.


________________________________

From: Joel COSTIGLIOLA (Services DPT SYSTEME D INFORMATION METIER) 
[mailto:[EMAIL PROTECTED]
Sent: Thu 7/12/2007 2:03 PM
To: [email protected]
Subject: Failed to validate POM warning




Hi,

One of my project (ObjetTrouveService) depends on another project of mine 
(SapiensCommonsCore).

When building ObjetTrouveService I have a warning telling me that 
SapiensCommonsCore pom is not valid.

Here's the trace :

[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building ObjetTrouveService
[INFO]    task-segment: [compile]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'sapiens:SapiensCommonsCore:pom:2.6.0:compile' is invalid. It 
will be ignored for artifact resolution. Reason: Failed to validate POM f
or project sapiens:SapiensCommonsCore at Artifact 
[sapiens:SapiensCommonsCore:pom:2.6.0:compile]
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Jul 12 10:28:49 CEST 2007
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------

Here's ObjetTrouveService 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/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
   <groupId>sapiens</groupId>
   <artifactId>ObjetTrouveService</artifactId>
   <packaging>jar</packaging>
   <version>2.6.0-SNAPSHOT</version>
   <name>ObjetTrouveService</name>
   <url>http://maven.apache.org <http://maven.apache.org/> </url>
   <dependencies>
      <dependency>
         <groupId>sapiens</groupId>
         <artifactId>SapiensCommonsCore</artifactId>
         <type>jar</type>
         <version>2.6.0</version>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring</artifactId>
         <version>2.0.6</version>
         <type>jar</type>
      </dependency>
      <dependency>
         <groupId>asm</groupId>
         <artifactId>asm-all</artifactId>
         <version>2.2.3</version>
         <type>jar</type>
      </dependency>
      <dependency>
         <groupId>aspectj</groupId>
         <artifactId>aspectjrt</artifactId>
         <version>1.5.3</version>
         <type>jar</type>
      </dependency>
      <dependency>
         <groupId>aspectj</groupId>
         <artifactId>aspectjweaver</artifactId>
         <version>1.5.3</version>
         <type>jar</type>
      </dependency>
      <dependency>
         <groupId>log4j</groupId>
         <artifactId>log4j</artifactId>
         <version>1.2.8</version>
         <type>jar</type>
      </dependency>
      <dependency>
         <groupId>commons-lang</groupId>
         <artifactId>commons-lang</artifactId>
         <version>2.1</version>
         <type>jar</type>
      </dependency>
      <dependency>
         <groupId>commons-dbcp</groupId>
         <artifactId>commons-dbcp</artifactId>
         <version>1.2.1</version>
         <type>jar</type>
         <scope>runtime</scope>
      </dependency>
      <!-- pour les transactions s'appuyant sur Weblogic -->
      <dependency>
         <groupId>weblogic</groupId>
         <artifactId>weblogic</artifactId>
         <type>jar</type>
         <version>8.1.5</version>
         <scope>system</scope>
         <systemPath>${bea.server.home}/lib/weblogic.jar</systemPath>
      </dependency>
      <dependency>
         <groupId>weblogic</groupId>
         <artifactId>oracle-jdbc-driver</artifactId>
         <version>8.1.5</version>
         <type>jar</type>
         <scope>system</scope>
         
<systemPath>${bea.server.home}/ext/jdbc/oracle/10g/ojdbc14_g.jar</systemPath>
      </dependency>
      <!-- test dependencies -->
      <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>3.8.1</version>
         <scope>test</scope>
      </dependency>
   </dependencies>
   <build>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
               <skip>true</skip>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
               <source>1.4</source>
               <target>1.4</target>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-eclipse-plugin</artifactId>
            <configuration>
               <additionalProjectnatures>
                  
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
               </additionalProjectnatures>
               <additionalBuildcommands>
                  
<buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
               </additionalBuildcommands>
            </configuration>
         </plugin>
         <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
               <execution>
                  <id>copy-project-artifact-to-bav-objtrouve</id>
                  <phase>package</phase>
                  <configuration>
                     <tasks>
                        <copy 
file="${project.build.directory}/${project.build.finalName}.jar" 
todir="../../../SAPIENS/APP-INF/lib/."
                           overwrite="true" />
                     </tasks>
                  </configuration>
                  <goals>
                     <goal>run</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
               <!--
                  Seulement utile pour copier dans le projet workshop les 
dépendances du BAS ObjetTrouveService.
                  Lorsque la rupture de protocole sera faite, cette copie sera 
inutile.
                -->
               <execution>
                  <id>copy-dependencies-to-bav-objtrouve</id>
                  <phase>package</phase>
                  <goals>
                     <goal>copy-dependencies</goal>
                  </goals>
                  <configuration>
                     
<outputDirectory>../../../SAPIENS/APP-INF/lib/.</outputDirectory>
                     <overWriteReleases>false</overWriteReleases>
                     <overWriteSnapshots>true</overWriteSnapshots>
                     
<excludeGroupIds>weblogic,junit,commons-dbcp</excludeGroupIds>
                  </configuration>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
</project>


And here's SapiensCommonsCore-2.6.0.pom as found in local repository :

<project>
   <parent>
      <groupId>sapiens</groupId>
      <artifactId>SocleSapiens</artifactId>
      <version>2.6.0</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>SapiensCommonsCore</artifactId>
   <packaging>jar</packaging>
   <name>Sapiens Core</name>
   <dependencies>
      <dependency>
         <groupId>commons-net</groupId>
         <artifactId>commons-net</artifactId>
      </dependency>
   </dependencies>

   <build>
      <sourceDirectory>src/java</sourceDirectory>
      <testSourceDirectory>src/test</testSourceDirectory>
   </build>

</project>

I have searched on the web and haven't found a reason for such a warning.
Can somebody explain me the reason of warning ?

Thanks in advance,
Regards,

Joël Costigliola

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.

Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly

prohibited and may be unlawful.

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message. 
Any unauthorized review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly 
prohibited and may be unlawful.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • RE: Failed ... Joel COSTIGLIOLA \(Services DPT SYSTEME D INFORMATION METIER\)
    • Re: Fa... Steven Rowe
      • RE... Joel COSTIGLIOLA \(Services DPT SYSTEME D INFORMATION METIER\)
        • ... Joel COSTIGLIOLA \(Services DPT SYSTEME D INFORMATION METIER\)
          • ... Rémy Sanlaville
            • ... Joel COSTIGLIOLA \(Services DPT SYSTEME D INFORMATION METIER\)
              • ... Rémy Sanlaville
                • ... Joel COSTIGLIOLA \(Services DPT SYSTEME D INFORMATION METIER\)
                • ... Rémy Sanlaville

Reply via email to