Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] How to build the latest release ?

Hi

Default the jars will have SNAPHOST in the name but in the manifest the version is the date of today (the build date)

So I thought that missmatch will prevent Eclipse from loading the plugin.

Anyway issue I am trying to investigate is why my EJB and RAR projects gets this kind of error marker in the pom.xml

Description Resource Path Location Type
Path must include project and resource name: / (org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb:default-ejb:package) pom.xml /engine-ejb line 149 Maven Build Problem

The line looks like this:

  <build>
    <plugins>  
      <plugin> <!— line 149 —>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ejb-plugin</artifactId>
        <configuration>
          <generateClient>true</generateClient>
          <archive>
            <manifestEntries>
              <Class-Path>. engine-api.jar</Class-Path>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>    



The maven-ejb-plugin is otherwise configured in the root/super pom.xml


Thanks
Lucas




22 okt 2014 kl. 15:26 skrev Matthew Piggott <mpiggott@xxxxxxxxxxxx>:

Its been a while but p2 likely won't care about the qualifier during install, but you will need to update the repository to add the new jar - is there a reason you aren't simply using the whole build output?

Updating the jar is not as simple as it might appear - you will need to update the p2 repository to ensure the hashes match and remove the signature from the jar.

On 22 October 2014 09:08, Lucas Persson <lucas.persson@xxxxxxxxxx> wrote:
Hi Igor

yeah, I am trying to patch one of the plugins and I think I need to use the exact same version and version qualifier as the original plugin.

Since there is a lot of cross referencing between plugins using version I though it was best to sue the exact same version.

But I suppose I can just patch the original jar too with the new class.

/Lucas

22 okt 2014 kl. 15:05 skrev Igor Fedorenko <igor@xxxxxxxxxxxxxx>:

If you build from the tag, the contents of the build should be identical
to the release, minus version qualifier.

Do you mind explaining what you are trying to achieve?

From my experience, I never needed to recreate a release, I always
needed to produce a patched version of a release. This is why
I never setup "perfect" reproducible build for m2e (or any other project
for that matter).

--
Regards,
Igor

On 2014-10-22, 9:00, Lucas Persson wrote:
Hi

I am trying to build the m2e plugins.
I just cloned the repo and checked out the 1.5.0 release tag.

But when I build the version seems to still be 1.5.0-SNAPSHOT instead of
1.5.0.20140606-0033

How shall I do to re-crate the release build?

Thanks
Lucas

--
Oracle <http://www.oracle.com>
Lucas Persson | Principal Member of Technical Staff

Phone: +4684773644 <tel:+4684773644> | Mobile: +46730946656
<tel:+46730946656>
Oracle Communications Platform
ORACLE Sweden | Söder Mälarstrand 29, 6 tr | 118 25 Stockholm
Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, reg.no
<http://reg.no>. 556254-6746

Green Oracle <http://www.oracle.com/commitment>  Oracle is committed to
developing practices and products that help protect the environment





_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev

_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev

--
Oracle
Lucas Persson | Principal Member of Technical Staff

Phone: +4684773644 | Mobile: +46730946656
Oracle Communications Platform
ORACLE Sweden | Söder Mälarstrand 29, 6 tr | 118 25 Stockholm

Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, reg.no. 556254-6746

Green Oracle Oracle is committed to developing practices and products that help protect the environment




_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev

_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev

--
Oracle
Lucas Persson | Principal Member of Technical Staff

Phone: +4684773644 | Mobile: +46730946656
Oracle Communications Platform
ORACLE Sweden | Söder Mälarstrand 29, 6 tr | 118 25 Stockholm

Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, reg.no. 556254-6746

Green Oracle Oracle is committed to developing practices and products that help protect the environment




Back to the top